mirror of
https://github.com/hanzoai/dns.git
synced 2026-10-30 18:40:55 +00:00
Mechanical migration following the beego v2.3.8 fork precedent (bc7b075). Same exposition surface, zero prometheus/client_golang in the dep graph.
18 lines
437 B
Go
18 lines
437 B
Go
package dns64
|
|
|
|
import (
|
|
"github.com/coredns/coredns/plugin"
|
|
|
|
metric "github.com/luxfi/metric"
|
|
)
|
|
|
|
var (
|
|
// RequestsTranslatedCount is the number of DNS requests translated by dns64.
|
|
RequestsTranslatedCount = metric.NewCounterVec(metric.CounterOpts{
|
|
Namespace: plugin.Namespace,
|
|
Subsystem: pluginName,
|
|
Name: "requests_translated_total",
|
|
Help: "Counter of DNS requests translated by dns64.",
|
|
}, []string{"server"})
|
|
)
|