forked from Deuxfleurs/tricot
prometheus: disable counter suffixes
This commit is contained in:
parent
ec247ec4c6
commit
e943fd3772
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue