prometheus: disable counter suffixes

This commit is contained in:
Alex 2023-10-02 16:23:31 +02:00
parent ec247ec4c6
commit e943fd3772

View file

@ -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()