mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Register correct metric
This commit is contained in:
parent
a9ddbfaed4
commit
3911f3a0c1
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ type inputWorker struct {
|
|||
r *Inputer
|
||||
running atomic.Bool
|
||||
input *fifoQueue
|
||||
roomID string
|
||||
}
|
||||
|
||||
// Guarded by a CAS on w.running
|
||||
|
@ -126,7 +125,7 @@ func (r *Inputer) WriteOutputEvents(roomID string, updates []api.OutputEvent) er
|
|||
}
|
||||
|
||||
func init() {
|
||||
prometheus.MustRegister(processRoomEventDuration)
|
||||
prometheus.MustRegister(roomserverInputBackpressure)
|
||||
}
|
||||
|
||||
var roomserverInputBackpressure = prometheus.NewSummaryVec(
|
||||
|
|
Loading…
Reference in a new issue