add template param rule_name
This commit is contained in:
parent
8d7ecd1fc3
commit
c773e7b9e8
|
@ -780,6 +780,7 @@ func newParameterCtx(rule *alerting.Rule, checkResults *alerting.ConditionResult
|
||||||
alerting2.ParamResults: conditionParams,
|
alerting2.ParamResults: conditionParams,
|
||||||
"first_group_value": firstGroupValue,
|
"first_group_value": firstGroupValue,
|
||||||
"first_threshold": firstThreshold,
|
"first_threshold": firstThreshold,
|
||||||
|
"rule_name": rule.Name,
|
||||||
}
|
}
|
||||||
return paramsCtx
|
return paramsCtx
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue