aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/metrics/README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin/metrics/README.md b/plugin/metrics/README.md
index 75c20bde9..dade9d752 100644
--- a/plugin/metrics/README.md
+++ b/plugin/metrics/README.md
@@ -8,7 +8,9 @@
With *prometheus* you export metrics from CoreDNS and any plugin that has them.
The default location for the metrics is `localhost:9153`. The metrics path is fixed to `/metrics`.
-The following metrics are exported:
+
+In addition to the default Go metrics exported by the [Prometheus Go client](https://prometheus.io/docs/guides/go-application/),
+the following metrics are exported:
* `coredns_build_info{version, revision, goversion}` - info about CoreDNS itself.
* `coredns_panics_total{}` - total number of panics.
@@ -38,6 +40,9 @@ Extra labels used are:
If monitoring is enabled, queries that do not enter the plugin chain are exported under the fake
name "dropped" (without a closing dot - this is never a valid domain name).
+Other plugins may export additional stats when the _prometheus_ plugin is enabled. Those stats are documented in each
+plugin's README.
+
This plugin can only be used once per Server Block.
## Syntax