diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-07 11:13:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-07 11:13:43 +0100 |
commit | 752593e2747f64a8f14de3484ab085ed5f65cd40 (patch) | |
tree | bae3be64a2eb94b6ced168b960ee1437f2047224 /src/metrics.rs | |
parent | 731b59a41f24ae014f86d01dd23957ad5a35b355 (diff) | |
download | tricot-752593e2747f64a8f14de3484ab085ed5f65cd40.tar.gz tricot-752593e2747f64a8f14de3484ab085ed5f65cd40.zip |
Remove host="" metric parameter for most things
Diffstat (limited to 'src/metrics.rs')
-rw-r--r-- | src/metrics.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/metrics.rs b/src/metrics.rs index 46b69af..fa2657c 100644 --- a/src/metrics.rs +++ b/src/metrics.rs @@ -24,11 +24,9 @@ impl MetricsServer { let exporter = opentelemetry_prometheus::exporter() .with_default_summary_quantiles(vec![0.25, 0.5, 0.75, 0.9, 0.95, 0.99]) .with_default_histogram_boundaries(vec![ - 0.001, 0.0015, 0.002, 0.003, 0.005, 0.007, - 0.01, 0.015, 0.02, 0.03, 0.05, 0.07, - 0.1, 0.15, 0.2, 0.3, 0.5, 0.7, - 1., 1.5, 2., 3., 5., 7., - 10., 15., 20., 30., 40., 50., 60., 70., 100. + 0.001, 0.0015, 0.002, 0.003, 0.005, 0.007, 0.01, 0.015, 0.02, 0.03, 0.05, 0.07, + 0.1, 0.15, 0.2, 0.3, 0.5, 0.7, 1., 1.5, 2., 3., 5., 7., 10., 15., 20., 30., 40., + 50., 60., 70., 100., ]) .init(); Self { |