adds missing metric name (#34307)

This commit is contained in:
Owen Diehl 2021-05-18 17:24:38 -04:00 committed by GitHub
parent 855da80542
commit c48c701791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,7 @@ func NewMetrics(r prometheus.Registerer) *Metrics {
prometheus.SummaryOpts{
Namespace: "grafana",
Subsystem: "alerting",
Name: "rule_evaluation_duration_seconds",
Help: "The duration for a rule to execute.",
Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001},
},