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) {
|
func attachMetrics(r *router.Router, z promhttp.Logger) {
|
||||||
r.GET("/metrics/", metricsHandler(prometheus.DefaultGatherer, promhttp.HandlerOpts{
|
r.GET("/metrics/", metricsHandler(prometheus.DefaultGatherer, promhttp.HandlerOpts{
|
||||||
ErrorLog: z,
|
ErrorLog: z,
|
||||||
//ErrorHandling: 0,
|
// ErrorHandling: 0,
|
||||||
//Registry: nil,
|
// Registry: nil,
|
||||||
//DisableCompression: false,
|
// DisableCompression: false,
|
||||||
//MaxRequestsInFlight: 0,
|
// MaxRequestsInFlight: 0,
|
||||||
//Timeout: 0,
|
// Timeout: 0,
|
||||||
//EnableOpenMetrics: false,
|
// EnableOpenMetrics: false,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue