opentelemetry

package
v0.0.0-...-0588a43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Cluster to be used in a multicluster environment
	Cluster cluster.Cluster

	// HTTP Address of ingress gateway of the cluster to be used to install open telemetry collector in.
	IngressAddr string
}

Config represents the configuration for setting up an opentelemetry collector.

type Instance

type Instance interface {
	resource.Resource
}

Instance represents a opencensus collector deployment on kubernetes.

func New

func New(ctx resource.Context, c Config) (Instance, error)

New creates and returns a new instance of otel.

func NewOrFail

func NewOrFail(t *testing.T, ctx resource.Context, c Config) Instance

NewOrFail returns a new otel instance or fails the test.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL