package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 31, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package metrics initializes the OpenTelemetry MeterProvider.
Init initializes the OTel MeterProvider based on OTEL_METRICS_EXPORTER.
- "otlp": OTLP gRPC exporter to the provided endpoint
- "" or "none": no metrics (returns noop shutdown)
Returns a ShutdownFunc to flush and close the provider.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.