Skip to content

Commit

Permalink
fix prometheus reg of new metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoRoessner committed Jan 16, 2024
1 parent 98bfc70 commit aaa6f0f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/prometheus/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ func NewMetrics(prefix string) *Metrics {
reg.MustRegister(m.CommandRoundtripMsHistogram)
reg.MustRegister(m.CommandResponsesReceived)

reg.MustRegister(
m.TaskMarshallingLatency,
m.TaskLastEventValueRequestCountVec,
m.TaskCommandSendCountVec,
m.TaskReceivedCountVec,
m.TaskCommandResponseReceivedCountVec,
m.TaskCompletedCountVec,
)

return m
}

Expand Down

0 comments on commit aaa6f0f

Please sign in to comment.