Andrey Meshkov da0cb6fd0e Sync v2.9.0
2024-10-14 17:44:24 +03:00

16 lines
511 B
Go

package metrics
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
// AccessProfileInitDuration is a histogram with the duration of a profile
// access internal engine initialization.
var AccessProfileInitDuration = promauto.NewHistogram(prometheus.HistogramOpts{
Name: "profile_init_engine_duration_seconds",
Namespace: namespace,
Subsystem: subsystemAccess,
Help: "Time elapsed on profile access engine initialization.",
})