feat: extend duration histograms down to 1ms (#4854)
5ms are quite long considering that many requests take way below 100ms in total. Let's add two more levels on the lower end of the spectrum. Since we only do not use data-dependent histograms (i.e. do not include table or namespace names), the overhead should be acceptable. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
34e8659876
commit
f7fbc67b00
|
@ -147,6 +147,8 @@ impl Default for DurationHistogramOptions {
|
|||
fn default() -> Self {
|
||||
Self {
|
||||
buckets: vec![
|
||||
Duration::from_millis(1),
|
||||
Duration::from_micros(2_500),
|
||||
Duration::from_millis(5),
|
||||
Duration::from_millis(10),
|
||||
Duration::from_millis(25),
|
||||
|
|
Loading…
Reference in New Issue