Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tester ¶
Tester provides testing utilities for OpenTelemetry metrics
func New ¶
New creates a new test helper and returns both the helper and a MeterProvider that can be used to initialize the system under test
func (*Tester) CollectAndCount ¶
CollectAndCount returns the number of metrics with the given name and attributes
func (*Tester) CollectAndDump ¶
CollectAndDump returns the metrics with the given name and attributes as a string.
Click to show internal directories.
Click to hide internal directories.