File size: 369 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
package alert
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
var (
metricCreatedTotal = promauto.NewCounterVec(prometheus.CounterOpts{
Namespace: "goalert",
Subsystem: "alert",
Name: "created_total",
Help: "The total number of created alerts.",
}, []string{"service_id"})
)
|