aboutsummaryrefslogtreecommitdiff
path: root/plugin/autopath
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/autopath')
-rw-r--r--plugin/autopath/README.md2
-rw-r--r--plugin/autopath/metrics.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/autopath/README.md b/plugin/autopath/README.md
index 52156ba5c..b1b4b165c 100644
--- a/plugin/autopath/README.md
+++ b/plugin/autopath/README.md
@@ -31,7 +31,7 @@ If a plugin implements the `AutoPather` interface then it can be used.
If monitoring is enabled (via the *prometheus* plugin) then the following metric is exported:
-* `coredns_autopath_success_count_total{server}` - counter of successfully autopath-ed queries.
+* `coredns_autopath_success_total{server}` - counter of successfully autopath-ed queries.
The `server` label is explained in the *metrics* plugin documentation.
diff --git a/plugin/autopath/metrics.go b/plugin/autopath/metrics.go
index ae25ab79e..cfb276274 100644
--- a/plugin/autopath/metrics.go
+++ b/plugin/autopath/metrics.go
@@ -10,7 +10,7 @@ var (
autoPathCount = prometheus.NewCounterVec(prometheus.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "autopath",
- Name: "success_count_total",
+ Name: "success_total",
Help: "Counter of requests that did autopath.",
}, []string{"server"})
)