diff options
author | 2020-03-31 14:07:36 +0800 | |
---|---|---|
committer | 2020-03-31 08:07:36 +0200 | |
commit | 87214a4c5c05c8918bfe73f734ff4dbd390319dd (patch) | |
tree | 9ca83d03ccdb80572f0166e84add67bb23a1184f /man | |
parent | 10d176b811e229f2b7bc72c342f54f6acfa69fbd (diff) | |
download | coredns-87214a4c5c05c8918bfe73f734ff4dbd390319dd.tar.gz coredns-87214a4c5c05c8918bfe73f734ff4dbd390319dd.tar.zst coredns-87214a4c5c05c8918bfe73f734ff4dbd390319dd.zip |
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>
Diffstat (limited to 'man')
-rw-r--r-- | man/coredns-dnssec.7 | 4 | ||||
-rw-r--r-- | man/coredns-hosts.7 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/man/coredns-dnssec.7 b/man/coredns-dnssec.7 index bb06c829d..66a50b67a 100644 --- a/man/coredns-dnssec.7 +++ b/man/coredns-dnssec.7 @@ -1,5 +1,5 @@ .\" Generated by Mmark Markdown Processer - mmark.miek.nl -.TH "COREDNS-DNSSEC" 7 "January 2020" "CoreDNS" "CoreDNS Plugins" +.TH "COREDNS-DNSSEC" 7 "March 2020" "CoreDNS" "CoreDNS Plugins" .SH "NAME" .PP @@ -72,7 +72,7 @@ RRSIGs. The default for \fBCAPACITY\fP is 10000. If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metrics are exported: .IP \(bu 4 -\fB\fCcoredns_dnssec_cache_size{server, type}\fR - total elements in the cache, type is "signature". +\fB\fCcoredns_dnssec_cache_entries{server, type}\fR - total elements in the cache, type is "signature". .IP \(bu 4 \fB\fCcoredns_dnssec_cache_hits_total{server}\fR - Counter of cache hits. .IP \(bu 4 diff --git a/man/coredns-hosts.7 b/man/coredns-hosts.7 index 64a37bd9f..2694c1597 100644 --- a/man/coredns-hosts.7 +++ b/man/coredns-hosts.7 @@ -1,5 +1,5 @@ .\" Generated by Mmark Markdown Processer - mmark.miek.nl -.TH "COREDNS-HOSTS" 7 "January 2020" "CoreDNS" "CoreDNS Plugins" +.TH "COREDNS-HOSTS" 7 "March 2020" "CoreDNS" "CoreDNS Plugins" .SH "NAME" .PP @@ -98,7 +98,7 @@ queries for those zones will be subject to fallthrough. If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metrics are exported: .IP \(bu 4 -\fB\fCcoredns_hosts_entries_count{}\fR - The combined number of entries in hosts and Corefile. +\fB\fCcoredns_hosts_entries{}\fR - The combined number of entries in hosts and Corefile. .IP \(bu 4 \fB\fCcoredns_hosts_reload_timestamp_seconds{}\fR - The timestamp of the last reload of hosts file. |