Реализовать уровень 4: сквозные трассы, SLO, отказы и отчёт
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user