Documentation ¶
Overview ¶
Package meters contains the OpenTelemetry meter factories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportingMeterFactory ¶
type ExportingMeterFactory struct{}
ExportingMeterFactory uses the "real" OpenTelemetry metric meter
type MeterFactory ¶
type MeterFactory interface { // Build creates a meter with the specified name. Build(name string) metric.Meter }
MeterFactory is an interface which hides the details of creating an OpenTelemetry metrics meter. This is used to select between a real exporter or noop for testing.
type NoopMeterFactory ¶
type NoopMeterFactory struct{}
NoopMeterFactory returns a noop metrics meter
Click to show internal directories.
Click to hide internal directories.