forked from mtusi2026/mtusi2026lab6
Проверить сквозной контекст, отказы, SLO и требования уровня 4
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user