prometheus: disable counter suffixes
All checks were successful
continuous-integration/drone/push Build is passing

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() let exporter = opentelemetry_prometheus::exporter()
.with_registry(registry.clone()) .with_registry(registry.clone())
.with_aggregation_selector(AggregationSelector) .with_aggregation_selector(AggregationSelector)
.without_counter_suffixes()
.build() .build()
.expect("build prometheus registry"); .expect("build prometheus registry");
let mp = metrics::MeterProvider::builder() let mp = metrics::MeterProvider::builder()