blob: 65a6cbd89db144358fd0bab8b5f813580889f1c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package autopath
import (
"github.com/coredns/coredns/plugin"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
var (
// autoPathCount is counter of successfully autopath-ed queries.
autoPathCount = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "autopath",
Name: "success_total",
Help: "Counter of requests that did autopath.",
}, []string{"server"})
)
|