aboutsummaryrefslogtreecommitdiff
path: root/plugin/reload
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/reload')
-rw-r--r--plugin/reload/README.md2
-rw-r--r--plugin/reload/metrics.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/reload/README.md b/plugin/reload/README.md
index 9809cdbaa..2417357b4 100644
--- a/plugin/reload/README.md
+++ b/plugin/reload/README.md
@@ -98,7 +98,7 @@ CoreDNS v1.7.0 and later does parse the Corefile and supports detecting changes
If monitoring is enabled (via the *prometheus* plugin) then the following metric is exported:
-* `coredns_reload_failed_count_total{}` - counts the number of failed reload attempts.
+* `coredns_reload_failed_total{}` - counts the number of failed reload attempts.
* `coredns_reload_version_info{hash, value}` - record the hash value during reload.
Currently the type of `hash` is "md5", the `value` is the returned hash value.
diff --git a/plugin/reload/metrics.go b/plugin/reload/metrics.go
index de46862a4..fbe9f5e7a 100644
--- a/plugin/reload/metrics.go
+++ b/plugin/reload/metrics.go
@@ -11,7 +11,7 @@ var (
FailedCount = prometheus.NewCounter(prometheus.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "reload",
- Name: "failed_count_total",
+ Name: "failed_total",
Help: "Counter of the number of failed reload attempts.",
})