mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
18 lines
401 B
Go
18 lines
401 B
Go
|
|
package xds
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/coredns/coredns/plugin"
|
||
|
|
|
||
|
|
"github.com/prometheus/client_golang/prometheus"
|
||
|
|
)
|
||
|
|
|
||
|
|
var (
|
||
|
|
// ClusterGauge is the number of clusters we are currently tracking.
|
||
|
|
ClusterGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||
|
|
Namespace: plugin.Namespace,
|
||
|
|
Subsystem: "traffic",
|
||
|
|
Name: "clusters_tracked",
|
||
|
|
Help: "Gauge of tracked clusters.",
|
||
|
|
}, []string{""})
|
||
|
|
)
|