mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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>
This commit is contained in:
@@ -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:
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user