mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
hosts: add hostsfile as label for coredns_hosts_entries (#6801)
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
This commit is contained in:
@@ -14,7 +14,7 @@ var (
|
||||
Subsystem: "hosts",
|
||||
Name: "entries",
|
||||
Help: "The combined number of entries in hosts and Corefile.",
|
||||
}, []string{})
|
||||
}, []string{"hostsfile"})
|
||||
// hostsReloadTime is the timestamp of the last reload of hosts file.
|
||||
hostsReloadTime = promauto.NewGauge(prometheus.GaugeOpts{
|
||||
Namespace: plugin.Namespace,
|
||||
|
||||
Reference in New Issue
Block a user