Fix a typo in plugin/health (#4982)

Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
This commit is contained in:
xuweiwei
2021-11-15 20:29:52 +08:00
committed by GitHub
parent 92b0227592
commit 1029fea906

View File

@@ -53,7 +53,7 @@ var (
Buckets: plugin.SlimTimeBuckets, Buckets: plugin.SlimTimeBuckets,
Help: "Histogram of the time (in seconds) each request took.", Help: "Histogram of the time (in seconds) each request took.",
}) })
// HealthFailures is the metric used to count how many times the thealth request failed // HealthFailures is the metric used to count how many times the health request failed
HealthFailures = promauto.NewCounter(prometheus.CounterOpts{ HealthFailures = promauto.NewCounter(prometheus.CounterOpts{
Namespace: plugin.Namespace, Namespace: plugin.Namespace,
Subsystem: "health", Subsystem: "health",