mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +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
|
r *Inputer
|
||||||
running atomic.Bool
|
running atomic.Bool
|
||||||
input *fifoQueue
|
input *fifoQueue
|
||||||
roomID string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Guarded by a CAS on w.running
|
// Guarded by a CAS on w.running
|
||||||
|
@ -126,7 +125,7 @@ func (r *Inputer) WriteOutputEvents(roomID string, updates []api.OutputEvent) er
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
prometheus.MustRegister(processRoomEventDuration)
|
prometheus.MustRegister(roomserverInputBackpressure)
|
||||||
}
|
}
|
||||||
|
|
||||||
var roomserverInputBackpressure = prometheus.NewSummaryVec(
|
var roomserverInputBackpressure = prometheus.NewSummaryVec(
|
||||||
|
|
Loading…
Reference in a new issue