diff --git a/lib/prometheus/metrics.go b/lib/prometheus/metrics.go index 491ce23..5adcb25 100644 --- a/lib/prometheus/metrics.go +++ b/lib/prometheus/metrics.go @@ -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 }