aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2021-07-19 15:24:10 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2021-07-19 15:34:12 +0100
commitb20d402f392ff86dc3f5b0696740da333678a178 (patch)
treeee6aa80158766431a056412bb0a86aab7af7d660
parent628e4cc709322e8eea790d3bb9a3cfb5c3280ae8 (diff)
dendrite_roomserver_calculate_state_duration_microseconds as histogram rather than summary
-rw-r--r--roomserver/state/state.go4
1 files 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",