add template param rule_name

This commit is contained in:
liugq 2022-05-25 20:54:13 +08:00
parent 8d7ecd1fc3
commit c773e7b9e8
1 changed files with 1 additions and 0 deletions

View File

@ -780,6 +780,7 @@ func newParameterCtx(rule *alerting.Rule, checkResults *alerting.ConditionResult
alerting2.ParamResults: conditionParams,
"first_group_value": firstGroupValue,
"first_threshold": firstThreshold,
"rule_name": rule.Name,
}
return paramsCtx
}