Skip to content

Commit 9cd0476

Browse files
authored
Merge pull request grafana#6953 from huydx/typo-execution
(typo) Exeuction -> Execution
2 parents 9510f21 + b97f4fd commit 9cd0476

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/metrics/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var (
5050

5151
// Timers
5252
M_DataSource_ProxyReq_Timer Timer
53-
M_Alerting_Exeuction_Time Timer
53+
M_Alerting_Execution_Time Timer
5454

5555
// StatTotals
5656
M_Alerting_Active_Alerts Gauge
@@ -115,7 +115,7 @@ func initMetricVars(settings *MetricSettings) {
115115

116116
// Timers
117117
M_DataSource_ProxyReq_Timer = RegTimer("api.dataproxy.request.all")
118-
M_Alerting_Exeuction_Time = RegTimer("alerting.execution_time")
118+
M_Alerting_Execution_Time = RegTimer("alerting.execution_time")
119119

120120
// StatTotals
121121
M_Alerting_Active_Alerts = RegGauge("alerting.active_alerts")

pkg/services/alerting/eval_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
6161
context.NoDataFound = noDataFound
6262
context.EndTime = time.Now()
6363
elapsedTime := context.EndTime.Sub(context.StartTime) / time.Millisecond
64-
metrics.M_Alerting_Exeuction_Time.Update(elapsedTime)
64+
metrics.M_Alerting_Execution_Time.Update(elapsedTime)
6565
}

0 commit comments

Comments
 (0)