mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
metrics.go: hemp message correction (#3100)
Signed-off-by: ethan <guangming.wang@daocloud.io>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user