metrics.go: hemp message correction (#3100)

Signed-off-by: ethan <guangming.wang@daocloud.io>
This commit is contained in:
ethan 2019-08-09 00:27:53 +08:00 committed by Tobias Schmidt
parent 935354deb3
commit 5b74d0f957

View file

@ -31,13 +31,13 @@ var (
Namespace: plugin.Namespace, Namespace: plugin.Namespace,
Subsystem: "forward", Subsystem: "forward",
Name: "healthcheck_failure_count_total", Name: "healthcheck_failure_count_total",
Help: "Counter of the number of failed healtchecks.", Help: "Counter of the number of failed healthchecks.",
}, []string{"to"}) }, []string{"to"})
HealthcheckBrokenCount = prometheus.NewCounter(prometheus.CounterOpts{ HealthcheckBrokenCount = prometheus.NewCounter(prometheus.CounterOpts{
Namespace: plugin.Namespace, Namespace: plugin.Namespace,
Subsystem: "forward", Subsystem: "forward",
Name: "healthcheck_broken_count_total", Name: "healthcheck_broken_count_total",
Help: "Counter of the number of complete failures of the healtchecks.", Help: "Counter of the number of complete failures of the healthchecks.",
}) })
SocketGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{ SocketGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: plugin.Namespace, Namespace: plugin.Namespace,