diff options
Diffstat (limited to 'plugin/hosts/hostsfile.go')
-rw-r--r-- | plugin/hosts/hostsfile.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugin/hosts/hostsfile.go b/plugin/hosts/hostsfile.go index 19cb7e7b3..924c827da 100644 --- a/plugin/hosts/hostsfile.go +++ b/plugin/hosts/hostsfile.go @@ -17,8 +17,6 @@ import ( "time" "github.com/coredns/coredns/plugin" - - "github.com/prometheus/client_golang/prometheus" ) // parseIP calls discards any v6 zone info, before calling net.ParseIP. @@ -256,19 +254,3 @@ func (h *Hostsfile) LookupStaticAddr(addr string) []string { copy(hostsCp[len(hosts1):], hosts2) return hostsCp } - -var ( - hostsEntries = prometheus.NewGaugeVec(prometheus.GaugeOpts{ - Namespace: plugin.Namespace, - Subsystem: "hosts", - Name: "entries_count", - Help: "The combined number of entries in hosts and Corefile.", - }, []string{}) - - hostsReloadTime = prometheus.NewGauge(prometheus.GaugeOpts{ - Namespace: plugin.Namespace, - Subsystem: "hosts", - Name: "reload_timestamp_seconds", - Help: "The timestamp of the last reload of hosts file.", - }) -) |