aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2022-02-09 13:52:18 -0500
committerGravatar GitHub <noreply@github.com> 2022-02-09 13:52:18 -0500
commitdaace983522d1bb8b1a4ff99cd545e6b5599fbf3 (patch)
tree144f9157260e0ab4f4fb1cf35f6ee5e5cee22e11
parentb0edae07f1b1b3a0e785c3731cc24c43c2a35210 (diff)
downloadcoredns-daace983522d1bb8b1a4ff99cd545e6b5599fbf3.tar.gz
coredns-daace983522d1bb8b1a4ff99cd545e6b5599fbf3.tar.zst
coredns-daace983522d1bb8b1a4ff99cd545e6b5599fbf3.zip
plugin/metrics: Acknowledge other stats exported in README (#5172)
* mention default go stats and other plugin stats in README Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
-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