mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-12 19:56:48 +00:00
fix(metrics): Start latency histogram buckets at 1ms
This commit is contained in:
1 parent
f14c401f39
commit
31bce80524
1 file changed
+1
-1
@@ -170,7 +170,7 @@ pub fn method_label(method: &http::Method) -> &'static str {
|
||||
}
|
||||
}
|
||||
|
||||
fn duration_histogram() -> Histogram { Histogram::new(exponential_buckets(0.005, 2.0, 14)) }
|
||||
fn duration_histogram() -> Histogram { Histogram::new(exponential_buckets(0.001, 2.0, 16)) }
|
||||
|
||||
#[derive(Debug)]
|
||||
struct RuntimeCollector(runtime::RuntimeMetrics);
|
||||
|
||||
Reference in new issue
Block a user