Commit daace983 authored by Chris O'Haver's avatar Chris O'Haver Committed by GitHub

plugin/metrics: Acknowledge other stats exported in README (#5172)

* mention default go stats and other plugin stats in README
Signed-off-by: default avatarChris O'Haver <cohaver@infoblox.com>
parent b0edae07
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
With *prometheus* you export metrics from CoreDNS and any plugin that has them. 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 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_build_info{version, revision, goversion}` - info about CoreDNS itself.
* `coredns_panics_total{}` - total number of panics. * `coredns_panics_total{}` - total number of panics.
...@@ -38,6 +40,9 @@ Extra labels used are: ...@@ -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 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). 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. This plugin can only be used once per Server Block.
## Syntax ## Syntax
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment