dendrite_roomserver_calculate_state_duration_microseconds as histogram rather than summary

This commit is contained in:
Neil Alexander 2021-07-19 15:24:10 +01:00
parent 628e4cc709
commit b20d402f39
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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",