Проверить сквозной контекст, отказы, SLO и требования уровня 4

This commit is contained in:
2026-11-27 16:57:58 +03:00
parent 71254d3389
commit 0355ba13d2
23 changed files with 9136 additions and 16812 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ def main():
telemetry=json.dumps([doc,logs,signals])
for secret in [alice['token'],bob['token'],alice['registration']['password'],'synthetic concurrent']:
check(secret not in telemetry,'sensitive data in telemetry')
save('signals.json',{'trace_id':tid,'spans':spans,'logs':logs,'metrics':signals,
compact={name:{'series_count':len(rows),'label_names':sorted(set().union(*(set(row['metric']) for row in rows))),'sample':rows[:2]} for name,rows in signals.items()}
save('signals.json',{'trace_id':tid,'spans':spans,'logs':logs,'metrics':compact,
'concurrent_requests':24,'unique_messages':1,'checks':'PASS'})
print('PASS: real OTLP signals, connected producer/consumer/S3/DB graph, logs, metric labels, 24 concurrent replays and negative checks')