From b20d402f392ff86dc3f5b0696740da333678a178 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 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",