From 47d69f9f2943e004c810aa259e693a8249febdbc Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Mon, 17 Nov 2025 20:45:19 +0100 Subject: [PATCH] set opentelemetry temporality according to datadog docs --- src/metrics/otel.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/metrics/otel.rs b/src/metrics/otel.rs index 595f15f79..9fd794c52 100644 --- a/src/metrics/otel.rs +++ b/src/metrics/otel.rs @@ -36,6 +36,7 @@ pub(crate) fn get_meter_provider(config: &Config) -> Result { .with_endpoint(endpoint.to_string()) .with_protocol(Protocol::Grpc) .with_timeout(Duration::from_secs(3)) + .with_temporality(opentelemetry_sdk::metrics::Temporality::Delta) .build()?; let provider = opentelemetry_sdk::metrics::SdkMeterProvider::builder()