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

18 lines
399 B
Go

package autopath
import (
"github.com/coredns/coredns/plugin"
metric "github.com/luxfi/metric"
)
var (
// autoPathCount is counter of successfully autopath-ed queries.
autoPathCount = metric.NewCounterVec(metric.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "autopath",
Name: "success_total",
Help: "Counter of requests that did autopath.",
}, []string{"server"})
)