Commit 4635724d authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

fix metrics names in logging and pingpong (#80)

parent fd98f165
...@@ -52,7 +52,7 @@ func newMetrics() metrics { ...@@ -52,7 +52,7 @@ func newMetrics() metrics {
TraceCount: prometheus.NewCounter(prometheus.CounterOpts{ TraceCount: prometheus.NewCounter(prometheus.CounterOpts{
Namespace: m.Namespace, Namespace: m.Namespace,
Subsystem: subsystem, Subsystem: subsystem,
Name: "log_trace_count", Name: "trace_count",
Help: "Number TRACE log messages.", Help: "Number TRACE log messages.",
}), }),
} }
......
...@@ -31,6 +31,7 @@ func newMetrics() metrics { ...@@ -31,6 +31,7 @@ func newMetrics() metrics {
}), }),
PongSentCount: prometheus.NewCounter(prometheus.CounterOpts{ PongSentCount: prometheus.NewCounter(prometheus.CounterOpts{
Namespace: m.Namespace, Namespace: m.Namespace,
Subsystem: subsystem,
Name: "pong_sent_count", Name: "pong_sent_count",
Help: "Number of pong responses sent.", Help: "Number of pong responses sent.",
}), }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment