metadatatest

package
v0.118.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	Reader       *sdkmetric.ManualReader
	SpanRecorder *tracetest.SpanRecorder
	// contains filtered or unexported fields
}

func SetupTelemetry

func SetupTelemetry() Telemetry

func (*Telemetry) AssertMetrics

func (tt *Telemetry) AssertMetrics(t *testing.T, expected []metricdata.Metrics, opts ...metricdatatest.Option)

func (*Telemetry) NewTelemetrySettings

func (tt *Telemetry) NewTelemetrySettings() component.TelemetrySettings

func (*Telemetry) Shutdown

func (tt *Telemetry) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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