Dmitrii Stepanov
c09144ecf1
Use observability module. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
12 lines
217 B
Go
12 lines
217 B
Go
package main
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-observability/metrics"
|
|
)
|
|
|
|
func newMetricsComponent() *httpComponent {
|
|
return &httpComponent{
|
|
name: "prometheus",
|
|
handler: metrics.Handler(),
|
|
}
|
|
}
|