fix(reliability): converge runtime on uplink revert; bound health endpoint cost (I3,I4)
This commit is contained in:
@@ -4808,8 +4808,9 @@ def h_health(ctx):
|
||||
for k in ('pass', 'fixed', 'warn', 'fail')},
|
||||
'steps': ENV_CHECK_STATE['report'],
|
||||
}
|
||||
h['reliability'] = mk8_events.counters()
|
||||
h['events'] = mk8_events.read_events(limit=20)
|
||||
snap = mk8_events.snapshot()
|
||||
h['reliability'] = snap['reliability']
|
||||
h['events'] = snap['events']
|
||||
h['guard'] = mk8_guard.guard_report()
|
||||
return 200, h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user