metrics: fix doc-comments

This commit is contained in:
Evgeniy Kulikov 2020-05-12 11:19:34 +03:00
parent 21fc1c6e6c
commit 0a55a84863
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2

View file

@ -13,12 +13,12 @@ import (
func attachMetrics(r *router.Router, z promhttp.Logger) {
r.GET("/metrics/", metricsHandler(prometheus.DefaultGatherer, promhttp.HandlerOpts{
ErrorLog: z,
//ErrorHandling: 0,
//Registry: nil,
//DisableCompression: false,
//MaxRequestsInFlight: 0,
//Timeout: 0,
//EnableOpenMetrics: false,
// ErrorHandling: 0,
// Registry: nil,
// DisableCompression: false,
// MaxRequestsInFlight: 0,
// Timeout: 0,
// EnableOpenMetrics: false,
}))
}