mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06:00
dendrite_roomserver_calculate_state_duration_microseconds as histogram rather than summary
This commit is contained in:
parent
628e4cc709
commit
b20d402f39
|
@ -424,8 +424,8 @@ func (v *StateResolution) loadStateAfterEventsForNumericTuples(
|
|||
return result, nil
|
||||
}
|
||||
|
||||
var calculateStateDurations = prometheus.NewSummaryVec(
|
||||
prometheus.SummaryOpts{
|
||||
var calculateStateDurations = prometheus.NewHistogramVec(
|
||||
prometheus.HistogramOpts{
|
||||
Namespace: "dendrite",
|
||||
Subsystem: "roomserver",
|
||||
Name: "calculate_state_duration_microseconds",
|
||||
|
|
Loading…
Reference in a new issue