mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Set buckets for dendrite_roomserver_calculate_state_duration_microseconds
This commit is contained in:
parent
b20d402f39
commit
eb2a8e4c0b
1 changed files with 5 additions and 0 deletions
|
@ -430,6 +430,11 @@ var calculateStateDurations = prometheus.NewHistogramVec(
|
||||||
Subsystem: "roomserver",
|
Subsystem: "roomserver",
|
||||||
Name: "calculate_state_duration_microseconds",
|
Name: "calculate_state_duration_microseconds",
|
||||||
Help: "How long it takes to calculate the state after a list of events",
|
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:
|
// Takes two labels:
|
||||||
// algorithm:
|
// algorithm:
|
||||||
|
|
Loading…
Reference in a new issue