diff --git a/managed/services/telemetry/config.default.yml b/managed/services/telemetry/config.default.yml index 466926bd87..8894ca0725 100644 --- a/managed/services/telemetry/config.default.yml +++ b/managed/services/telemetry/config.default.yml @@ -8,6 +8,22 @@ telemetry: - metric_name: "pmm_server_ia_enabled" column: "ia_enabled" + - id: PMMServerAlertsFire + source: VM + query: max_over_time(grafana_alerting_alerts{state="alerting"}[24h]) + summary: "Maximum number of active concurrent alerts in the last 24 hours" + data: + - metric_name: "pmm_server_alerts_firing_max_24h" + value: 1 + + - id: PMMServerAlertRulesNumber + source: VM + query: grafana_alerting_schedule_alert_rules + summary: "Number of Alerts configured" + data: + - metric_name: "pmm_server_alert_rules_number" + value: 1 + - id: PMMServerSTTEnabled source: PMMDB_SELECT query: (CASE WHEN stt->'stt_disabled' = 'false' THEN '1' ELSE '0' END) AS stt_enabled FROM settings s, jsonb_extract_path(s.settings, 'sass') AS stt