diff --git a/roomserver/state/state.go b/roomserver/state/state.go index 0d9511acf..8965181b4 100644 --- a/roomserver/state/state.go +++ b/roomserver/state/state.go @@ -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",