console.alert-action

This extension can be used to trigger a specific action when a specific Prometheus alert is observed by the Console based on its rule.name value.

Name Value Type Optional Description

alert

string

no

Alert name as defined by alert.rule.name property

text

string

no

action

CodeRef<(alert: any) ⇒ void>

no

Function to perform side effect