You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
告警规则名称中,可以使用
{{$labels.标签值}}
调用promql中标签值。但是我想在告警规则名称中调用promql本身,或者指标名称,该如何调用呢。例如以下语句,我想规则名称拿到指标
error
这个名称,,该如何使用呢。increase(sum(error)by(job)[1m]) >0
使用场景:多个告警条件中,我希望知道是那个promql触发告警
Beta Was this translation helpful? Give feedback.
All reactions