diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-07-19 16:07:06 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-07-19 16:07:06 +0100 |
commit | eb2a8e4c0b581bf7381e368e34191255c6e9d641 (patch) | |
tree | ee314a7b9a86a56aefce58115fcce8093375cb76 /roomserver | |
parent | b20d402f392ff86dc3f5b0696740da333678a178 (diff) |
Set buckets for dendrite_roomserver_calculate_state_duration_microseconds
Diffstat (limited to 'roomserver')
-rw-r--r-- | roomserver/state/state.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roomserver/state/state.go b/roomserver/state/state.go index 8965181b..b28bda7f 100644 --- a/roomserver/state/state.go +++ b/roomserver/state/state.go @@ -430,6 +430,11 @@ var calculateStateDurations = prometheus.NewHistogramVec( Subsystem: "roomserver", Name: "calculate_state_duration_microseconds", Help: "How long it takes to calculate the state after a list of events", + Buckets: []float64{ // milliseconds + 5, 10, 25, 50, 75, 100, 250, 500, + 1000, 2000, 3000, 4000, 5000, 6000, + 7000, 8000, 9000, 10000, 15000, 20000, + }, }, // Takes two labels: // algorithm: |