refactor code
This commit is contained in:
@@ -0,0 +1,300 @@
|
||||
{
|
||||
"samples": [
|
||||
{
|
||||
"time": "2026-11-06T07:03:03.661461+00:00",
|
||||
"monotonic": 51955.506616,
|
||||
"phase": "baseline",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:09.013918+00:00",
|
||||
"monotonic": 51960.859020333,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:14.036654+00:00",
|
||||
"monotonic": 51965.881710833,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:19.064110+00:00",
|
||||
"monotonic": 51970.909114958,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:24.098276+00:00",
|
||||
"monotonic": 51975.943249958,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:29.150984+00:00",
|
||||
"monotonic": 51980.9959115,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:34.199153+00:00",
|
||||
"monotonic": 51986.044040208,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:39.245809+00:00",
|
||||
"monotonic": 51991.09063275,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:44.282804+00:00",
|
||||
"monotonic": 51996.127578458,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:49.317995+00:00",
|
||||
"monotonic": 52001.162700583,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:54.345636+00:00",
|
||||
"monotonic": 52006.190306166,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:03:59.376176+00:00",
|
||||
"monotonic": 52011.220777958,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:04.416058+00:00",
|
||||
"monotonic": 52016.260635708,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:09.450875+00:00",
|
||||
"monotonic": 52021.295390541,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:14.481279+00:00",
|
||||
"monotonic": 52026.325748,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:19.519443+00:00",
|
||||
"monotonic": 52031.36385225,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:24.550837+00:00",
|
||||
"monotonic": 52036.395194208,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:29.576411+00:00",
|
||||
"monotonic": 52041.420720208,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:34.607663+00:00",
|
||||
"monotonic": 52046.451919791,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:39.633257+00:00",
|
||||
"monotonic": 52051.477466458,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T07:04:44.663734+00:00",
|
||||
"monotonic": 52056.50792775,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"all_firing": [
|
||||
"MessengerQueueLag"
|
||||
],
|
||||
"queue_depth": 0.0,
|
||||
"queue_age": 0.0,
|
||||
"eligible": 9.0,
|
||||
"bad": 8.0
|
||||
}
|
||||
],
|
||||
"jobs": 8,
|
||||
"accepted_at": {
|
||||
"time": "2026-11-06T07:03:09.009364+00:00",
|
||||
"monotonic": 51960.854465416
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"sampling_interval_seconds": 5,
|
||||
"monitor_errors": 0,
|
||||
"phases": {
|
||||
"burst": {
|
||||
"observed_lock_seconds": 75.033,
|
||||
"alerts": {
|
||||
"MessengerApiBurnFast": {
|
||||
"active_before_lock": false,
|
||||
"first_firing": "2026-11-05T19:30:49.560423+00:00",
|
||||
"first_firing_after_incident": false,
|
||||
"detection_seconds": 55.088,
|
||||
"first_clear": "2026-11-05T19:31:24.687321+00:00",
|
||||
"recovery_seconds": 15.181
|
||||
},
|
||||
"MessengerApiBurnSlow": {
|
||||
"active_before_lock": false,
|
||||
"first_firing": "2026-11-05T19:31:14.651231+00:00",
|
||||
"first_firing_after_incident": true,
|
||||
"detection_seconds": 80.179,
|
||||
"first_clear": "2026-11-05T19:31:24.687321+00:00",
|
||||
"recovery_seconds": 15.181
|
||||
}
|
||||
}
|
||||
},
|
||||
"sustained": {
|
||||
"observed_lock_seconds": 180.134,
|
||||
"alerts": {
|
||||
"MessengerApiBurnFast": {
|
||||
"active_before_lock": false,
|
||||
"first_firing": "2026-11-05T19:33:40.096081+00:00",
|
||||
"first_firing_after_incident": false,
|
||||
"detection_seconds": 50.278,
|
||||
"first_clear": "2026-11-05T19:36:10.387240+00:00",
|
||||
"recovery_seconds": 10.648
|
||||
},
|
||||
"MessengerApiBurnSlow": {
|
||||
"active_before_lock": false,
|
||||
"first_firing": "2026-11-05T19:34:20.245337+00:00",
|
||||
"first_firing_after_incident": false,
|
||||
"detection_seconds": 90.428,
|
||||
"first_clear": "2026-11-05T19:37:53.534744+00:00",
|
||||
"recovery_seconds": 30.724
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"timing_quality": {
|
||||
"max_wall_monotonic_disagreement_seconds": 83.075,
|
||||
"max_observed_sampling_gap_seconds": 5.029,
|
||||
"valid_for_elapsed_time_claims": false,
|
||||
"note": "Disagreement does not identify its cause; rerun if invalid. Precision is bounded by actual gaps, not the configured sleep."
|
||||
},
|
||||
"baseline": {
|
||||
"samples": 13,
|
||||
"samples_with_burn_alert": 0,
|
||||
"scope": "one observed healthy baseline, not a long-term false-positive rate"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,211 @@
|
||||
{
|
||||
"samples": [
|
||||
{
|
||||
"time": "2026-11-06T06:18:43.857552+00:00",
|
||||
"monotonic": 49295.73000975,
|
||||
"phase": "baseline",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:18:49.195942+00:00",
|
||||
"monotonic": 49301.068345333,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:18:54.211236+00:00",
|
||||
"monotonic": 49306.083585125,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:18:59.238528+00:00",
|
||||
"monotonic": 49311.110847333,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:04.276851+00:00",
|
||||
"monotonic": 49316.149107833,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:09.316299+00:00",
|
||||
"monotonic": 49321.18853025,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:14.361014+00:00",
|
||||
"monotonic": 49326.233190833,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:19.399292+00:00",
|
||||
"monotonic": 49331.271419,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:24.439389+00:00",
|
||||
"monotonic": 49336.31146675,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [],
|
||||
"eligible": 9.0,
|
||||
"bad": 4.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:29.469853+00:00",
|
||||
"monotonic": 49341.341864875,
|
||||
"phase": "worker_stopped",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:35.732760+00:00",
|
||||
"monotonic": 49347.604713666,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:40.766904+00:00",
|
||||
"monotonic": 49352.638829583,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnFast",
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:45.800827+00:00",
|
||||
"monotonic": 49357.672704333,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:50.839444+00:00",
|
||||
"monotonic": 49362.711278166,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:19:55.882108+00:00",
|
||||
"monotonic": 49367.753864791,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:00.935125+00:00",
|
||||
"monotonic": 49372.806871,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:05.976123+00:00",
|
||||
"monotonic": 49377.847798625,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:11.006201+00:00",
|
||||
"monotonic": 49382.877811166,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:16.034665+00:00",
|
||||
"monotonic": 49387.906272875,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:21.073601+00:00",
|
||||
"monotonic": 49392.945128916,
|
||||
"phase": "recovery",
|
||||
"firing": [
|
||||
"MessengerReadyBurnSlow"
|
||||
],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
},
|
||||
{
|
||||
"time": "2026-11-06T06:20:26.112334+00:00",
|
||||
"monotonic": 49397.983810916,
|
||||
"phase": "recovery",
|
||||
"firing": [],
|
||||
"eligible": 17.0,
|
||||
"bad": 12.0
|
||||
}
|
||||
],
|
||||
"jobs": 8,
|
||||
"accepted_at": {
|
||||
"time": "2026-11-06T06:18:49.190891+00:00",
|
||||
"monotonic": 49301.063291333
|
||||
},
|
||||
"worker_started": {
|
||||
"time": "2026-11-06T06:19:31.951591+00:00",
|
||||
"monotonic": 49343.823643916
|
||||
},
|
||||
"all_ready": {
|
||||
"time": "2026-11-06T06:19:35.725614+00:00",
|
||||
"monotonic": 49347.597564333
|
||||
},
|
||||
"result": "PASS"
|
||||
}
|
||||
Reference in New Issue
Block a user