apiVersion: 1 groups: - orgId: 1 name: ssw-590-30s folder: SSW590 interval: 30s rules: - uid: fg2yd76uk00sga title: HTTPS service unavailable condition: C data: - refId: A relativeTimeRange: from: 600 to: 0 datasourceUid: dg2y8czei4y68b 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: description: 'Check: docker compose ps in /opt/startup; restart the failed service; verify login page and probe_success returns 1.' runbook_url: https://git.ssw590.abrdns.com/StartupTeam/Strartup-product/src/branch/feature/monitoring/monitoring/RUNBOOK.md summary: '{{ $labels.instance }} HTTPS probe failing for 1 minute' labels: owner: shubham severity: critical isPaused: false notification_settings: receiver: team-alerts - uid: dg2ydl5gwz474e title: Root filesystem free space below 15% condition: C data: - refId: A relativeTimeRange: from: 600 to: 0 datasourceUid: dg2y8czei4y68b model: editorMode: code expr: ' 100 * node_filesystem_avail_bytes{device="/dev/vda1",fstype="ext4",mountpoint="/",job="node"} / node_filesystem_size_bytes{device="/dev/vda1",fstype="ext4",mountpoint="/",job="node"}' 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: 'Check: df -h /; docker system df; remove unused images (docker image prune) and old build workspaces; resize volume if still low.' summary: Root filesystem on SSW590-Droplet has less than 15% free labels: owner: shubham severity: warning isPaused: false notification_settings: receiver: team-alerts