mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 02:33:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			518 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			518 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package dns64
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/coredns/coredns/plugin"
 | 
						|
 | 
						|
	"github.com/prometheus/client_golang/prometheus"
 | 
						|
	"github.com/prometheus/client_golang/prometheus/promauto"
 | 
						|
)
 | 
						|
 | 
						|
var (
 | 
						|
	// RequestsTranslatedCount is the number of DNS requests translated by dns64.
 | 
						|
	RequestsTranslatedCount = promauto.NewCounterVec(prometheus.CounterOpts{
 | 
						|
		Namespace: plugin.Namespace,
 | 
						|
		Subsystem: pluginName,
 | 
						|
		Name:      "requests_translated_total",
 | 
						|
		Help:      "Counter of DNS requests translated by dns64.",
 | 
						|
	}, []string{"server"})
 | 
						|
)
 |