mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	prometheus: add docs and fix varz a little
This commit is contained in:
		| @@ -9,7 +9,7 @@ import ( | ||||
| 	"github.com/prometheus/client_golang/prometheus" | ||||
| ) | ||||
|  | ||||
| const namespace = "daddy" | ||||
| const namespace = "coredns" | ||||
|  | ||||
| var ( | ||||
| 	requestCount    *prometheus.CounterVec | ||||
| @@ -74,7 +74,7 @@ func define(subsystem string) { | ||||
| 	responseRcode = prometheus.NewCounterVec(prometheus.CounterOpts{ | ||||
| 		Namespace: namespace, | ||||
| 		Subsystem: subsystem, | ||||
| 		Name:      "rcode_code_count_total", | ||||
| 		Name:      "response_rcode_count_total", | ||||
| 		Help:      "Counter of response status codes.", | ||||
| 	}, []string{"zone", "rcode"}) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user