istio: istio.io/istio/pkg/test/framework/components/opentelemetry Index | Files

package opentelemetry

import "istio.io/istio/pkg/test/framework/components/opentelemetry"

Index

Package Files

kube.go opentelemetry-collector.go

type Config Uses

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

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

Config represents the configuration for setting up an opentelemetry collector.

type Instance Uses

type Instance interface {
    resource.Resource
}

Instance represents a opencensus collector deployment on kubernetes.

func New Uses

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

New creates and returns a new instance of otel.

func NewOrFail Uses

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

NewOrFail returns a new otel instance or fails the test.

Package opentelemetry imports 9 packages (graph). Updated 2021-01-27. Refresh now. Tools for package owners.