mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-30 17:53:21 -04:00 
			
		
		
		
	Update timing histograms (#1253)
* Use seconds for bucketing. * Add template for high accuracy timing buckets to avoid copy-pasta.
This commit is contained in:
		| @@ -100,3 +100,6 @@ func ClientWrite(rcode int) bool { | ||||
|  | ||||
| // Namespace is the namespace used for the metrics. | ||||
| const Namespace = "coredns" | ||||
|  | ||||
| // TimeBuckets is based on Prometheus client_golang prometheus.DefBuckets | ||||
| var TimeBuckets = []float64{0.00025, 0.0005, 0.001, 0.0025, .005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user