починил ранбуки, была указана не та ветка

This commit is contained in:
Ванек
2026-11-27 13:02:18 +03:00
parent 8dad129edf
commit 72a77952f1
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ services:
image: grafana/grafana:12.0.2 image: grafana/grafana:12.0.2
environment: environment:
GF_AUTH_ANONYMOUS_ENABLED: "true" GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: Viewer GF_AUTH_ANONYMOUS_ORG_ROLE: Editor
GF_AUTH_BASIC_ENABLED: "false" GF_AUTH_BASIC_ENABLED: "false"
GF_AUTH_DISABLE_LOGIN_FORM: "true" GF_AUTH_DISABLE_LOGIN_FORM: "true"
GF_ANALYTICS_REPORTING_ENABLED: "false" GF_ANALYTICS_REPORTING_ENABLED: "false"
+7 -7
View File
@@ -39,7 +39,7 @@ groups:
summary: 'api: 6x budget burn in both 2m and 30s' summary: 'api: 6x budget burn in both 2m and 30s'
description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
- alert: APIAvailabilitySlowBurn - alert: APIAvailabilitySlowBurn
expr: (lab6:api_bad_ratio:6m > 3 * 0.01) and (lab6:api_bad_ratio:1m > 3 * 0.01) expr: (lab6:api_bad_ratio:6m > 3 * 0.01) and (lab6:api_bad_ratio:1m > 3 * 0.01)
@@ -53,7 +53,7 @@ groups:
summary: 'api: 3x budget burn in both 6m and 1m' summary: 'api: 3x budget burn in both 6m and 1m'
description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
- alert: AttachmentReadyFastBurn - alert: AttachmentReadyFastBurn
expr: (lab6:ready_bad_ratio:2m > 6 * 0.05) and (lab6:ready_bad_ratio:30s > 6 * expr: (lab6:ready_bad_ratio:2m > 6 * 0.05) and (lab6:ready_bad_ratio:30s > 6 *
@@ -67,7 +67,7 @@ groups:
summary: 'ready: 6x budget burn in both 2m and 30s' summary: 'ready: 6x budget burn in both 2m and 30s'
description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#ready runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-ready
runbook: docs/runbook.md#ready runbook: docs/runbook.md#ready
- alert: AttachmentReadySlowBurn - alert: AttachmentReadySlowBurn
expr: (lab6:ready_bad_ratio:6m > 3 * 0.05) and (lab6:ready_bad_ratio:1m > 3 * expr: (lab6:ready_bad_ratio:6m > 3 * 0.05) and (lab6:ready_bad_ratio:1m > 3 *
@@ -81,7 +81,7 @@ groups:
summary: 'ready: 3x budget burn in both 6m and 1m' summary: 'ready: 3x budget burn in both 6m and 1m'
description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#ready runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-ready
runbook: docs/runbook.md#ready runbook: docs/runbook.md#ready
- alert: APIHighErrorRate - alert: APIHighErrorRate
expr: lab6:api_bad_ratio:30s > 0.05 expr: lab6:api_bad_ratio:30s > 0.05
@@ -91,7 +91,7 @@ groups:
annotations: annotations:
summary: API 5xx > 5% for 30s (single-window comparator) summary: API 5xx > 5% for 30s (single-window comparator)
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
- alert: AttachmentQueueLag - alert: AttachmentQueueLag
expr: (max(messenger_queue_oldest_age_seconds) > 20) and (max(messenger_queue_depth) expr: (max(messenger_queue_oldest_age_seconds) > 20) and (max(messenger_queue_depth)
> 0) > 0)
@@ -101,7 +101,7 @@ groups:
annotations: annotations:
summary: Oldest unfinished job exceeds 20s; queue not empty summary: Oldest unfinished job exceeds 20s; queue not empty
runbook: docs/runbook.md#ready runbook: docs/runbook.md#ready
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#ready runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-ready
- alert: TelemetryCollectorUnavailable - alert: TelemetryCollectorUnavailable
expr: up{job="collector"} == 0 expr: up{job="collector"} == 0
for: 15s for: 15s
@@ -110,4 +110,4 @@ groups:
annotations: annotations:
summary: Collector scrape unavailable; SLI may be incomplete summary: Collector scrape unavailable; SLI may be incomplete
runbook: docs/runbook.md#telemetry runbook: docs/runbook.md#telemetry
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#telemetry runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-telemetry
+5 -5
View File
@@ -39,7 +39,7 @@ tests:
exp_annotations: exp_annotations:
summary: API 5xx > 5% for 30s (single-window comparator) summary: API 5xx > 5% for 30s (single-window comparator)
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
- eval_time: 140s - eval_time: 140s
alertname: APIAvailabilityFastBurn alertname: APIAvailabilityFastBurn
exp_alerts: [] exp_alerts: []
@@ -89,7 +89,7 @@ tests:
summary: 'api: 6x budget burn in both 2m and 30s' summary: 'api: 6x budget burn in both 2m and 30s'
description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
- eval_time: 210s - eval_time: 210s
alertname: APIAvailabilitySlowBurn alertname: APIAvailabilitySlowBurn
@@ -101,7 +101,7 @@ tests:
summary: 'api: 3x budget burn in both 6m and 1m' summary: 'api: 3x budget burn in both 6m and 1m'
description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not description: Budget 0.01; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#api runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-api
runbook: docs/runbook.md#api runbook: docs/runbook.md#api
- eval_time: 7m - eval_time: 7m
alertname: APIAvailabilityFastBurn alertname: APIAvailabilityFastBurn
@@ -151,7 +151,7 @@ tests:
summary: 'ready: 6x budget burn in both 2m and 30s' summary: 'ready: 6x budget burn in both 2m and 30s'
description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#ready runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-ready
runbook: docs/runbook.md#ready runbook: docs/runbook.md#ready
- eval_time: 210s - eval_time: 210s
alertname: AttachmentReadySlowBurn alertname: AttachmentReadySlowBurn
@@ -163,7 +163,7 @@ tests:
summary: 'ready: 3x budget burn in both 6m and 1m' summary: 'ready: 3x budget burn in both 6m and 1m'
description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not description: Budget 0.05; rolling SLO window 1h. Requires real traffic, not
health requests. health requests.
runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/main/docs/runbook.md#ready runbook_url: https://gitea.privcloud.tech/Savelev_Ivan/mtusi2026lab6/src/branch/solution/bvt2304-savelev/docs/runbook.md#user-content-ready
runbook: docs/runbook.md#ready runbook: docs/runbook.md#ready
- eval_time: 7m - eval_time: 7m
alertname: AttachmentReadyFastBurn alertname: AttachmentReadyFastBurn