mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 03:03:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			376 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			376 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package reload
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/coredns/coredns/plugin"
 | 
						|
 | 
						|
	"github.com/prometheus/client_golang/prometheus"
 | 
						|
)
 | 
						|
 | 
						|
// Metrics for the reload plugin
 | 
						|
var (
 | 
						|
	FailedCount = prometheus.NewCounter(prometheus.CounterOpts{
 | 
						|
		Namespace: plugin.Namespace,
 | 
						|
		Subsystem: "reload",
 | 
						|
		Name:      "failed_count_total",
 | 
						|
		Help:      "Counter of the number of failed reload attempts.",
 | 
						|
	})
 | 
						|
)
 |