{{ t('Prometheus alert rules') }} {{ t('of Host') }}
{{ t('Metrics') }} {{ t('Alert rules') }}
{{ t('Filter') }}
@if (!result) { } @if (result) { @for (alertRule of result.all_alert_rules; track alertRule) { } }
{{ t('Service name') }} {{ t('PromQL') }} {{ t('Unit') }}
{{ alertRule.servicename }} {{ alertRule._matchingData.PrometheusAlertRules.promql }} {{ alertRule._matchingData.PrometheusAlertRules.unit }} @if (alertRule.allow_edit) { {{ t('Edit') }} } @if (!alertRule.allow_edit) { {{ t('Edit') }} } @if (alertRule.allow_edit) {
  • } @if (alertRule.allow_edit) { {{ t('Delete') }} }
    @if (result && result.all_alert_rules.length === 0) { } @if (result && result.all_alert_rules) {
    } @if (result) { }