Реализовать уровень 4: сквозные трассы, SLO, отказы и отчёт

This commit is contained in:
2026-11-21 12:18:33 +03:00
parent d0a062e2d2
commit 12181fa893
69 changed files with 52258 additions and 47 deletions
+20
View File
@@ -0,0 +1,20 @@
UTC: 2026-11-21T09:03:11Z
Command: C:\Users\masha\AppData\Local\Programs\Python\Python313\python.exe -X utf8 -c "import json
import scripts.observe_lab6 as m
client,stand=m.Business(),m.Stand()
try:
m.wait_backends();client.bootstrap()
result=m.lag_incident(client,stand,'MessengerQueueLag')
path=m.EVIDENCE/'observability-incidents.json'
data=json.loads(path.read_text(encoding='utf-8'))
data['incidents'][0]=result
data['captured_at']=m.now()
m.save('observability-incidents.json',data)
print('PASS: clean queue and inactive alert -> newly firing -> resolved; original bytes verified')
finally:
stand.restore()
"
PASS: clean queue and inactive alert -> newly firing -> resolved; original bytes verified
RESULT: PASS (exit 0) at 2026-11-21T09:04:11Z