From e7affae448e65e40d883dfb1a607439618b73b16 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 19 Jul 2021 15:24:10 +0100 Subject: [PATCH] dendrite_roomserver_calculate_state_duration_microseconds as histogram rather than summary --- roomserver/state/state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roomserver/state/state.go b/roomserver/state/state.go index 0d9511ac..8965181b 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",