From e943fd37720f9cd0f5f2eb2e64fcdcd27d5c6a22 Mon Sep 17 00:00:00 2001
From: Alex Auvolat <alex@adnab.me>
Date: Mon, 2 Oct 2023 16:23:31 +0200
Subject: prometheus: disable counter suffixes

---
 src/metrics.rs | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/metrics.rs b/src/metrics.rs
index d2e29c7..d9ad372 100644
--- a/src/metrics.rs
+++ b/src/metrics.rs
@@ -25,6 +25,7 @@ impl MetricsServer {
 		let exporter = opentelemetry_prometheus::exporter()
 			.with_registry(registry.clone())
 			.with_aggregation_selector(AggregationSelector)
+			.without_counter_suffixes()
 			.build()
 			.expect("build prometheus registry");
 		let mp = metrics::MeterProvider::builder()
-- 
cgit v1.2.3