rename metric after its package

This commit is contained in:
Mechiel Lukkien 2023-02-08 21:01:15 +01:00
parent 8bdca09b7b
commit 6623cb435a
No known key found for this signature in database

View file

@ -28,7 +28,7 @@ var (
metricSession = promauto.NewCounterVec( metricSession = promauto.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "mox_tlsrpt_session_total", Name: "mox_tlsrptdb_session_total",
Help: "Number of sessions, both success and known result types.", Help: "Number of sessions, both success and known result types.",
}, },
[]string{"type"}, // Known result types, and "success" []string{"type"}, // Known result types, and "success"