apiVersion: 1 groups: - orgId: 1 name: availability folder: SSW 590 interval: 30s rules: - uid: fg2n29o6c9a80d title: ServiceUnavailable condition: C data: - refId: A relativeTimeRange: from: 600 to: 0 datasourceUid: prometheus model: editorMode: code expr: probe_success{job="https"} instant: true intervalMs: 1000 legendFormat: __auto maxDataPoints: 43200 range: false refId: A - refId: C queryType: expression datasourceUid: __expr__ model: conditions: - evaluator: params: - 1 type: lt operator: type: and query: params: - C reducer: params: [] type: last type: query datasource: type: __expr__ uid: __expr__ expression: A intervalMs: 1000 maxDataPoints: 43200 refId: C type: threshold noDataState: Alerting execErrState: Alerting for: 1m annotations: runbook_url: https://git.ssw590-08.me/SSW-590-08/Scrap-Web/src/branch/main/monitoring/RUNBOOK.md summary: '{{ $labels.instance }} HTTPS probe failing for 1m' labels: owner: samahk13 severity: critical team: ssw590 isPaused: false notification_settings: receiver: team-alerts - orgId: 1 name: infrastructure-alerts folder: SSW 590 interval: 30s rules: - uid: bg2tu8l6pb20wc title: HostDiskLow condition: C data: - refId: A relativeTimeRange: from: 600 to: 0 datasourceUid: prometheus model: editorMode: code expr: |- 100 * node_filesystem_avail_bytes{ mountpoint="/", fstype!="rootfs", device="/dev/vda1" } / node_filesystem_size_bytes{ mountpoint="/", fstype!="rootfs", device="/dev/vda1" } instant: true intervalMs: 1000 legendFormat: __auto maxDataPoints: 43200 range: false refId: A - refId: C queryType: expression datasourceUid: __expr__ model: conditions: - evaluator: params: - 15 type: lt operator: type: and query: params: - C reducer: params: [] type: last type: query datasource: type: __expr__ uid: __expr__ expression: A intervalMs: 1000 maxDataPoints: 43200 refId: C type: threshold noDataState: Alerting execErrState: Alerting for: 5m annotations: description: Investigate root filesystem capacity on the monitored Droplet. Check disk usage and Docker logs before taking action. Do not delete Docker volumes or container data as an emergency response. runbook_url: https://git.ssw590-08.me/SSW-590-08/Scrap-Web/src/branch/main/monitoring/RUNBOOK.md summary: Root filesystem free space below 15% on {{ $labels.instance }} labels: owner: kholmes7 severity: warning team: ssw590 isPaused: false notification_settings: receiver: team-alerts