opentelemetry_otlp

Constant OTEL_EXPORTER_OTLP_METRICS_ENDPOINT

Source
pub const OTEL_EXPORTER_OTLP_METRICS_ENDPOINT: &str = "OTEL_EXPORTER_OTLP_METRICS_ENDPOINT";
Available on crate feature metrics and (crate features http-proto or http-json or grpc-tonic) only.
Expand description

Target to which the exporter is going to send metrics, defaults to https://localhost:4317/v1/metrics. Learn about the relationship between this constant and default/spans/logs at https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#endpoint-urls-for-otlphttp