16 lines
511 B
Go
Raw Permalink Normal View History

2023-09-06 08:22:07 +03:00
package metrics
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
2024-01-04 19:22:32 +03:00
// 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.",
})