mirror of
https://github.com/coredns/coredns.git
synced 2026-01-21 08:01:19 -05:00
introduce metric naming test (#3789)
* introduce metric naming test Signed-off-by: zounengren <zounengren@cmss.chinamobile.com> * Update metrics.go Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
@@ -76,7 +76,7 @@ hosts [FILE [ZONES...]] {
|
||||
|
||||
If monitoring is enabled (via the *prometheus* plugin) then the following metrics are exported:
|
||||
|
||||
- `coredns_hosts_entries_count{}` - The combined number of entries in hosts and Corefile.
|
||||
- `coredns_hosts_entries{}` - The combined number of entries in hosts and Corefile.
|
||||
- `coredns_hosts_reload_timestamp_seconds{}` - The timestamp of the last reload of hosts file.
|
||||
|
||||
## Examples
|
||||
|
||||
Reference in New Issue
Block a user