forked from TrueCloudLab/frostfs-http-gw
metrics: fix doc-comments
This commit is contained in:
parent
21fc1c6e6c
commit
0a55a84863
1 changed files with 6 additions and 6 deletions
12
metrics.go
12
metrics.go
|
@ -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,
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue