forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
f989bc52be
Pprof will have specific options, it seems wrong to have them in a generic struct. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
12 lines
212 B
Go
12 lines
212 B
Go
package main
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/metrics"
|
|
)
|
|
|
|
func newMetricsComponent() *httpComponent {
|
|
return &httpComponent{
|
|
name: "prometheus",
|
|
handler: metrics.Handler(),
|
|
}
|
|
}
|