Expand description
OTLP metrics export for OpenTelemetry.
This module provides metrics export to OTLP collectors with support for different temporality modes and aggregation strategies.
Modules§
- metric_
attributes - Common metric attribute keys.
- metric_
names - Processor-specific metric names.
Structs§
- Export
Config - Metric export interval configuration.
- Metrics
Config - Metrics configuration.
- Metrics
Recorder - Helper struct for recording metrics with common attributes.
Enums§
- Temporality
- Aggregation temporality for metrics.
Functions§
- init_
meter_ provider - Initializes the global meter provider with OTLP exporter.
- shutdown_
meter_ provider - Shuts down the global meter provider and flushes all pending metrics.