Files
zeekay 9b8e9a14bb deps: prometheus/client_golang → luxfi/metric
Mechanical migration following the beego v2.3.8 fork precedent
(bc7b075). Same exposition surface, zero prometheus/client_golang
in the dep graph.
2026-06-10 18:35:09 -07:00

25 lines
668 B
Go

package forward
import (
"github.com/coredns/coredns/plugin"
metric "github.com/luxfi/metric"
)
// Variables declared for monitoring.
var (
healthcheckBrokenCount = metric.NewCounter(metric.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "forward",
Name: "healthcheck_broken_total",
Help: "Counter of the number of complete failures of the healthchecks.",
})
maxConcurrentRejectCount = metric.NewCounter(metric.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "forward",
Name: "max_concurrent_rejects_total",
Help: "Counter of the number of queries rejected because the concurrent queries were at maximum.",
})
)