otel

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() collectorConfig

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func StartCollector

func StartCollector(t *testing.T, cfg collectorConfig) *Collector

func (*Collector) Endpoint

func (c *Collector) Endpoint() string

func (*Collector) ReadTelemetry

func (c *Collector) ReadTelemetry(t *testing.T) (pmetric.Metrics, error)

func (*Collector) Stop

func (c *Collector) Stop(t *testing.T)

func (*Collector) WaitForTelemetry

func (c *Collector) WaitForTelemetry(t *testing.T, timeout time.Duration)

Jump to

Keyboard shortcuts

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