{
  "samples": [
    {
      "at": 1298117.1396039,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298117.172197685,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445396.3368456,
                "source_stage": "native_completed",
                "source_stage_at": 1789445396.3944778,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445396.3459926,
                  "preprocess_output": 1789445396.351703,
                  "infer_output": 1789445396.3760602,
                  "consume_entered": 1789445396.3772945,
                  "native_completed": 1789445396.3944778,
                  "inference_frame_completed": 1789445396.336827
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19251,
                  "preprocess_output": 19251,
                  "infer_output": 19251,
                  "consume_entered": 19251,
                  "native_completed": 19251,
                  "inference_frame_completed": 16842
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1925.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298117163229417,
                "counts": {
                  "decoded": 19250,
                  "selected": 19250,
                  "preprocess": 19245,
                  "infer": 19248,
                  "native": 19251,
                  "result": 16842,
                  "publisher_submit": 16842
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298117093358360,
                  "selected": 1298117093373554,
                  "preprocess": 1298117099026152,
                  "infer": 1298117123398552,
                  "native": 1298117141820022,
                  "result": 1298117083603963,
                  "publisher_submit": 1298117084231767
                },
                "detail": true,
                "pending_samples": 2,
                "last_frame": {
                  "selected": [
                    19250,
                    1925372199504
                  ],
                  "preprocess": [
                    19250,
                    1925372199504
                  ],
                  "infer": [
                    19250,
                    1925372199504
                  ],
                  "native": [
                    19250,
                    1925372199504
                  ],
                  "result": [
                    19237,
                    1924072199504
                  ],
                  "publisher_submit": [
                    19237,
                    1924072199504
                  ]
                },
                "observation_missed": 11,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 2,
                    "mean_ms": 4.4062155,
                    "p95_ms": 5.652598,
                    "max_ms": 5.652598
                  },
                  "preprocess_to_infer": {
                    "samples": 2,
                    "mean_ms": 27.849974,
                    "p95_ms": 31.327548,
                    "max_ms": 31.327548
                  },
                  "infer_to_native": {
                    "samples": 2,
                    "mean_ms": 22.3475785,
                    "p95_ms": 26.273687,
                    "max_ms": 26.273687
                  },
                  "tracking": {
                    "samples": 1,
                    "mean_ms": 225.585137,
                    "p95_ms": 225.585137,
                    "max_ms": 225.585137
                  },
                  "tracking_cpu": {
                    "samples": 1,
                    "mean_ms": 49.05375,
                    "p95_ms": 49.05375,
                    "max_ms": 49.05375
                  },
                  "scenario_cpu": {
                    "samples": 1,
                    "mean_ms": 0.773249,
                    "p95_ms": 0.773249,
                    "max_ms": 0.773249
                  },
                  "scenario": {
                    "samples": 1,
                    "mean_ms": 0.784535,
                    "p95_ms": 0.784535,
                    "max_ms": 0.784535
                  },
                  "result_work": {
                    "samples": 1,
                    "mean_ms": 232.832016,
                    "p95_ms": 232.832016,
                    "max_ms": 232.832016
                  },
                  "queue": {
                    "samples": 1,
                    "mean_ms": 953.849076,
                    "p95_ms": 953.849076,
                    "max_ms": 953.849076
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 531,
              "processed": 16842,
              "stale": 2398
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16842
            },
            "latest": {
              "fn": 19237,
              "det": 7,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298117.172260607,
            "entries": 16842,
            "length": 30,
            "last": "1789445396344-0",
            "pttl": 9897,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19237,
              "ptsNs": 1924072199504,
              "ingestTimeWallMs": 1789445395054,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1044924473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445394939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9170058369636536,
                  "bbox": [
                    0.849517822265625,
                    0.3392333984375,
                    0.914154052734375,
                    0.6793212890625
                  ],
                  "trackId": 63921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8818359375,
                        0.6793212890625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8925625681877136,
                  "bbox": [
                    0.5060501098632812,
                    0.3701171875,
                    0.5369186401367188,
                    0.533203125
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.533203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8618873357772827,
                  "bbox": [
                    0.6412353515625,
                    0.3681640625,
                    0.6800537109375,
                    0.53271484375
                  ],
                  "trackId": 63761,
                  "eventIds": [
                    "1d08e9ef-0479-4f82-8d67-37606009de85"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.53271484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "1d08e9ef-0479-4f82-8d67-37606009de85"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8169911503791809,
                  "bbox": [
                    0.61505126953125,
                    0.448272705078125,
                    0.65643310546875,
                    0.553680419921875
                  ],
                  "trackId": 64161,
                  "eventIds": [
                    "7f1f755e-674e-459b-b332-e8eb8cb92329"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.553680419921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7f1f755e-674e-459b-b332-e8eb8cb92329"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8057851195335388,
                  "bbox": [
                    0.321014404296875,
                    0.53662109375,
                    0.398223876953125,
                    0.61181640625
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.359619140625,
                        0.61181640625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298117.278448423,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445396.4176476,
                "source_stage": "infer_output",
                "source_stage_at": 1789445396.4946213,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445396.455856,
                  "preprocess_output": 1789445396.462399,
                  "infer_output": 1789445396.4946213,
                  "consume_entered": 1789445396.3386734,
                  "native_completed": 1789445396.3562186,
                  "inference_frame_completed": 1789445396.4176273
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6817,
                  "preprocess_output": 6817,
                  "infer_output": 6817,
                  "consume_entered": 6816,
                  "native_completed": 6816,
                  "inference_frame_completed": 4511
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 683.1,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298117242667119,
                "counts": {
                  "decoded": 6815,
                  "selected": 6815,
                  "preprocess": 6816,
                  "infer": 6813,
                  "native": 6815,
                  "result": 4511,
                  "publisher_submit": 4510
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298117203170089,
                  "selected": 1298117203205866,
                  "preprocess": 1298117209713835,
                  "infer": 1298117241937799,
                  "native": 1298117103553109,
                  "result": 1298117164348980,
                  "publisher_submit": 1298117165029763
                },
                "detail": true,
                "pending_samples": 2,
                "last_frame": {
                  "selected": [
                    6816,
                    682808242895
                  ],
                  "preprocess": [
                    6816,
                    682808242895
                  ],
                  "infer": [
                    6816,
                    682808242895
                  ],
                  "native": [
                    6815,
                    682708242895
                  ],
                  "result": [
                    6804,
                    681608242895
                  ],
                  "publisher_submit": [
                    6804,
                    681608242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 2,
                    "mean_ms": 4.788056,
                    "p95_ms": 6.507969,
                    "max_ms": 6.507969
                  },
                  "preprocess_to_infer": {
                    "samples": 2,
                    "mean_ms": 25.8316235,
                    "p95_ms": 32.223964,
                    "max_ms": 32.223964
                  },
                  "infer_to_native": {
                    "samples": 1,
                    "mean_ms": 22.598916,
                    "p95_ms": 22.598916,
                    "max_ms": 22.598916
                  },
                  "tracking": {
                    "samples": 1,
                    "mean_ms": 194.240777,
                    "p95_ms": 194.240777,
                    "max_ms": 194.240777
                  },
                  "tracking_cpu": {
                    "samples": 1,
                    "mean_ms": 46.130698,
                    "p95_ms": 46.130698,
                    "max_ms": 46.130698
                  },
                  "scenario_cpu": {
                    "samples": 1,
                    "mean_ms": 0.818934,
                    "p95_ms": 0.818934,
                    "max_ms": 0.818934
                  },
                  "scenario": {
                    "samples": 1,
                    "mean_ms": 0.830209,
                    "p95_ms": 0.830209,
                    "max_ms": 0.830209
                  },
                  "result_work": {
                    "samples": 1,
                    "mean_ms": 201.560995,
                    "p95_ms": 201.560995,
                    "max_ms": 201.560995
                  },
                  "queue": {
                    "samples": 1,
                    "mean_ms": 955.904694,
                    "p95_ms": 955.904694,
                    "max_ms": 955.904694
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 177,
              "processed": 4511,
              "stale": 2295
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4511
            },
            "latest": {
              "fn": 6804,
              "det": 9,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298117.278526733,
            "entries": 4511,
            "length": 30,
            "last": "1789445396424-0",
            "pttl": 9858,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6804,
              "ptsNs": 681608242895,
              "ingestTimeWallMs": 1789445395250,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3172867188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469038747,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9068183302879333,
                  "bbox": [
                    0.557769775390625,
                    0.365478515625,
                    0.618011474609375,
                    0.656982421875
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.587890625,
                        0.656982421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8899121284484863,
                  "bbox": [
                    0.5057220458984375,
                    0.37005615234375,
                    0.5391998291015625,
                    0.53326416015625
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5224609375,
                        0.53326416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8636217713356018,
                  "bbox": [
                    0.6446075439453125,
                    0.36346435546875,
                    0.6776580810546875,
                    0.54278564453125
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6611328125,
                        0.54278564453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.842863142490387,
                  "bbox": [
                    0.61602783203125,
                    0.445770263671875,
                    0.65643310546875,
                    0.554229736328125
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63623046875,
                        0.554229736328125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8142006397247314,
                  "bbox": [
                    0.8343505859375,
                    0.36309814453125,
                    0.8795166015625,
                    0.60906982421875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.85693359375,
                        0.60906982421875
                      ],
                      "inside": false,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6974028944969177,
                  "bbox": [
                    0.635101318359375,
                    0.600677490234375,
                    0.700836181640625,
                    0.683502197265625
                  ],
                  "trackId": 19361,
                  "eventIds": [
                    "4e46394c-27c1-444d-b6dc-5309ef5ae96e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66796875,
                        0.683502197265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "4e46394c-27c1-444d-b6dc-5309ef5ae96e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56420,
          "sent_status": 3174,
          "sent_frames": 53246,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298118.315804421,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298118.344410503,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445397.4033408,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445397.579917,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445397.5773487,
                  "preprocess_output": 1789445397.579917,
                  "infer_output": 1789445397.517205,
                  "consume_entered": 1789445397.5200725,
                  "native_completed": 1789445397.5333822,
                  "inference_frame_completed": 1789445397.4033282
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19263,
                  "preprocess_output": 19263,
                  "infer_output": 19262,
                  "consume_entered": 19262,
                  "native_completed": 19262,
                  "inference_frame_completed": 16848
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1926.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298118331119762,
                "counts": {
                  "decoded": 19262,
                  "selected": 19262,
                  "preprocess": 19257,
                  "infer": 19259,
                  "native": 19262,
                  "result": 16848,
                  "publisher_submit": 16848
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298118324708949,
                  "selected": 1298118324724846,
                  "preprocess": 1298118327259397,
                  "infer": 1298118264579738,
                  "native": 1298118280735289,
                  "result": 1298118150065206,
                  "publisher_submit": 1298118150732885
                },
                "detail": true,
                "pending_samples": 14,
                "last_frame": {
                  "selected": [
                    19262,
                    1926572199504
                  ],
                  "preprocess": [
                    19262,
                    1926572199504
                  ],
                  "infer": [
                    19261,
                    1926472199504
                  ],
                  "native": [
                    19261,
                    1926472199504
                  ],
                  "result": [
                    19247,
                    1925072199504
                  ],
                  "publisher_submit": [
                    19247,
                    1925072199504
                  ]
                },
                "observation_missed": 11,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 14,
                    "mean_ms": 6.8366275,
                    "p95_ms": 21.430174,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 13,
                    "mean_ms": 33.344694076923076,
                    "p95_ms": 68.112919,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 13,
                    "mean_ms": 22.427116769230768,
                    "p95_ms": 31.799489,
                    "max_ms": 31.799489
                  },
                  "tracking": {
                    "samples": 7,
                    "mean_ms": 151.110502,
                    "p95_ms": 225.585137,
                    "max_ms": 225.585137
                  },
                  "tracking_cpu": {
                    "samples": 7,
                    "mean_ms": 42.04650885714286,
                    "p95_ms": 49.05375,
                    "max_ms": 49.05375
                  },
                  "scenario_cpu": {
                    "samples": 7,
                    "mean_ms": 0.9366868571428572,
                    "p95_ms": 1.354028,
                    "max_ms": 1.354028
                  },
                  "scenario": {
                    "samples": 7,
                    "mean_ms": 0.9523127142857143,
                    "p95_ms": 1.375213,
                    "max_ms": 1.375213
                  },
                  "result_work": {
                    "samples": 7,
                    "mean_ms": 182.92944757142857,
                    "p95_ms": 345.439063,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 7,
                    "mean_ms": 944.216376,
                    "p95_ms": 975.690847,
                    "max_ms": 975.690847
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 531,
              "processed": 16848,
              "stale": 2403
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16848
            },
            "latest": {
              "fn": 19247,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298118.344434212,
            "entries": 16848,
            "length": 30,
            "last": "1789445397406-0",
            "pttl": 9786,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19247,
              "ptsNs": 1925072199504,
              "ingestTimeWallMs": 1789445396069,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045014473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445395939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8862236142158508,
                  "bbox": [
                    0.5056304931640625,
                    0.370361328125,
                    0.5373382568359375,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8858291506767273,
                  "bbox": [
                    0.882080078125,
                    0.3265380859375,
                    0.954833984375,
                    0.7056884765625
                  ],
                  "trackId": 63921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.91845703125,
                        0.7056884765625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8638516664505005,
                  "bbox": [
                    0.6406097412109375,
                    0.36822509765625,
                    0.6797027587890625,
                    0.53607177734375
                  ],
                  "trackId": 63761,
                  "eventIds": [
                    "1d08e9ef-0479-4f82-8d67-37606009de85"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.53607177734375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "1d08e9ef-0479-4f82-8d67-37606009de85"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.819604754447937,
                  "bbox": [
                    0.61468505859375,
                    0.448089599609375,
                    0.65972900390625,
                    0.554840087890625
                  ],
                  "trackId": 64161,
                  "eventIds": [
                    "7f1f755e-674e-459b-b332-e8eb8cb92329"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63720703125,
                        0.554840087890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7f1f755e-674e-459b-b332-e8eb8cb92329"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.801159143447876,
                  "bbox": [
                    0.3208465576171875,
                    0.5313720703125,
                    0.3808135986328125,
                    0.6092529296875
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.350830078125,
                        0.6092529296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298118.39453937,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445397.5634227,
                "source_stage": "native_completed",
                "source_stage_at": 1789445397.5753016,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445397.5190554,
                  "preprocess_output": 1789445397.5253341,
                  "infer_output": 1789445397.542707,
                  "consume_entered": 1789445397.5503302,
                  "native_completed": 1789445397.5753016,
                  "inference_frame_completed": 1789445397.563402
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6828,
                  "preprocess_output": 6828,
                  "infer_output": 6828,
                  "consume_entered": 6828,
                  "native_completed": 6828,
                  "inference_frame_completed": 4517
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 684.3,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298118372366641,
                "counts": {
                  "decoded": 6826,
                  "selected": 6826,
                  "preprocess": 6827,
                  "infer": 6824,
                  "native": 6827,
                  "result": 4517,
                  "publisher_submit": 4516
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298118266416733,
                  "selected": 1298118266432522,
                  "preprocess": 1298118272704593,
                  "infer": 1298118289961761,
                  "native": 1298118322678310,
                  "result": 1298118309516039,
                  "publisher_submit": 1298118310788081
                },
                "detail": true,
                "pending_samples": 13,
                "last_frame": {
                  "selected": [
                    6827,
                    683908242895
                  ],
                  "preprocess": [
                    6827,
                    683908242895
                  ],
                  "infer": [
                    6827,
                    683908242895
                  ],
                  "native": [
                    6827,
                    683908242895
                  ],
                  "result": [
                    6813,
                    682508242895
                  ],
                  "publisher_submit": [
                    6813,
                    682508242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 13,
                    "mean_ms": 6.975536538461538,
                    "p95_ms": 20.378719,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 13,
                    "mean_ms": 36.44610646153846,
                    "p95_ms": 178.850023,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 13,
                    "mean_ms": 25.84686776923077,
                    "p95_ms": 49.548653,
                    "max_ms": 49.548653
                  },
                  "tracking": {
                    "samples": 7,
                    "mean_ms": 180.5262587142857,
                    "p95_ms": 399.063999,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 7,
                    "mean_ms": 42.12139,
                    "p95_ms": 47.737468,
                    "max_ms": 47.737468
                  },
                  "scenario_cpu": {
                    "samples": 7,
                    "mean_ms": 0.9808055714285715,
                    "p95_ms": 1.577401,
                    "max_ms": 1.577401
                  },
                  "scenario": {
                    "samples": 7,
                    "mean_ms": 0.9992297142857143,
                    "p95_ms": 1.625431,
                    "max_ms": 1.625431
                  },
                  "result_work": {
                    "samples": 7,
                    "mean_ms": 191.20313457142856,
                    "p95_ms": 415.932215,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 7,
                    "mean_ms": 950.1398671428572,
                    "p95_ms": 995.615598,
                    "max_ms": 995.615598
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 177,
              "processed": 4517,
              "stale": 2301
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4517
            },
            "latest": {
              "fn": 6813,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298118.394562495,
            "entries": 4517,
            "length": 30,
            "last": "1789445397570-0",
            "pttl": 9892,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6813,
              "ptsNs": 682508242895,
              "ingestTimeWallMs": 1789445396107,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3172948188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469039647,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8822250962257385,
                  "bbox": [
                    0.5059356689453125,
                    0.3702392578125,
                    0.5380096435546875,
                    0.5335693359375
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.5335693359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8711463809013367,
                  "bbox": [
                    0.569427490234375,
                    0.43310546875,
                    0.656158447265625,
                    0.65283203125
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.61279296875,
                        0.65283203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.851212203502655,
                  "bbox": [
                    0.6403961181640625,
                    0.3658447265625,
                    0.6769866943359375,
                    0.5535888671875
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.65869140625,
                        0.5535888671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8180109858512878,
                  "bbox": [
                    0.596649169921875,
                    0.5584716796875,
                    0.698272705078125,
                    0.6671142578125
                  ],
                  "trackId": 19361,
                  "eventIds": [
                    "4e46394c-27c1-444d-b6dc-5309ef5ae96e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6474609375,
                        0.6671142578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "4e46394c-27c1-444d-b6dc-5309ef5ae96e"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7895584106445312,
                  "bbox": [
                    0.8375091552734375,
                    0.3507080078125,
                    0.8792877197265625,
                    0.6063232421875
                  ],
                  "trackId": 18161,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8583984375,
                        0.6063232421875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56433,
          "sent_status": 3175,
          "sent_frames": 53258,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298119.427582905,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298119.545029102,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445398.5732906,
                "source_stage": "decoded_frame_received",
                "source_stage_at": 1789445398.7482166,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445398.7482166,
                  "preprocess_output": 1789445398.6471913,
                  "infer_output": 1789445398.6746633,
                  "consume_entered": 1789445398.6775284,
                  "native_completed": 1789445398.6909835,
                  "inference_frame_completed": 1789445398.573239
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19275,
                  "preprocess_output": 19274,
                  "infer_output": 19274,
                  "consume_entered": 19274,
                  "native_completed": 19274,
                  "inference_frame_completed": 16855
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1928.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298119496901211,
                "counts": {
                  "decoded": 19274,
                  "selected": 19274,
                  "preprocess": 19268,
                  "infer": 19270,
                  "native": 19274,
                  "result": 16855,
                  "publisher_submit": 16855
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298119495575655,
                  "selected": 1298119495592868,
                  "preprocess": 1298119394518271,
                  "infer": 1298119421882047,
                  "native": 1298119438335672,
                  "result": 1298119314623612,
                  "publisher_submit": 1298119315619963
                },
                "detail": true,
                "pending_samples": 19,
                "last_frame": {
                  "selected": [
                    19274,
                    1927772199504
                  ],
                  "preprocess": [
                    19273,
                    1927672199504
                  ],
                  "infer": [
                    19273,
                    1927672199504
                  ],
                  "native": [
                    19273,
                    1927672199504
                  ],
                  "result": [
                    19260,
                    1926372199504
                  ],
                  "publisher_submit": [
                    19260,
                    1926372199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 25,
                    "mean_ms": 6.198647360000001,
                    "p95_ms": 16.683259,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 24,
                    "mean_ms": 29.06509625,
                    "p95_ms": 53.962288,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 24,
                    "mean_ms": 20.972939458333332,
                    "p95_ms": 31.799489,
                    "max_ms": 32.740457
                  },
                  "tracking": {
                    "samples": 14,
                    "mean_ms": 154.02002978571429,
                    "p95_ms": 239.280856,
                    "max_ms": 239.280856
                  },
                  "tracking_cpu": {
                    "samples": 14,
                    "mean_ms": 43.09079264285714,
                    "p95_ms": 49.278162,
                    "max_ms": 49.278162
                  },
                  "scenario_cpu": {
                    "samples": 14,
                    "mean_ms": 1.0003311428571429,
                    "p95_ms": 1.635902,
                    "max_ms": 1.635902
                  },
                  "scenario": {
                    "samples": 14,
                    "mean_ms": 1.0175275,
                    "p95_ms": 1.651956,
                    "max_ms": 1.651956
                  },
                  "result_work": {
                    "samples": 14,
                    "mean_ms": 174.74114464285714,
                    "p95_ms": 345.439063,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 14,
                    "mean_ms": 926.4262497142857,
                    "p95_ms": 975.690847,
                    "max_ms": 975.690847
                  },
                  "native_to_result": {
                    "samples": 7,
                    "mean_ms": 1069.7626844285714,
                    "p95_ms": 1162.035722,
                    "max_ms": 1162.035722
                  },
                  "result_to_publisher_submit": {
                    "samples": 7,
                    "mean_ms": 0.9715614285714286,
                    "p95_ms": 2.18583,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 531,
              "processed": 16855,
              "stale": 2407
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16855
            },
            "latest": {
              "fn": 19260,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298119.545082364,
            "entries": 16855,
            "length": 30,
            "last": "1789445398571-0",
            "pttl": 9737,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19260,
              "ptsNs": 1926372199504,
              "ingestTimeWallMs": 1789445397405,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045131473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445397239,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9244152307510376,
                  "bbox": [
                    0.894439697265625,
                    0.33251953125,
                    0.980560302734375,
                    0.77685546875
                  ],
                  "trackId": 63921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9375,
                        0.77685546875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.91804039478302,
                  "bbox": [
                    0.315216064453125,
                    0.50030517578125,
                    0.396697998046875,
                    0.60906982421875
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.35595703125,
                        0.60906982421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8904848694801331,
                  "bbox": [
                    0.5058822631835938,
                    0.36993408203125,
                    0.5370864868164062,
                    0.53338623046875
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53338623046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8624675869941711,
                  "bbox": [
                    0.6417388916015625,
                    0.36798095703125,
                    0.6795501708984375,
                    0.53826904296875
                  ],
                  "trackId": 63761,
                  "eventIds": [
                    "1d08e9ef-0479-4f82-8d67-37606009de85"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.53826904296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "1d08e9ef-0479-4f82-8d67-37606009de85"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.819604754447937,
                  "bbox": [
                    0.615631103515625,
                    0.446746826171875,
                    0.655853271484375,
                    0.554229736328125
                  ],
                  "trackId": 64161,
                  "eventIds": [
                    "7f1f755e-674e-459b-b332-e8eb8cb92329"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.554229736328125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7f1f755e-674e-459b-b332-e8eb8cb92329"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298119.621710132,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445398.7444701,
                "source_stage": "infer_output",
                "source_stage_at": 1789445398.848041,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445398.820112,
                  "preprocess_output": 1789445398.8231242,
                  "infer_output": 1789445398.848041,
                  "consume_entered": 1789445398.7536817,
                  "native_completed": 1789445398.7783008,
                  "inference_frame_completed": 1789445398.7444484
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6841,
                  "preprocess_output": 6841,
                  "infer_output": 6841,
                  "consume_entered": 6840,
                  "native_completed": 6840,
                  "inference_frame_completed": 4525
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 685.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298119596208975,
                "counts": {
                  "decoded": 6839,
                  "selected": 6839,
                  "preprocess": 6840,
                  "infer": 6837,
                  "native": 6839,
                  "result": 4525,
                  "publisher_submit": 4524
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298119567449825,
                  "selected": 1298119567473693,
                  "preprocess": 1298119570424411,
                  "infer": 1298119595339788,
                  "native": 1298119525585741,
                  "result": 1298119490947940,
                  "publisher_submit": 1298119491840733
                },
                "detail": true,
                "pending_samples": 18,
                "last_frame": {
                  "selected": [
                    6840,
                    685208242895
                  ],
                  "preprocess": [
                    6840,
                    685208242895
                  ],
                  "infer": [
                    6840,
                    685208242895
                  ],
                  "native": [
                    6839,
                    685108242895
                  ],
                  "result": [
                    6828,
                    684008242895
                  ],
                  "publisher_submit": [
                    6828,
                    684008242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 26,
                    "mean_ms": 5.202745576923077,
                    "p95_ms": 15.658474,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 26,
                    "mean_ms": 31.91534680769231,
                    "p95_ms": 44.398277,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 25,
                    "mean_ms": 25.01993616,
                    "p95_ms": 34.405332,
                    "max_ms": 49.548653
                  },
                  "tracking": {
                    "samples": 15,
                    "mean_ms": 158.34292486666666,
                    "p95_ms": 399.063999,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 15,
                    "mean_ms": 41.901312600000004,
                    "p95_ms": 49.467318,
                    "max_ms": 49.467318
                  },
                  "scenario_cpu": {
                    "samples": 15,
                    "mean_ms": 0.9780470666666666,
                    "p95_ms": 1.577401,
                    "max_ms": 1.577401
                  },
                  "scenario": {
                    "samples": 15,
                    "mean_ms": 0.9930409333333333,
                    "p95_ms": 1.625431,
                    "max_ms": 1.625431
                  },
                  "result_work": {
                    "samples": 15,
                    "mean_ms": 167.52775566666665,
                    "p95_ms": 415.932215,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 15,
                    "mean_ms": 943.3061548,
                    "p95_ms": 995.615598,
                    "max_ms": 995.615598
                  },
                  "native_to_result": {
                    "samples": 8,
                    "mean_ms": 1076.1920985,
                    "p95_ms": 1172.329024,
                    "max_ms": 1172.329024
                  },
                  "result_to_publisher_submit": {
                    "samples": 8,
                    "mean_ms": 0.76241125,
                    "p95_ms": 0.940152,
                    "max_ms": 0.940152
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 177,
              "processed": 4525,
              "stale": 2304
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4525
            },
            "latest": {
              "fn": 6828,
              "det": 9,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298119.62174291,
            "entries": 4525,
            "length": 30,
            "last": "1789445398746-0",
            "pttl": 9842,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6828,
              "ptsNs": 684008242895,
              "ingestTimeWallMs": 1789445397651,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173083188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469041147,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9170058369636536,
                  "bbox": [
                    0.53997802734375,
                    0.3369140625,
                    0.60357666015625,
                    0.65234375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.57177734375,
                        0.65234375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9099069833755493,
                  "bbox": [
                    0.600189208984375,
                    0.492431640625,
                    0.667388916015625,
                    0.666748046875
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6337890625,
                        0.666748046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8806945085525513,
                  "bbox": [
                    0.5056915283203125,
                    0.3699951171875,
                    0.5372772216796875,
                    0.5333251953125
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.5333251953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8635067343711853,
                  "bbox": [
                    0.6426849365234375,
                    0.36798095703125,
                    0.6786041259765625,
                    0.54364013671875
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.54364013671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8010035157203674,
                  "bbox": [
                    0.842498779296875,
                    0.3482666015625,
                    0.888946533203125,
                    0.5994873046875
                  ],
                  "trackId": 18161,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.86572265625,
                        0.5994873046875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6088847517967224,
                  "bbox": [
                    0.61956787109375,
                    0.447845458984375,
                    0.66168212890625,
                    0.531646728515625
                  ],
                  "trackId": 19521,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.640625,
                        0.531646728515625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56450,
          "sent_status": 3177,
          "sent_frames": 53273,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298120.653320908,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298120.678559829,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445399.8848524,
                "source_stage": "native_completed",
                "source_stage_at": 1789445399.8996904,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445399.855466,
                  "preprocess_output": 1789445399.8570266,
                  "infer_output": 1789445399.8820593,
                  "consume_entered": 1789445399.886859,
                  "native_completed": 1789445399.8996904,
                  "inference_frame_completed": 1789445399.8848329
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19286,
                  "preprocess_output": 19286,
                  "infer_output": 19286,
                  "consume_entered": 19286,
                  "native_completed": 19286,
                  "inference_frame_completed": 16862
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1929.1,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298120671883545,
                "counts": {
                  "decoded": 19285,
                  "selected": 19285,
                  "preprocess": 19280,
                  "infer": 19282,
                  "native": 19286,
                  "result": 16862,
                  "publisher_submit": 16862
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298120602759425,
                  "selected": 1298120602808238,
                  "preprocess": 1298120604383430,
                  "infer": 1298120629389208,
                  "native": 1298120647051822,
                  "result": 1298120631493361,
                  "publisher_submit": 1298120632230636
                },
                "detail": true,
                "pending_samples": 23,
                "last_frame": {
                  "selected": [
                    19285,
                    1928872199504
                  ],
                  "preprocess": [
                    19285,
                    1928872199504
                  ],
                  "infer": [
                    19285,
                    1928872199504
                  ],
                  "native": [
                    19285,
                    1928872199504
                  ],
                  "result": [
                    19273,
                    1927672199504
                  ],
                  "publisher_submit": [
                    19273,
                    1927672199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 37,
                    "mean_ms": 6.450918810810811,
                    "p95_ms": 16.772143,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 36,
                    "mean_ms": 27.140114194444443,
                    "p95_ms": 53.962288,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 36,
                    "mean_ms": 22.098089555555557,
                    "p95_ms": 33.600536,
                    "max_ms": 37.151862
                  },
                  "tracking": {
                    "samples": 21,
                    "mean_ms": 161.89208714285712,
                    "p95_ms": 239.280856,
                    "max_ms": 261.161961
                  },
                  "tracking_cpu": {
                    "samples": 21,
                    "mean_ms": 43.66466985714286,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 21,
                    "mean_ms": 1.0105394285714284,
                    "p95_ms": 1.570625,
                    "max_ms": 1.635902
                  },
                  "scenario": {
                    "samples": 21,
                    "mean_ms": 1.0260021428571429,
                    "p95_ms": 1.584559,
                    "max_ms": 1.651956
                  },
                  "result_work": {
                    "samples": 21,
                    "mean_ms": 178.70347423809523,
                    "p95_ms": 270.813909,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 21,
                    "mean_ms": 936.0654194285714,
                    "p95_ms": 975.183633,
                    "max_ms": 975.690847
                  },
                  "native_to_result": {
                    "samples": 14,
                    "mean_ms": 1104.782777,
                    "p95_ms": 1225.217517,
                    "max_ms": 1225.217517
                  },
                  "result_to_publisher_submit": {
                    "samples": 14,
                    "mean_ms": 0.9493095,
                    "p95_ms": 2.18583,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 531,
              "processed": 16862,
              "stale": 2413
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16862
            },
            "latest": {
              "fn": 19273,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298120.678588809,
            "entries": 16862,
            "length": 30,
            "last": "1789445399892-0",
            "pttl": 9940,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19273,
              "ptsNs": 1927672199504,
              "ingestTimeWallMs": 1789445398645,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045248473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445398539,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9450961351394653,
                  "bbox": [
                    0.823516845703125,
                    0.3204345703125,
                    0.912811279296875,
                    0.8074951171875
                  ],
                  "trackId": 63921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8681640625,
                        0.8074951171875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9263036847114563,
                  "bbox": [
                    0.327484130859375,
                    0.495086669921875,
                    0.399078369140625,
                    0.606475830078125
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.36328125,
                        0.606475830078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8891444206237793,
                  "bbox": [
                    0.5059585571289062,
                    0.370361328125,
                    0.5370101928710938,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8656789064407349,
                  "bbox": [
                    0.640960693359375,
                    0.36865234375,
                    0.679351806640625,
                    0.53955078125
                  ],
                  "trackId": 63761,
                  "eventIds": [
                    "1d08e9ef-0479-4f82-8d67-37606009de85"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.53955078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "1d08e9ef-0479-4f82-8d67-37606009de85"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8265718221664429,
                  "bbox": [
                    0.6153564453125,
                    0.44744873046875,
                    0.6561279296875,
                    0.55450439453125
                  ],
                  "trackId": 64161,
                  "eventIds": [
                    "7f1f755e-674e-459b-b332-e8eb8cb92329"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.55450439453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7f1f755e-674e-459b-b332-e8eb8cb92329"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298120.717131044,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445399.8453104,
                "source_stage": "native_completed",
                "source_stage_at": 1789445399.9492524,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445399.9116702,
                  "preprocess_output": 1789445399.9128873,
                  "infer_output": 1789445399.9306347,
                  "consume_entered": 1789445399.9326875,
                  "native_completed": 1789445399.9492524,
                  "inference_frame_completed": 1789445399.8452845
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6852,
                  "preprocess_output": 6852,
                  "infer_output": 6852,
                  "consume_entered": 6852,
                  "native_completed": 6852,
                  "inference_frame_completed": 4532
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 686.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298120707210564,
                "counts": {
                  "decoded": 6850,
                  "selected": 6850,
                  "preprocess": 6851,
                  "infer": 6848,
                  "native": 6851,
                  "result": 4532,
                  "publisher_submit": 4531
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298120659017039,
                  "selected": 1298120659037653,
                  "preprocess": 1298120660254633,
                  "infer": 1298120677943467,
                  "native": 1298120696633156,
                  "result": 1298120591778062,
                  "publisher_submit": 1298120592671856
                },
                "detail": true,
                "pending_samples": 22,
                "last_frame": {
                  "selected": [
                    6851,
                    686308242895
                  ],
                  "preprocess": [
                    6851,
                    686308242895
                  ],
                  "infer": [
                    6851,
                    686308242895
                  ],
                  "native": [
                    6851,
                    686308242895
                  ],
                  "result": [
                    6839,
                    685108242895
                  ],
                  "publisher_submit": [
                    6839,
                    685108242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 37,
                    "mean_ms": 4.548968810810811,
                    "p95_ms": 15.658474,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 37,
                    "mean_ms": 29.622378324324323,
                    "p95_ms": 44.398277,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 37,
                    "mean_ms": 25.767212756756756,
                    "p95_ms": 49.548653,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 22,
                    "mean_ms": 155.08212027272728,
                    "p95_ms": 194.240777,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 22,
                    "mean_ms": 41.796856636363636,
                    "p95_ms": 48.83215,
                    "max_ms": 49.467318
                  },
                  "scenario_cpu": {
                    "samples": 22,
                    "mean_ms": 1.087968681818182,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 22,
                    "mean_ms": 1.1029242727272728,
                    "p95_ms": 1.625431,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 22,
                    "mean_ms": 164.13586454545452,
                    "p95_ms": 203.015204,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 22,
                    "mean_ms": 947.7208285909092,
                    "p95_ms": 995.615598,
                    "max_ms": 996.186248
                  },
                  "native_to_result": {
                    "samples": 15,
                    "mean_ms": 1095.5873330666666,
                    "p95_ms": 1199.514476,
                    "max_ms": 1199.514476
                  },
                  "result_to_publisher_submit": {
                    "samples": 15,
                    "mean_ms": 0.7644650666666667,
                    "p95_ms": 0.940152,
                    "max_ms": 0.940152
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 177,
              "processed": 4532,
              "stale": 2308
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4532
            },
            "latest": {
              "fn": 6839,
              "det": 7,
              "persons": 4,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298120.717161196,
            "entries": 4532,
            "length": 30,
            "last": "1789445399854-0",
            "pttl": 9846,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6839,
              "ptsNs": 685108242895,
              "ingestTimeWallMs": 1789445398724,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173182188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469042247,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9365176558494568,
                  "bbox": [
                    0.56329345703125,
                    0.332763671875,
                    0.63006591796875,
                    0.629638671875
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5966796875,
                        0.629638671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8916224837303162,
                  "bbox": [
                    0.500640869140625,
                    0.341552734375,
                    0.555999755859375,
                    0.657958984375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5283203125,
                        0.657958984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8472108244895935,
                  "bbox": [
                    0.642547607421875,
                    0.36846923828125,
                    0.678741455078125,
                    0.53875732421875
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.53875732421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7876046895980835,
                  "bbox": [
                    0.616912841796875,
                    0.44769287109375,
                    0.657501220703125,
                    0.55523681640625
                  ],
                  "trackId": 19521,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63720703125,
                        0.55523681640625
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56465,
          "sent_status": 3177,
          "sent_frames": 53288,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298121.757489677,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298121.815565663,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445400.9372194,
                "source_stage": "native_completed",
                "source_stage_at": 1789445401.0021048,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445400.9566379,
                  "preprocess_output": 1789445400.9575384,
                  "infer_output": 1789445400.982859,
                  "consume_entered": 1789445400.9873126,
                  "native_completed": 1789445401.0021048,
                  "inference_frame_completed": 1789445400.937199
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19297,
                  "preprocess_output": 19297,
                  "infer_output": 19297,
                  "consume_entered": 19297,
                  "native_completed": 19297,
                  "inference_frame_completed": 16869
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1930.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298121773270506,
                "counts": {
                  "decoded": 19296,
                  "selected": 19296,
                  "preprocess": 19291,
                  "infer": 19293,
                  "native": 19297,
                  "result": 16869,
                  "publisher_submit": 16869
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298121703928864,
                  "selected": 1298121703950956,
                  "preprocess": 1298121704904776,
                  "infer": 1298121730187986,
                  "native": 1298121749463612,
                  "result": 1298121683405742,
                  "publisher_submit": 1298121684592969
                },
                "detail": true,
                "pending_samples": 27,
                "last_frame": {
                  "selected": [
                    19296,
                    1929972199504
                  ],
                  "preprocess": [
                    19296,
                    1929972199504
                  ],
                  "infer": [
                    19296,
                    1929972199504
                  ],
                  "native": [
                    19296,
                    1929972199504
                  ],
                  "result": [
                    19284,
                    1928772199504
                  ],
                  "publisher_submit": [
                    19284,
                    1928772199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 48,
                    "mean_ms": 6.313199208333333,
                    "p95_ms": 16.683259,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 47,
                    "mean_ms": 26.87283704255319,
                    "p95_ms": 52.697041,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 47,
                    "mean_ms": 22.600718489361704,
                    "p95_ms": 33.231506,
                    "max_ms": 37.151862
                  },
                  "tracking": {
                    "samples": 28,
                    "mean_ms": 156.7920077857143,
                    "p95_ms": 239.280856,
                    "max_ms": 261.161961
                  },
                  "tracking_cpu": {
                    "samples": 28,
                    "mean_ms": 43.150322964285714,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 28,
                    "mean_ms": 0.9962251785714286,
                    "p95_ms": 1.570625,
                    "max_ms": 1.635902
                  },
                  "scenario": {
                    "samples": 28,
                    "mean_ms": 1.010778607142857,
                    "p95_ms": 1.584559,
                    "max_ms": 1.651956
                  },
                  "result_work": {
                    "samples": 28,
                    "mean_ms": 171.5165530357143,
                    "p95_ms": 270.813909,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 28,
                    "mean_ms": 939.6730312142857,
                    "p95_ms": 975.690847,
                    "max_ms": 988.336258
                  },
                  "native_to_result": {
                    "samples": 21,
                    "mean_ms": 1105.3372500952382,
                    "p95_ms": 1193.157689,
                    "max_ms": 1225.217517
                  },
                  "result_to_publisher_submit": {
                    "samples": 21,
                    "mean_ms": 0.8943967619047619,
                    "p95_ms": 1.299757,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 532,
              "processed": 16869,
              "stale": 2417
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16869
            },
            "latest": {
              "fn": 19284,
              "det": 10,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298121.815665939,
            "entries": 16869,
            "length": 30,
            "last": "1789445400950-0",
            "pttl": 9849,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19284,
              "ptsNs": 1928772199504,
              "ingestTimeWallMs": 1789445399743,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045347473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445399639,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9427180886268616,
                  "bbox": [
                    0.66455078125,
                    0.30615234375,
                    0.79052734375,
                    0.82373046875
                  ],
                  "trackId": 63921,
                  "eventIds": [
                    "39418e98-7874-4052-afd1-1f08bd0919e1"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7275390625,
                        0.82373046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "39418e98-7874-4052-afd1-1f08bd0919e1"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9388007521629333,
                  "bbox": [
                    0.33013916015625,
                    0.40985107421875,
                    0.39984130859375,
                    0.60772705078125
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.364990234375,
                        0.60772705078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8934953808784485,
                  "bbox": [
                    0.5059432983398438,
                    0.3702392578125,
                    0.5370254516601562,
                    0.5330810546875
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.5330810546875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.87364661693573,
                  "bbox": [
                    0.6406097412109375,
                    0.3682861328125,
                    0.6797027587890625,
                    0.5389404296875
                  ],
                  "trackId": 63761,
                  "eventIds": [
                    "1d08e9ef-0479-4f82-8d67-37606009de85"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.5389404296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "1d08e9ef-0479-4f82-8d67-37606009de85"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7212526202201843,
                  "bbox": [
                    0.6160888671875,
                    0.44976806640625,
                    0.6632080078125,
                    0.55511474609375
                  ],
                  "trackId": 64161,
                  "eventIds": [
                    "7f1f755e-674e-459b-b332-e8eb8cb92329"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6396484375,
                        0.55511474609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "7f1f755e-674e-459b-b332-e8eb8cb92329"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298121.877738638,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445400.9843125,
                "source_stage": "native_completed",
                "source_stage_at": 1789445401.0486724,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445401.0069516,
                  "preprocess_output": 1789445401.0081637,
                  "infer_output": 1789445401.023894,
                  "consume_entered": 1789445401.0284295,
                  "native_completed": 1789445401.0486724,
                  "inference_frame_completed": 1789445400.9842932
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6863,
                  "preprocess_output": 6863,
                  "infer_output": 6863,
                  "consume_entered": 6863,
                  "native_completed": 6863,
                  "inference_frame_completed": 4540
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 687.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298121858635493,
                "counts": {
                  "decoded": 6861,
                  "selected": 6861,
                  "preprocess": 6862,
                  "infer": 6859,
                  "native": 6862,
                  "result": 4540,
                  "publisher_submit": 4539
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298121754303223,
                  "selected": 1298121754319137,
                  "preprocess": 1298121755539289,
                  "infer": 1298121771161373,
                  "native": 1298121795888592,
                  "result": 1298121730950654,
                  "publisher_submit": 1298121731692222
                },
                "detail": true,
                "pending_samples": 25,
                "last_frame": {
                  "selected": [
                    6862,
                    687408242895
                  ],
                  "preprocess": [
                    6862,
                    687408242895
                  ],
                  "infer": [
                    6862,
                    687408242895
                  ],
                  "native": [
                    6862,
                    687408242895
                  ],
                  "result": [
                    6850,
                    686208242895
                  ],
                  "publisher_submit": [
                    6850,
                    686208242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 48,
                    "mean_ms": 4.118970375,
                    "p95_ms": 11.735157,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 48,
                    "mean_ms": 28.673146791666667,
                    "p95_ms": 42.775406,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 48,
                    "mean_ms": 25.00314572916667,
                    "p95_ms": 37.679098,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 30,
                    "mean_ms": 148.401603,
                    "p95_ms": 194.240777,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 30,
                    "mean_ms": 41.92018086666667,
                    "p95_ms": 48.83215,
                    "max_ms": 49.467318
                  },
                  "scenario_cpu": {
                    "samples": 30,
                    "mean_ms": 1.0679963000000001,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 30,
                    "mean_ms": 1.0825211666666668,
                    "p95_ms": 1.625431,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 30,
                    "mean_ms": 158.20779893333335,
                    "p95_ms": 203.015204,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 30,
                    "mean_ms": 940.2131837999999,
                    "p95_ms": 995.615598,
                    "max_ms": 996.186248
                  },
                  "native_to_result": {
                    "samples": 23,
                    "mean_ms": 1087.7541522173913,
                    "p95_ms": 1175.974127,
                    "max_ms": 1199.514476
                  },
                  "result_to_publisher_submit": {
                    "samples": 23,
                    "mean_ms": 0.8106447826086957,
                    "p95_ms": 1.058703,
                    "max_ms": 1.146763
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 178,
              "processed": 4540,
              "stale": 2312
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4540
            },
            "latest": {
              "fn": 6850,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298121.8777806,
            "entries": 4540,
            "length": 30,
            "last": "1789445400987-0",
            "pttl": 9831,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6850,
              "ptsNs": 686208242895,
              "ingestTimeWallMs": 1789445399809,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173281188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469043347,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9122800230979919,
                  "bbox": [
                    0.5508880615234375,
                    0.3284912109375,
                    0.6024322509765625,
                    0.6300048828125
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.57666015625,
                        0.6300048828125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9105454087257385,
                  "bbox": [
                    0.435028076171875,
                    0.3375244140625,
                    0.496124267578125,
                    0.6429443359375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.465576171875,
                        0.6429443359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8957052826881409,
                  "bbox": [
                    0.5051116943359375,
                    0.3704833984375,
                    0.5368804931640625,
                    0.5343017578125
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52099609375,
                        0.5343017578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8563323616981506,
                  "bbox": [
                    0.6416168212890625,
                    0.368408203125,
                    0.6786956787109375,
                    0.534912109375
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.534912109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.822474479675293,
                  "bbox": [
                    0.6145172119140625,
                    0.44671630859375,
                    0.6569671630859375,
                    0.55426025390625
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.55426025390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56480,
          "sent_status": 3177,
          "sent_frames": 53303,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298122.90520619,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298122.977312117,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445402.2117875,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789445402.2117598,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445402.1464946,
                  "preprocess_output": 1789445402.1480155,
                  "infer_output": 1789445402.1713722,
                  "consume_entered": 1789445402.173285,
                  "native_completed": 1789445402.1875992,
                  "inference_frame_completed": 1789445402.2117598
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19309,
                  "preprocess_output": 19309,
                  "infer_output": 19309,
                  "consume_entered": 19309,
                  "native_completed": 19309,
                  "inference_frame_completed": 16877
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1931.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298122965464527,
                "counts": {
                  "decoded": 19308,
                  "selected": 19308,
                  "preprocess": 19303,
                  "infer": 19305,
                  "native": 19309,
                  "result": 16877,
                  "publisher_submit": 16877
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298122893852760,
                  "selected": 1298122893870678,
                  "preprocess": 1298122895388795,
                  "infer": 1298122918677596,
                  "native": 1298122934919618,
                  "result": 1298122957481371,
                  "publisher_submit": 1298122959141721
                },
                "detail": true,
                "pending_samples": 31,
                "last_frame": {
                  "selected": [
                    19308,
                    1931172199504
                  ],
                  "preprocess": [
                    19308,
                    1931172199504
                  ],
                  "infer": [
                    19308,
                    1931172199504
                  ],
                  "native": [
                    19308,
                    1931172199504
                  ],
                  "result": [
                    19297,
                    1930072199504
                  ],
                  "publisher_submit": [
                    19297,
                    1930072199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 60,
                    "mean_ms": 5.7865273833333335,
                    "p95_ms": 16.020881,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 59,
                    "mean_ms": 26.587878644067796,
                    "p95_ms": 52.697041,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 59,
                    "mean_ms": 21.827334881355934,
                    "p95_ms": 33.231506,
                    "max_ms": 37.151862
                  },
                  "tracking": {
                    "samples": 36,
                    "mean_ms": 154.73969541666665,
                    "p95_ms": 239.280856,
                    "max_ms": 261.161961
                  },
                  "tracking_cpu": {
                    "samples": 36,
                    "mean_ms": 43.32838730555555,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 36,
                    "mean_ms": 0.986333,
                    "p95_ms": 1.635902,
                    "max_ms": 1.779918
                  },
                  "scenario": {
                    "samples": 36,
                    "mean_ms": 1.0011315833333334,
                    "p95_ms": 1.651956,
                    "max_ms": 1.811845
                  },
                  "result_work": {
                    "samples": 36,
                    "mean_ms": 168.6867501388889,
                    "p95_ms": 270.813909,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 36,
                    "mean_ms": 940.0474294166667,
                    "p95_ms": 988.336258,
                    "max_ms": 993.169202
                  },
                  "native_to_result": {
                    "samples": 29,
                    "mean_ms": 1105.3576476206897,
                    "p95_ms": 1193.157689,
                    "max_ms": 1225.217517
                  },
                  "result_to_publisher_submit": {
                    "samples": 29,
                    "mean_ms": 0.9176914827586207,
                    "p95_ms": 1.66035,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 532,
              "processed": 16877,
              "stale": 2422
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16877
            },
            "latest": {
              "fn": 19297,
              "det": 6,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298122.977343113,
            "entries": 16877,
            "length": 30,
            "last": "1789445402219-0",
            "pttl": 9959,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19297,
              "ptsNs": 1930072199504,
              "ingestTimeWallMs": 1789445401054,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045464473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445400939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9323301911354065,
                  "bbox": [
                    0.582183837890625,
                    0.310546875,
                    0.684417724609375,
                    0.7822265625
                  ],
                  "trackId": 63921,
                  "eventIds": [
                    "39418e98-7874-4052-afd1-1f08bd0919e1"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63330078125,
                        0.7822265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "39418e98-7874-4052-afd1-1f08bd0919e1"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9046505093574524,
                  "bbox": [
                    0.3417205810546875,
                    0.3350830078125,
                    0.3990020751953125,
                    0.6097412109375
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.370361328125,
                        0.6097412109375
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8769509196281433,
                  "bbox": [
                    0.5059356689453125,
                    0.37005615234375,
                    0.5370330810546875,
                    0.53277587890625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53277587890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298123.064124424,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445402.1279445,
                "source_stage": "native_completed",
                "source_stage_at": 1789445402.2541955,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445402.2156477,
                  "preprocess_output": 1789445402.2194133,
                  "infer_output": 1789445402.2376294,
                  "consume_entered": 1789445402.2400272,
                  "native_completed": 1789445402.2541955,
                  "inference_frame_completed": 1789445402.1279273
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6875,
                  "preprocess_output": 6875,
                  "infer_output": 6875,
                  "consume_entered": 6875,
                  "native_completed": 6875,
                  "inference_frame_completed": 4548
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 688.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298123024587506,
                "counts": {
                  "decoded": 6873,
                  "selected": 6873,
                  "preprocess": 6874,
                  "infer": 6871,
                  "native": 6874,
                  "result": 4548,
                  "publisher_submit": 4547
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298122962968178,
                  "selected": 1298122962996105,
                  "preprocess": 1298122966752654,
                  "infer": 1298122984916194,
                  "native": 1298123001548071,
                  "result": 1298122874649298,
                  "publisher_submit": 1298122875322880
                },
                "detail": true,
                "pending_samples": 29,
                "last_frame": {
                  "selected": [
                    6874,
                    688608242895
                  ],
                  "preprocess": [
                    6874,
                    688608242895
                  ],
                  "infer": [
                    6874,
                    688608242895
                  ],
                  "native": [
                    6874,
                    688608242895
                  ],
                  "result": [
                    6862,
                    687408242895
                  ],
                  "publisher_submit": [
                    6862,
                    687408242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 60,
                    "mean_ms": 4.304503866666666,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 60,
                    "mean_ms": 27.384352449999998,
                    "p95_ms": 36.889203,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 60,
                    "mean_ms": 24.759948533333336,
                    "p95_ms": 37.679098,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 38,
                    "mean_ms": 144.72624552631578,
                    "p95_ms": 194.240777,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 38,
                    "mean_ms": 41.33503244736842,
                    "p95_ms": 48.83215,
                    "max_ms": 49.467318
                  },
                  "scenario_cpu": {
                    "samples": 38,
                    "mean_ms": 1.0483425263157895,
                    "p95_ms": 1.584744,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 38,
                    "mean_ms": 1.0623491315789475,
                    "p95_ms": 1.625431,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 38,
                    "mean_ms": 154.47569292105263,
                    "p95_ms": 203.015204,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 38,
                    "mean_ms": 938.6980731578948,
                    "p95_ms": 995.615598,
                    "max_ms": 996.186248
                  },
                  "native_to_result": {
                    "samples": 31,
                    "mean_ms": 1083.025922935484,
                    "p95_ms": 1175.974127,
                    "max_ms": 1199.514476
                  },
                  "result_to_publisher_submit": {
                    "samples": 31,
                    "mean_ms": 0.8591285483870967,
                    "p95_ms": 1.146763,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 178,
              "processed": 4548,
              "stale": 2315
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4549
            },
            "latest": {
              "fn": 6863,
              "det": 6,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298123.064177793,
            "entries": 4549,
            "length": 30,
            "last": "1789445402297-0",
            "pttl": 9957,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6863,
              "ptsNs": 687508242895,
              "ingestTimeWallMs": 1789445401118,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173398188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469044647,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9078037738800049,
                  "bbox": [
                    0.61566162109375,
                    0.33349609375,
                    0.67340087890625,
                    0.6171875
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64453125,
                        0.6171875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8846386671066284,
                  "bbox": [
                    0.50555419921875,
                    0.37005615234375,
                    0.53741455078125,
                    0.53326416015625
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53326416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8786270022392273,
                  "bbox": [
                    0.3744964599609375,
                    0.3349609375,
                    0.4267730712890625,
                    0.62255859375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.400634765625,
                        0.62255859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56497,
          "sent_status": 3179,
          "sent_frames": 53318,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298124.089295654,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298124.230270276,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445403.2356496,
                "source_stage": "consume_entered",
                "source_stage_at": 1789445403.3781238,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445403.349025,
                  "preprocess_output": 1789445403.3568048,
                  "infer_output": 1789445403.3757944,
                  "consume_entered": 1789445403.3781238,
                  "native_completed": 1789445403.302072,
                  "inference_frame_completed": 1789445403.235622
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19321,
                  "preprocess_output": 19321,
                  "infer_output": 19321,
                  "consume_entered": 19321,
                  "native_completed": 19320,
                  "inference_frame_completed": 16884
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1932.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298124173305315,
                "counts": {
                  "decoded": 19320,
                  "selected": 19320,
                  "preprocess": 19315,
                  "infer": 19317,
                  "native": 19320,
                  "result": 16884,
                  "publisher_submit": 16884
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298124096383178,
                  "selected": 1298124096399253,
                  "preprocess": 1298124104153801,
                  "infer": 1298124123136787,
                  "native": 1298124049441672,
                  "result": 1298123982085817,
                  "publisher_submit": 1298123982996238
                },
                "detail": true,
                "pending_samples": 36,
                "last_frame": {
                  "selected": [
                    19320,
                    1932372199504
                  ],
                  "preprocess": [
                    19320,
                    1932372199504
                  ],
                  "infer": [
                    19320,
                    1932372199504
                  ],
                  "native": [
                    19319,
                    1932272199504
                  ],
                  "result": [
                    19308,
                    1931172199504
                  ],
                  "publisher_submit": [
                    19308,
                    1931172199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 72,
                    "mean_ms": 5.76090825,
                    "p95_ms": 16.683259,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 71,
                    "mean_ms": 26.573792014084507,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 70,
                    "mean_ms": 22.37160672857143,
                    "p95_ms": 33.600536,
                    "max_ms": 41.268759
                  },
                  "tracking": {
                    "samples": 43,
                    "mean_ms": 151.78816139534885,
                    "p95_ms": 225.585137,
                    "max_ms": 261.161961
                  },
                  "tracking_cpu": {
                    "samples": 43,
                    "mean_ms": 43.245475,
                    "p95_ms": 50.560623,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 43,
                    "mean_ms": 1.0171518139534883,
                    "p95_ms": 1.635902,
                    "max_ms": 2.536024
                  },
                  "scenario": {
                    "samples": 43,
                    "mean_ms": 1.0328623720930232,
                    "p95_ms": 1.651956,
                    "max_ms": 2.576248
                  },
                  "result_work": {
                    "samples": 43,
                    "mean_ms": 164.9526238139535,
                    "p95_ms": 245.251706,
                    "max_ms": 345.439063
                  },
                  "queue": {
                    "samples": 43,
                    "mean_ms": 940.9862798604652,
                    "p95_ms": 976.224513,
                    "max_ms": 993.169202
                  },
                  "native_to_result": {
                    "samples": 36,
                    "mean_ms": 1102.7935691666667,
                    "p95_ms": 1193.157689,
                    "max_ms": 1225.217517
                  },
                  "result_to_publisher_submit": {
                    "samples": 36,
                    "mean_ms": 0.9305798333333334,
                    "p95_ms": 1.791788,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 532,
              "processed": 16884,
              "stale": 2425
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16885
            },
            "latest": {
              "fn": 19309,
              "det": 7,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298124.230373787,
            "entries": 16885,
            "length": 30,
            "last": "1789445403448-0",
            "pttl": 9934,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19309,
              "ptsNs": 1931272199504,
              "ingestTimeWallMs": 1789445402245,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045572473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445402139,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9175984263420105,
                  "bbox": [
                    0.605682373046875,
                    0.334228515625,
                    0.691192626953125,
                    0.722412109375
                  ],
                  "trackId": 63921,
                  "eventIds": [
                    "39418e98-7874-4052-afd1-1f08bd0919e1"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6484375,
                        0.722412109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "39418e98-7874-4052-afd1-1f08bd0919e1"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8951566815376282,
                  "bbox": [
                    0.36688232421875,
                    0.3369140625,
                    0.41485595703125,
                    0.609375
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.390869140625,
                        0.609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8818185925483704,
                  "bbox": [
                    0.506195068359375,
                    0.37017822265625,
                    0.536773681640625,
                    0.53265380859375
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53265380859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298124.281199101,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445403.4185698,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445403.5196729,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445403.5141735,
                  "preprocess_output": 1789445403.5196729,
                  "infer_output": 1789445403.445305,
                  "consume_entered": 1789445403.4485612,
                  "native_completed": 1789445403.4646232,
                  "inference_frame_completed": 1789445403.4185226
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6888,
                  "preprocess_output": 6888,
                  "infer_output": 6887,
                  "consume_entered": 6887,
                  "native_completed": 6887,
                  "inference_frame_completed": 4557
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 690.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298124270692775,
                "counts": {
                  "decoded": 6886,
                  "selected": 6886,
                  "preprocess": 6887,
                  "infer": 6883,
                  "native": 6886,
                  "result": 4557,
                  "publisher_submit": 4556
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298124261507302,
                  "selected": 1298124261535659,
                  "preprocess": 1298124267043093,
                  "infer": 1298124192654463,
                  "native": 1298124211776613,
                  "result": 1298124164807870,
                  "publisher_submit": 1298124165896870
                },
                "detail": true,
                "pending_samples": 33,
                "last_frame": {
                  "selected": [
                    6887,
                    689908242895
                  ],
                  "preprocess": [
                    6887,
                    689908242895
                  ],
                  "infer": [
                    6886,
                    689808242895
                  ],
                  "native": [
                    6886,
                    689808242895
                  ],
                  "result": [
                    6875,
                    688708242895
                  ],
                  "publisher_submit": [
                    6875,
                    688708242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 73,
                    "mean_ms": 4.172381794520548,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 72,
                    "mean_ms": 27.306793694444444,
                    "p95_ms": 42.775406,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 72,
                    "mean_ms": 24.837533291666666,
                    "p95_ms": 38.03145,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 47,
                    "mean_ms": 142.30484338297873,
                    "p95_ms": 194.240777,
                    "max_ms": 399.063999
                  },
                  "tracking_cpu": {
                    "samples": 47,
                    "mean_ms": 41.148859,
                    "p95_ms": 47.737468,
                    "max_ms": 49.467318
                  },
                  "scenario_cpu": {
                    "samples": 47,
                    "mean_ms": 1.0444408510638297,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 47,
                    "mean_ms": 1.0659514680851065,
                    "p95_ms": 1.625431,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 47,
                    "mean_ms": 152.2494000425532,
                    "p95_ms": 202.71234,
                    "max_ms": 415.932215
                  },
                  "queue": {
                    "samples": 47,
                    "mean_ms": 940.789854106383,
                    "p95_ms": 996.186248,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 40,
                    "mean_ms": 1086.509200325,
                    "p95_ms": 1172.329024,
                    "max_ms": 1199.514476
                  },
                  "result_to_publisher_submit": {
                    "samples": 40,
                    "mean_ms": 0.86916425,
                    "p95_ms": 1.146763,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 178,
              "processed": 4557,
              "stale": 2319
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4557
            },
            "latest": {
              "fn": 6875,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298124.281265655,
            "entries": 4557,
            "length": 30,
            "last": "1789445403444-0",
            "pttl": 9880,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6875,
              "ptsNs": 688708242895,
              "ingestTimeWallMs": 1789445402307,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173506188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469045847,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9284088015556335,
                  "bbox": [
                    0.33062744140625,
                    0.486083984375,
                    0.40618896484375,
                    0.613525390625
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.368408203125,
                        0.613525390625
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8938665986061096,
                  "bbox": [
                    0.7220916748046875,
                    0.3419189453125,
                    0.7613067626953125,
                    0.6165771484375
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.74169921875,
                        0.6165771484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8881781101226807,
                  "bbox": [
                    0.5059051513671875,
                    0.37005615234375,
                    0.5370635986328125,
                    0.53326416015625
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53326416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8587185740470886,
                  "bbox": [
                    0.6414031982421875,
                    0.36834716796875,
                    0.6789093017578125,
                    0.53692626953125
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.53692626953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7316341996192932,
                  "bbox": [
                    0.615234375,
                    0.448699951171875,
                    0.65625,
                    0.554229736328125
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.554229736328125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56515,
          "sent_status": 3181,
          "sent_frames": 53334,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298125.31339162,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298125.389425565,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445404.5753767,
                "source_stage": "native_completed",
                "source_stage_at": 1789445404.6170008,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445404.5462205,
                  "preprocess_output": 1789445404.5503554,
                  "infer_output": 1789445404.5793724,
                  "consume_entered": 1789445404.5826054,
                  "native_completed": 1789445404.6170008,
                  "inference_frame_completed": 1789445404.575354
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19333,
                  "preprocess_output": 19333,
                  "infer_output": 19333,
                  "consume_entered": 19333,
                  "native_completed": 19333,
                  "inference_frame_completed": 16890
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1933.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298125379805981,
                "counts": {
                  "decoded": 19332,
                  "selected": 19332,
                  "preprocess": 19327,
                  "infer": 19329,
                  "native": 19333,
                  "result": 16890,
                  "publisher_submit": 16890
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298125293573332,
                  "selected": 1298125293592549,
                  "preprocess": 1298125297729027,
                  "infer": 1298125326689952,
                  "native": 1298125364256380,
                  "result": 1298125321710519,
                  "publisher_submit": 1298125322744622
                },
                "detail": true,
                "pending_samples": 42,
                "last_frame": {
                  "selected": [
                    19332,
                    1933572199504
                  ],
                  "preprocess": [
                    19332,
                    1933572199504
                  ],
                  "infer": [
                    19332,
                    1933572199504
                  ],
                  "native": [
                    19332,
                    1933572199504
                  ],
                  "result": [
                    19320,
                    1932372199504
                  ],
                  "publisher_submit": [
                    19320,
                    1932372199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 84,
                    "mean_ms": 5.704097154761905,
                    "p95_ms": 16.020881,
                    "max_ms": 21.430174
                  },
                  "preprocess_to_infer": {
                    "samples": 83,
                    "mean_ms": 27.001643421686747,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 83,
                    "mean_ms": 25.40999818072289,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 49,
                    "mean_ms": 159.2727264489796,
                    "p95_ms": 239.280856,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 49,
                    "mean_ms": 43.84183451020409,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 49,
                    "mean_ms": 1.0030064489795918,
                    "p95_ms": 1.635902,
                    "max_ms": 2.536024
                  },
                  "scenario": {
                    "samples": 49,
                    "mean_ms": 1.0181709591836734,
                    "p95_ms": 1.651956,
                    "max_ms": 2.576248
                  },
                  "result_work": {
                    "samples": 49,
                    "mean_ms": 171.99038959183673,
                    "p95_ms": 270.813909,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 49,
                    "mean_ms": 942.0966997959183,
                    "p95_ms": 988.336258,
                    "max_ms": 993.169202
                  },
                  "native_to_result": {
                    "samples": 42,
                    "mean_ms": 1111.1169647857143,
                    "p95_ms": 1193.157689,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 42,
                    "mean_ms": 0.9185810952380953,
                    "p95_ms": 1.66035,
                    "max_ms": 2.18583
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 532,
              "processed": 16890,
              "stale": 2432
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16890
            },
            "latest": {
              "fn": 19320,
              "det": 9,
              "persons": 4,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298125.389457578,
            "entries": 16890,
            "length": 30,
            "last": "1789445404578-0",
            "pttl": 9896,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19320,
              "ptsNs": 1932372199504,
              "ingestTimeWallMs": 1789445403348,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045671473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445403239,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9366336464881897,
                  "bbox": [
                    0.40728759765625,
                    0.3380126953125,
                    0.45794677734375,
                    0.5994873046875
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.4326171875,
                        0.5994873046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9089417457580566,
                  "bbox": [
                    0.6322021484375,
                    0.44683837890625,
                    0.7017822265625,
                    0.69183349609375
                  ],
                  "trackId": 63921,
                  "eventIds": [
                    "39418e98-7874-4052-afd1-1f08bd0919e1"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6669921875,
                        0.69183349609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "39418e98-7874-4052-afd1-1f08bd0919e1"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8810019493103027,
                  "bbox": [
                    0.5067291259765625,
                    0.370361328125,
                    0.5372161865234375,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5822535157203674,
                  "bbox": [
                    0.616546630859375,
                    0.44580078125,
                    0.654937744140625,
                    0.54931640625
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.54931640625
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298125.470473192,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445404.6908517,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789445404.6908262,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445404.6203454,
                  "preprocess_output": 1789445404.6239033,
                  "infer_output": 1789445404.6436498,
                  "consume_entered": 1789445404.6457944,
                  "native_completed": 1789445404.675114,
                  "inference_frame_completed": 1789445404.6908262
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6899,
                  "preprocess_output": 6899,
                  "infer_output": 6899,
                  "consume_entered": 6899,
                  "native_completed": 6899,
                  "inference_frame_completed": 4563
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 691.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298125462188286,
                "counts": {
                  "decoded": 6897,
                  "selected": 6897,
                  "preprocess": 6898,
                  "infer": 6895,
                  "native": 6898,
                  "result": 4563,
                  "publisher_submit": 4562
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298125367689778,
                  "selected": 1298125367712978,
                  "preprocess": 1298125371261497,
                  "infer": 1298125390924116,
                  "native": 1298125422450007,
                  "result": 1298125437258326,
                  "publisher_submit": 1298125438213478
                },
                "detail": true,
                "pending_samples": 38,
                "last_frame": {
                  "selected": [
                    6898,
                    691008242895
                  ],
                  "preprocess": [
                    6898,
                    691008242895
                  ],
                  "infer": [
                    6898,
                    691008242895
                  ],
                  "native": [
                    6898,
                    691008242895
                  ],
                  "result": [
                    6887,
                    689908242895
                  ],
                  "publisher_submit": [
                    6887,
                    689908242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 84,
                    "mean_ms": 4.117947595238095,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 84,
                    "mean_ms": 27.82638986904762,
                    "p95_ms": 42.775406,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 84,
                    "mean_ms": 25.11498932142857,
                    "p95_ms": 37.679098,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 53,
                    "mean_ms": 149.1021359245283,
                    "p95_ms": 195.36269,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 53,
                    "mean_ms": 41.634511,
                    "p95_ms": 48.83215,
                    "max_ms": 51.570062
                  },
                  "scenario_cpu": {
                    "samples": 53,
                    "mean_ms": 1.0544129433962266,
                    "p95_ms": 1.584744,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 53,
                    "mean_ms": 1.0749822641509434,
                    "p95_ms": 1.745304,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 53,
                    "mean_ms": 158.94776396226416,
                    "p95_ms": 205.948081,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 53,
                    "mean_ms": 941.6204120754717,
                    "p95_ms": 996.186248,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 46,
                    "mean_ms": 1094.8107624782608,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 46,
                    "mean_ms": 0.8612210869565218,
                    "p95_ms": 1.146763,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 178,
              "processed": 4563,
              "stale": 2325
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4563
            },
            "latest": {
              "fn": 6887,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298125.470513278,
            "entries": 4563,
            "length": 30,
            "last": "1789445404695-0",
            "pttl": 9948,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6887,
              "ptsNs": 689908242895,
              "ingestTimeWallMs": 1789445403513,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173614188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469047047,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8914335370063782,
                  "bbox": [
                    0.505859375,
                    0.37005615234375,
                    0.537109375,
                    0.53326416015625
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53326416015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8893368244171143,
                  "bbox": [
                    0.796295166015625,
                    0.3375244140625,
                    0.853118896484375,
                    0.6390380859375
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.82470703125,
                        0.6390380859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "a4ad1eb8-6431-4357-99cd-8dd82b738c2f"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8840392827987671,
                  "bbox": [
                    0.32122802734375,
                    0.53680419921875,
                    0.39849853515625,
                    0.61163330078125
                  ],
                  "trackId": 17921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.35986328125,
                        0.61163330078125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8705973029136658,
                  "bbox": [
                    0.6410064697265625,
                    0.3680419921875,
                    0.6802825927734375,
                    0.5377197265625
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.5377197265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7943849563598633,
                  "bbox": [
                    0.6150360107421875,
                    0.448089599609375,
                    0.6554718017578125,
                    0.553863525390625
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.553863525390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56527,
          "sent_status": 3181,
          "sent_frames": 53346,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298126.495901727,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298126.584120014,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445405.7268524,
                "source_stage": "native_completed",
                "source_stage_at": 1789445405.7951782,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445405.7440956,
                  "preprocess_output": 1789445405.7456412,
                  "infer_output": 1789445405.7624135,
                  "consume_entered": 1789445405.777955,
                  "native_completed": 1789445405.7951782,
                  "inference_frame_completed": 1789445405.7268288
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19345,
                  "preprocess_output": 19345,
                  "infer_output": 19345,
                  "consume_entered": 19345,
                  "native_completed": 19345,
                  "inference_frame_completed": 16896
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1935.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298126571962350,
                "counts": {
                  "decoded": 19344,
                  "selected": 19344,
                  "preprocess": 19339,
                  "infer": 19341,
                  "native": 19345,
                  "result": 16896,
                  "publisher_submit": 16896
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298126491452426,
                  "selected": 1298126491470610,
                  "preprocess": 1298126492983051,
                  "infer": 1298126509694780,
                  "native": 1298126542512244,
                  "result": 1298126473270058,
                  "publisher_submit": 1298126474209386
                },
                "detail": true,
                "pending_samples": 48,
                "last_frame": {
                  "selected": [
                    19344,
                    1934772199504
                  ],
                  "preprocess": [
                    19344,
                    1934772199504
                  ],
                  "infer": [
                    19344,
                    1934772199504
                  ],
                  "native": [
                    19344,
                    1934772199504
                  ],
                  "result": [
                    19332,
                    1933572199504
                  ],
                  "publisher_submit": [
                    19332,
                    1933572199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 96,
                    "mean_ms": 5.686477822916667,
                    "p95_ms": 16.772143,
                    "max_ms": 22.189239
                  },
                  "preprocess_to_infer": {
                    "samples": 95,
                    "mean_ms": 26.898547368421053,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 95,
                    "mean_ms": 25.571016715789476,
                    "p95_ms": 37.839506,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 55,
                    "mean_ms": 161.1972810909091,
                    "p95_ms": 239.280856,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 55,
                    "mean_ms": 44.48230003636364,
                    "p95_ms": 53.19601,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 55,
                    "mean_ms": 1.0190368181818181,
                    "p95_ms": 1.705075,
                    "max_ms": 2.536024
                  },
                  "scenario": {
                    "samples": 55,
                    "mean_ms": 1.0348074363636364,
                    "p95_ms": 1.74291,
                    "max_ms": 2.576248
                  },
                  "result_work": {
                    "samples": 55,
                    "mean_ms": 174.05000398181818,
                    "p95_ms": 270.813909,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 55,
                    "mean_ms": 938.6943448909091,
                    "p95_ms": 988.336258,
                    "max_ms": 993.169202
                  },
                  "native_to_result": {
                    "samples": 48,
                    "mean_ms": 1111.3914742291668,
                    "p95_ms": 1225.217517,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 48,
                    "mean_ms": 1.1853856041666668,
                    "p95_ms": 2.150268,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 534,
              "processed": 16896,
              "stale": 2438
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16896
            },
            "latest": {
              "fn": 19332,
              "det": 10,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298126.584151803,
            "entries": 16896,
            "length": 30,
            "last": "1789445405733-0",
            "pttl": 9856,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19332,
              "ptsNs": 1933572199504,
              "ingestTimeWallMs": 1789445404546,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045779473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445404439,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8951566815376282,
                  "bbox": [
                    0.44580078125,
                    0.334716796875,
                    0.49072265625,
                    0.590087890625
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.46826171875,
                        0.590087890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8755743503570557,
                  "bbox": [
                    0.5060272216796875,
                    0.371337890625,
                    0.5379180908203125,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8335957527160645,
                  "bbox": [
                    0.6160888671875,
                    0.44525146484375,
                    0.6553955078125,
                    0.55230712890625
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.55230712890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7844842076301575,
                  "bbox": [
                    0.6550445556640625,
                    0.449737548828125,
                    0.6906585693359375,
                    0.535614013671875
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6728515625,
                        0.535614013671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6462369561195374,
                  "bbox": [
                    0.628173828125,
                    0.577423095703125,
                    0.710693359375,
                    0.692108154296875
                  ],
                  "trackId": 64641,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66943359375,
                        0.692108154296875
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298126.690573054,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445405.8201144,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445405.854094,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445405.849813,
                  "preprocess_output": 1789445405.854094,
                  "infer_output": 1789445405.7470343,
                  "consume_entered": 1789445405.748876,
                  "native_completed": 1789445405.7662868,
                  "inference_frame_completed": 1789445405.8200896
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6911,
                  "preprocess_output": 6911,
                  "infer_output": 6910,
                  "consume_entered": 6910,
                  "native_completed": 6910,
                  "inference_frame_completed": 4571
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 692.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298126632548388,
                "counts": {
                  "decoded": 6909,
                  "selected": 6909,
                  "preprocess": 6910,
                  "infer": 6906,
                  "native": 6909,
                  "result": 4571,
                  "publisher_submit": 4570
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298126597044810,
                  "selected": 1298126597093386,
                  "preprocess": 1298126601378298,
                  "infer": 1298126494383120,
                  "native": 1298126513639534,
                  "result": 1298126566649387,
                  "publisher_submit": 1298126567478978
                },
                "detail": true,
                "pending_samples": 42,
                "last_frame": {
                  "selected": [
                    6910,
                    692208242895
                  ],
                  "preprocess": [
                    6910,
                    692208242895
                  ],
                  "infer": [
                    6909,
                    692108242895
                  ],
                  "native": [
                    6909,
                    692108242895
                  ],
                  "result": [
                    6898,
                    691008242895
                  ],
                  "publisher_submit": [
                    6898,
                    691008242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 96,
                    "mean_ms": 4.014232302083333,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 95,
                    "mean_ms": 27.405980694736844,
                    "p95_ms": 42.775406,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 95,
                    "mean_ms": 24.918222231578945,
                    "p95_ms": 37.679098,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 61,
                    "mean_ms": 146.9086280819672,
                    "p95_ms": 194.240777,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 61,
                    "mean_ms": 41.74409804918033,
                    "p95_ms": 48.83215,
                    "max_ms": 53.216219
                  },
                  "scenario_cpu": {
                    "samples": 61,
                    "mean_ms": 1.0472615901639344,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 61,
                    "mean_ms": 1.07705031147541,
                    "p95_ms": 1.745304,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 61,
                    "mean_ms": 156.5628628852459,
                    "p95_ms": 203.015204,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 61,
                    "mean_ms": 942.5525409016393,
                    "p95_ms": 995.615598,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 54,
                    "mean_ms": 1095.975156574074,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 54,
                    "mean_ms": 0.8632675185185186,
                    "p95_ms": 1.229307,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 178,
              "processed": 4571,
              "stale": 2329
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4571
            },
            "latest": {
              "fn": 6898,
              "det": 7,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298126.690619543,
            "entries": 4571,
            "length": 30,
            "last": "1789445405826-0",
            "pttl": 9849,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6898,
              "ptsNs": 691008242895,
              "ingestTimeWallMs": 1789445404620,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173713188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469048147,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9282788634300232,
                  "bbox": [
                    0.8484649658203125,
                    0.3389892578125,
                    0.9093475341796875,
                    0.6795654296875
                  ],
                  "trackId": 19281,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.87890625,
                        0.6795654296875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8931231498718262,
                  "bbox": [
                    0.5059890747070312,
                    0.370361328125,
                    0.5369796752929688,
                    0.533447265625
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8576489090919495,
                  "bbox": [
                    0.640899658203125,
                    0.3680419921875,
                    0.679412841796875,
                    0.5343017578125
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.5343017578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8127187490463257,
                  "bbox": [
                    0.32098388671875,
                    0.536712646484375,
                    0.39825439453125,
                    0.611724853515625
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.359619140625,
                        0.611724853515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7846492528915405,
                  "bbox": [
                    0.6152496337890625,
                    0.448455810546875,
                    0.6572113037109375,
                    0.554473876953125
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63623046875,
                        0.554473876953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56543,
          "sent_status": 3183,
          "sent_frames": 53360,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298127.726262261,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298127.765034201,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445406.941093,
                "source_stage": "native_completed",
                "source_stage_at": 1789445406.9846308,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445406.9441566,
                  "preprocess_output": 1789445406.9450765,
                  "infer_output": 1789445406.9671748,
                  "consume_entered": 1789445406.970052,
                  "native_completed": 1789445406.9846308,
                  "inference_frame_completed": 1789445406.9410734
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19357,
                  "preprocess_output": 19357,
                  "infer_output": 19357,
                  "consume_entered": 19357,
                  "native_completed": 19357,
                  "inference_frame_completed": 16903
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1936.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298127759598250,
                "counts": {
                  "decoded": 19356,
                  "selected": 19356,
                  "preprocess": 19351,
                  "infer": 19353,
                  "native": 19357,
                  "result": 16903,
                  "publisher_submit": 16903
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298127691519472,
                  "selected": 1298127691536193,
                  "preprocess": 1298127692447067,
                  "infer": 1298127714488630,
                  "native": 1298127731947163,
                  "result": 1298127687712768,
                  "publisher_submit": 1298127688466012
                },
                "detail": true,
                "pending_samples": 53,
                "last_frame": {
                  "selected": [
                    19356,
                    1935972199504
                  ],
                  "preprocess": [
                    19356,
                    1935972199504
                  ],
                  "infer": [
                    19356,
                    1935972199504
                  ],
                  "native": [
                    19356,
                    1935972199504
                  ],
                  "result": [
                    19344,
                    1934772199504
                  ],
                  "publisher_submit": [
                    19344,
                    1934772199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 108,
                    "mean_ms": 5.628763462962962,
                    "p95_ms": 16.683259,
                    "max_ms": 22.189239
                  },
                  "preprocess_to_infer": {
                    "samples": 107,
                    "mean_ms": 26.75540258878505,
                    "p95_ms": 39.699196,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 107,
                    "mean_ms": 25.470624607476637,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 62,
                    "mean_ms": 161.6590658387097,
                    "p95_ms": 237.474446,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 62,
                    "mean_ms": 44.59784382258064,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 62,
                    "mean_ms": 1.0217381451612904,
                    "p95_ms": 1.635902,
                    "max_ms": 2.536024
                  },
                  "scenario": {
                    "samples": 62,
                    "mean_ms": 1.0372110161290322,
                    "p95_ms": 1.651956,
                    "max_ms": 2.576248
                  },
                  "result_work": {
                    "samples": 62,
                    "mean_ms": 173.91640346774193,
                    "p95_ms": 245.251706,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 62,
                    "mean_ms": 938.9930161451613,
                    "p95_ms": 989.721342,
                    "max_ms": 993.169202
                  },
                  "native_to_result": {
                    "samples": 55,
                    "mean_ms": 1111.9776167454545,
                    "p95_ms": 1225.217517,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 55,
                    "mean_ms": 1.1253562727272728,
                    "p95_ms": 2.150268,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 535,
              "processed": 16903,
              "stale": 2443
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16903
            },
            "latest": {
              "fn": 19344,
              "det": 10,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298127.765063757,
            "entries": 16903,
            "length": 30,
            "last": "1789445406962-0",
            "pttl": 9917,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19344,
              "ptsNs": 1934772199504,
              "ingestTimeWallMs": 1789445405743,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045887473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445405639,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9029524326324463,
                  "bbox": [
                    0.4555816650390625,
                    0.34014892578125,
                    0.4990081787109375,
                    0.58758544921875
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.477294921875,
                        0.58758544921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8712559342384338,
                  "bbox": [
                    0.5060882568359375,
                    0.37127685546875,
                    0.5378570556640625,
                    0.53302001953125
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53302001953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7846492528915405,
                  "bbox": [
                    0.65399169921875,
                    0.449188232421875,
                    0.68878173828125,
                    0.532257080078125
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67138671875,
                        0.532257080078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7786493301391602,
                  "bbox": [
                    0.6160125732421875,
                    0.44720458984375,
                    0.6544952392578125,
                    0.55279541015625
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.55279541015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "9",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5663183927536011,
                  "bbox": [
                    0.62408447265625,
                    0.590057373046875,
                    0.71087646484375,
                    0.694122314453125
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66748046875,
                        0.694122314453125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298127.840429169,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445407.0726535,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789445407.0726335,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445407.0103974,
                  "preprocess_output": 1789445407.017891,
                  "infer_output": 1789445407.0476565,
                  "consume_entered": 1789445407.049981,
                  "native_completed": 1789445407.0663717,
                  "inference_frame_completed": 1789445407.0726335
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6923,
                  "preprocess_output": 6923,
                  "infer_output": 6923,
                  "consume_entered": 6923,
                  "native_completed": 6923,
                  "inference_frame_completed": 4579
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 693.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298127830324099,
                "counts": {
                  "decoded": 6921,
                  "selected": 6921,
                  "preprocess": 6922,
                  "infer": 6919,
                  "native": 6922,
                  "result": 4579,
                  "publisher_submit": 4578
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298127757689847,
                  "selected": 1298127757736874,
                  "preprocess": 1298127765221636,
                  "infer": 1298127794857241,
                  "native": 1298127813677584,
                  "result": 1298127819128157,
                  "publisher_submit": 1298127820024942
                },
                "detail": true,
                "pending_samples": 46,
                "last_frame": {
                  "selected": [
                    6922,
                    693408242895
                  ],
                  "preprocess": [
                    6922,
                    693408242895
                  ],
                  "infer": [
                    6922,
                    693408242895
                  ],
                  "native": [
                    6922,
                    693408242895
                  ],
                  "result": [
                    6910,
                    692208242895
                  ],
                  "publisher_submit": [
                    6910,
                    692208242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 108,
                    "mean_ms": 4.080922657407407,
                    "p95_ms": 11.780067,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 108,
                    "mean_ms": 27.198760407407406,
                    "p95_ms": 37.022788,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 108,
                    "mean_ms": 25.10603987037037,
                    "p95_ms": 39.166632,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 69,
                    "mean_ms": 145.71960865217392,
                    "p95_ms": 194.240777,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 69,
                    "mean_ms": 42.02832557971015,
                    "p95_ms": 48.83215,
                    "max_ms": 53.216219
                  },
                  "scenario_cpu": {
                    "samples": 69,
                    "mean_ms": 1.0611671014492754,
                    "p95_ms": 1.584744,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 69,
                    "mean_ms": 1.0893996811594204,
                    "p95_ms": 1.745304,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 69,
                    "mean_ms": 156.4829278985507,
                    "p95_ms": 203.015204,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 69,
                    "mean_ms": 942.4655117391304,
                    "p95_ms": 995.615598,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 62,
                    "mean_ms": 1096.2640511774193,
                    "p95_ms": 1173.374228,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 62,
                    "mean_ms": 0.8908832580645161,
                    "p95_ms": 1.371328,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 178,
              "processed": 4579,
              "stale": 2334
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4579
            },
            "latest": {
              "fn": 6910,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298127.840458954,
            "entries": 4579,
            "length": 30,
            "last": "1789445407078-0",
            "pttl": 9959,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6910,
              "ptsNs": 692208242895,
              "ingestTimeWallMs": 1789445405849,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173821188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469049347,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8877896666526794,
                  "bbox": [
                    0.5054779052734375,
                    0.37030029296875,
                    0.5374908447265625,
                    0.53350830078125
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53350830078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8802834153175354,
                  "bbox": [
                    0.888580322265625,
                    0.328857421875,
                    0.962005615234375,
                    0.711181640625
                  ],
                  "trackId": 19281,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.92529296875,
                        0.711181640625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8594279289245605,
                  "bbox": [
                    0.6412811279296875,
                    0.3680419921875,
                    0.6800079345703125,
                    0.5377197265625
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.5377197265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.851706326007843,
                  "bbox": [
                    0.32000732421875,
                    0.52960205078125,
                    0.39825439453125,
                    0.61004638671875
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.359130859375,
                        0.61004638671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8214741349220276,
                  "bbox": [
                    0.6151275634765625,
                    0.446929931640625,
                    0.6563568115234375,
                    0.555023193359375
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.555023193359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56558,
          "sent_status": 3183,
          "sent_frames": 53375,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298128.868372514,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298128.89356489,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445408.124204,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789445408.124182,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445408.0535655,
                  "preprocess_output": 1789445408.0547533,
                  "infer_output": 1789445408.0842245,
                  "consume_entered": 1789445408.0877638,
                  "native_completed": 1789445408.1034188,
                  "inference_frame_completed": 1789445408.124182
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19368,
                  "preprocess_output": 19368,
                  "infer_output": 19368,
                  "consume_entered": 19368,
                  "native_completed": 19368,
                  "inference_frame_completed": 16911
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1937.3,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298128885957389,
                "counts": {
                  "decoded": 19367,
                  "selected": 19367,
                  "preprocess": 19362,
                  "infer": 19364,
                  "native": 19368,
                  "result": 16911,
                  "publisher_submit": 16911
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298128800883185,
                  "selected": 1298128800916297,
                  "preprocess": 1298128801960269,
                  "infer": 1298128831533505,
                  "native": 1298128850766664,
                  "result": 1298128870856769,
                  "publisher_submit": 1298128871574799
                },
                "detail": true,
                "pending_samples": 56,
                "last_frame": {
                  "selected": [
                    19367,
                    1937072199504
                  ],
                  "preprocess": [
                    19367,
                    1937072199504
                  ],
                  "infer": [
                    19367,
                    1937072199504
                  ],
                  "native": [
                    19367,
                    1937072199504
                  ],
                  "result": [
                    19356,
                    1935972199504
                  ],
                  "publisher_submit": [
                    19356,
                    1935972199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 119,
                    "mean_ms": 5.562729453781513,
                    "p95_ms": 16.683259,
                    "max_ms": 22.189239
                  },
                  "preprocess_to_infer": {
                    "samples": 118,
                    "mean_ms": 26.90294401694915,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 118,
                    "mean_ms": 25.028350847457627,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 70,
                    "mean_ms": 159.09594655714287,
                    "p95_ms": 237.474446,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 70,
                    "mean_ms": 44.425787514285716,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 70,
                    "mean_ms": 1.0465229571428571,
                    "p95_ms": 1.705075,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 70,
                    "mean_ms": 1.0661739571428572,
                    "p95_ms": 1.74291,
                    "max_ms": 2.987309
                  },
                  "result_work": {
                    "samples": 70,
                    "mean_ms": 170.8836986285714,
                    "p95_ms": 245.251706,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 70,
                    "mean_ms": 940.4877859571428,
                    "p95_ms": 990.502004,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 63,
                    "mean_ms": 1110.7970769682538,
                    "p95_ms": 1193.157689,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 63,
                    "mean_ms": 1.0863135555555554,
                    "p95_ms": 1.791788,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 536,
              "processed": 16911,
              "stale": 2447
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16911
            },
            "latest": {
              "fn": 19356,
              "det": 11,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298128.893592622,
            "entries": 16911,
            "length": 30,
            "last": "1789445408128-0",
            "pttl": 9950,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19356,
              "ptsNs": 1935972199504,
              "ingestTimeWallMs": 1789445406943,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1045995473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445406839,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9153559803962708,
                  "bbox": [
                    0.445098876953125,
                    0.335693359375,
                    0.493865966796875,
                    0.597900390625
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.469482421875,
                        0.597900390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8814108967781067,
                  "bbox": [
                    0.5062103271484375,
                    0.3714599609375,
                    0.5377349853515625,
                    0.5333251953125
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.5333251953125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8728901743888855,
                  "bbox": [
                    0.622650146484375,
                    0.58905029296875,
                    0.711334228515625,
                    0.69805908203125
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6669921875,
                        0.69805908203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7981867790222168,
                  "bbox": [
                    0.6163177490234375,
                    0.446044921875,
                    0.6541900634765625,
                    0.551025390625
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63525390625,
                        0.551025390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7861306667327881,
                  "bbox": [
                    0.6554412841796875,
                    0.44964599609375,
                    0.6902618408203125,
                    0.53277587890625
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6728515625,
                        0.53277587890625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                },
                {
                  "objectRef": "10",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5561283826828003,
                  "bbox": [
                    0.6303558349609375,
                    0.46063232421875,
                    0.6635894775390625,
                    0.55499267578125
                  ],
                  "trackId": 64561,
                  "eventIds": [
                    "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64697265625,
                        0.55499267578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298128.977777809,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445408.0383346,
                "source_stage": "native_completed",
                "source_stage_at": 1789445408.1697052,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445408.127407,
                  "preprocess_output": 1789445408.1293356,
                  "infer_output": 1789445408.14622,
                  "consume_entered": 1789445408.1490538,
                  "native_completed": 1789445408.1697052,
                  "inference_frame_completed": 1789445408.0383215
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6934,
                  "preprocess_output": 6934,
                  "infer_output": 6934,
                  "consume_entered": 6934,
                  "native_completed": 6934,
                  "inference_frame_completed": 4585
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 694.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298128963735008,
                "counts": {
                  "decoded": 6932,
                  "selected": 6932,
                  "preprocess": 6933,
                  "infer": 6930,
                  "native": 6933,
                  "result": 4585,
                  "publisher_submit": 4584
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298128874743383,
                  "selected": 1298128874763259,
                  "preprocess": 1298128876677344,
                  "infer": 1298128893553402,
                  "native": 1298128917043781,
                  "result": 1298128784550969,
                  "publisher_submit": 1298128785718641
                },
                "detail": true,
                "pending_samples": 51,
                "last_frame": {
                  "selected": [
                    6933,
                    694508242895
                  ],
                  "preprocess": [
                    6933,
                    694508242895
                  ],
                  "infer": [
                    6933,
                    694508242895
                  ],
                  "native": [
                    6933,
                    694508242895
                  ],
                  "result": [
                    6920,
                    693208242895
                  ],
                  "publisher_submit": [
                    6920,
                    693208242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 119,
                    "mean_ms": 4.155024260504201,
                    "p95_ms": 12.496937,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 119,
                    "mean_ms": 26.77836422689076,
                    "p95_ms": 37.022788,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 119,
                    "mean_ms": 24.68164660504202,
                    "p95_ms": 39.166632,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 76,
                    "mean_ms": 146.51416543421053,
                    "p95_ms": 195.36269,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 76,
                    "mean_ms": 42.412176631578944,
                    "p95_ms": 49.467318,
                    "max_ms": 56.786077
                  },
                  "scenario_cpu": {
                    "samples": 76,
                    "mean_ms": 1.0522317631578948,
                    "p95_ms": 1.584744,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 76,
                    "mean_ms": 1.078964657894737,
                    "p95_ms": 1.745304,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 75,
                    "mean_ms": 156.79071161333334,
                    "p95_ms": 205.948081,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 75,
                    "mean_ms": 944.3283383333334,
                    "p95_ms": 995.615598,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 68,
                    "mean_ms": 1098.4601294411764,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 68,
                    "mean_ms": 0.8972513676470588,
                    "p95_ms": 1.371328,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 178,
              "processed": 4585,
              "stale": 2337
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4586
            },
            "latest": {
              "fn": 6922,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298128.97782832,
            "entries": 4586,
            "length": 30,
            "last": "1789445408223-0",
            "pttl": 9953,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6922,
              "ptsNs": 693408242895,
              "ingestTimeWallMs": 1789445407010,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3173929188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469050547,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9244152307510376,
                  "bbox": [
                    0.894439697265625,
                    0.33251953125,
                    0.980560302734375,
                    0.77685546875
                  ],
                  "trackId": 19281,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.9375,
                        0.77685546875
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.91804039478302,
                  "bbox": [
                    0.315216064453125,
                    0.50030517578125,
                    0.396697998046875,
                    0.60906982421875
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.35595703125,
                        0.60906982421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8904848694801331,
                  "bbox": [
                    0.5058822631835938,
                    0.36993408203125,
                    0.5370864868164062,
                    0.53338623046875
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53338623046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8624675869941711,
                  "bbox": [
                    0.6417388916015625,
                    0.36798095703125,
                    0.6795501708984375,
                    0.53826904296875
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66064453125,
                        0.53826904296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.819604754447937,
                  "bbox": [
                    0.615631103515625,
                    0.446746826171875,
                    0.655853271484375,
                    0.554229736328125
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.554229736328125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56573,
          "sent_status": 3183,
          "sent_frames": 53390,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298130.020424217,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298130.072197716,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445409.1834822,
                "source_stage": "native_completed",
                "source_stage_at": 1789445409.2976594,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445409.2461896,
                  "preprocess_output": 1789445409.2476196,
                  "infer_output": 1789445409.2775373,
                  "consume_entered": 1789445409.2819476,
                  "native_completed": 1789445409.2976594,
                  "inference_frame_completed": 1789445409.1834505
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19380,
                  "preprocess_output": 19380,
                  "infer_output": 19380,
                  "consume_entered": 19380,
                  "native_completed": 19380,
                  "inference_frame_completed": 16918
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1938.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298130059097802,
                "counts": {
                  "decoded": 19379,
                  "selected": 19379,
                  "preprocess": 19374,
                  "infer": 19376,
                  "native": 19380,
                  "result": 16918,
                  "publisher_submit": 16918
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298129993502470,
                  "selected": 1298129993531569,
                  "preprocess": 1298129994932537,
                  "infer": 1298130024875484,
                  "native": 1298130044976756,
                  "result": 1298129929986658,
                  "publisher_submit": 1298129930837255
                },
                "detail": true,
                "pending_samples": 61,
                "last_frame": {
                  "selected": [
                    19379,
                    1938272199504
                  ],
                  "preprocess": [
                    19379,
                    1938272199504
                  ],
                  "infer": [
                    19379,
                    1938272199504
                  ],
                  "native": [
                    19379,
                    1938272199504
                  ],
                  "result": [
                    19367,
                    1937072199504
                  ],
                  "publisher_submit": [
                    19367,
                    1937072199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 131,
                    "mean_ms": 5.65640738167939,
                    "p95_ms": 16.020881,
                    "max_ms": 22.189239
                  },
                  "preprocess_to_infer": {
                    "samples": 130,
                    "mean_ms": 26.80198160769231,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 130,
                    "mean_ms": 24.692079284615385,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 77,
                    "mean_ms": 157.5181458961039,
                    "p95_ms": 237.474446,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 77,
                    "mean_ms": 44.20655903896104,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 77,
                    "mean_ms": 1.0705426103896103,
                    "p95_ms": 1.705075,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 77,
                    "mean_ms": 1.1137111168831169,
                    "p95_ms": 1.811845,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 77,
                    "mean_ms": 169.05713551948054,
                    "p95_ms": 245.251706,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 77,
                    "mean_ms": 942.1980104025974,
                    "p95_ms": 992.484102,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 70,
                    "mean_ms": 1109.7235395285713,
                    "p95_ms": 1193.509506,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 70,
                    "mean_ms": 1.0877618857142857,
                    "p95_ms": 2.150268,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 536,
              "processed": 16918,
              "stale": 2450
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16918
            },
            "latest": {
              "fn": 19367,
              "det": 11,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298130.072233045,
            "entries": 16918,
            "length": 30,
            "last": "1789445409186-0",
            "pttl": 9837,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19367,
              "ptsNs": 1937072199504,
              "ingestTimeWallMs": 1789445408053,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046094473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445407939,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9314625263214111,
                  "bbox": [
                    0.4154052734375,
                    0.33447265625,
                    0.4810791015625,
                    0.6025390625
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.4482421875,
                        0.6025390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8836382627487183,
                  "bbox": [
                    0.5065383911132812,
                    0.36944580078125,
                    0.5374069213867188,
                    0.53387451171875
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53387451171875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8562121987342834,
                  "bbox": [
                    0.6234130859375,
                    0.588958740234375,
                    0.7115478515625,
                    0.698150634765625
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66748046875,
                        0.698150634765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7981867790222168,
                  "bbox": [
                    0.6160430908203125,
                    0.4453125,
                    0.6554412841796875,
                    0.5517578125
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.5517578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "6",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7884203195571899,
                  "bbox": [
                    0.6558380126953125,
                    0.449462890625,
                    0.6898651123046875,
                    0.531494140625
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6728515625,
                        0.531494140625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                },
                {
                  "objectRef": "9",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5117699503898621,
                  "bbox": [
                    0.6312713623046875,
                    0.463775634765625,
                    0.6587677001953125,
                    0.554779052734375
                  ],
                  "trackId": 64561,
                  "eventIds": [
                    "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64501953125,
                        0.554779052734375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298130.136934072,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445409.2159064,
                "source_stage": "native_completed",
                "source_stage_at": 1789445409.3526018,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445409.313864,
                  "preprocess_output": 1789445409.3151028,
                  "infer_output": 1789445409.3340554,
                  "consume_entered": 1789445409.3369305,
                  "native_completed": 1789445409.3526018,
                  "inference_frame_completed": 1789445409.2158833
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6946,
                  "preprocess_output": 6946,
                  "infer_output": 6946,
                  "consume_entered": 6946,
                  "native_completed": 6946,
                  "inference_frame_completed": 4593
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 696.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298130107506770,
                "counts": {
                  "decoded": 6944,
                  "selected": 6944,
                  "preprocess": 6945,
                  "infer": 6942,
                  "native": 6945,
                  "result": 4593,
                  "publisher_submit": 4592
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298130061172564,
                  "selected": 1298130061197828,
                  "preprocess": 1298130062444082,
                  "infer": 1298130081368428,
                  "native": 1298130099874012,
                  "result": 1298129962501182,
                  "publisher_submit": 1298129963278527
                },
                "detail": true,
                "pending_samples": 55,
                "last_frame": {
                  "selected": [
                    6945,
                    695708242895
                  ],
                  "preprocess": [
                    6945,
                    695708242895
                  ],
                  "infer": [
                    6945,
                    695708242895
                  ],
                  "native": [
                    6945,
                    695708242895
                  ],
                  "result": [
                    6932,
                    694408242895
                  ],
                  "publisher_submit": [
                    6932,
                    694408242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 131,
                    "mean_ms": 4.043878351145039,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 131,
                    "mean_ms": 26.37329647328244,
                    "p95_ms": 36.889203,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 131,
                    "mean_ms": 24.807345175572518,
                    "p95_ms": 39.166632,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 83,
                    "mean_ms": 145.28572395180723,
                    "p95_ms": 194.240777,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 83,
                    "mean_ms": 42.33493512048193,
                    "p95_ms": 49.467318,
                    "max_ms": 56.786077
                  },
                  "scenario_cpu": {
                    "samples": 83,
                    "mean_ms": 1.0461534096385543,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 83,
                    "mean_ms": 1.0715497108433736,
                    "p95_ms": 1.650204,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 83,
                    "mean_ms": 155.8050732891566,
                    "p95_ms": 203.015204,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 83,
                    "mean_ms": 944.5416408915663,
                    "p95_ms": 992.776141,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 76,
                    "mean_ms": 1099.0844171842105,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 76,
                    "mean_ms": 0.8978835657894737,
                    "p95_ms": 1.468034,
                    "max_ms": 1.625016
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 178,
              "processed": 4593,
              "stale": 2341
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4593
            },
            "latest": {
              "fn": 6932,
              "det": 8,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298130.136972751,
            "entries": 4593,
            "length": 30,
            "last": "1789445409219-0",
            "pttl": 9799,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6932,
              "ptsNs": 694408242895,
              "ingestTimeWallMs": 1789445408011,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174019188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469051547,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9412234425544739,
                  "bbox": [
                    0.83660888671875,
                    0.327880859375,
                    0.94268798828125,
                    0.804931640625
                  ],
                  "trackId": 19281,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.8896484375,
                        0.804931640625
                      ],
                      "inside": false,
                      "state": "OUTSIDE",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9111796617507935,
                  "bbox": [
                    0.32196044921875,
                    0.49664306640625,
                    0.39337158203125,
                    0.60687255859375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.357666015625,
                        0.60687255859375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.888372004032135,
                  "bbox": [
                    0.5057220458984375,
                    0.37030029296875,
                    0.5372467041015625,
                    0.53350830078125
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53350830078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.860720694065094,
                  "bbox": [
                    0.6410980224609375,
                    0.36859130859375,
                    0.6792144775390625,
                    0.53814697265625
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.53814697265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8211875557899475,
                  "bbox": [
                    0.615631103515625,
                    0.447265625,
                    0.655853271484375,
                    0.5537109375
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.5537109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56591,
          "sent_status": 3186,
          "sent_frames": 53405,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298131.16878846,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298131.196936567,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445410.3770754,
                "source_stage": "native_completed",
                "source_stage_at": 1789445410.3958662,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445410.3450148,
                  "preprocess_output": 1789445410.3512738,
                  "infer_output": 1789445410.3799102,
                  "consume_entered": 1789445410.3813422,
                  "native_completed": 1789445410.3958662,
                  "inference_frame_completed": 1789445410.3770452
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19391,
                  "preprocess_output": 19391,
                  "infer_output": 19391,
                  "consume_entered": 19391,
                  "native_completed": 19391,
                  "inference_frame_completed": 16926
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1939.6,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298131185159697,
                "counts": {
                  "decoded": 19390,
                  "selected": 19390,
                  "preprocess": 19385,
                  "infer": 19387,
                  "native": 19391,
                  "result": 16926,
                  "publisher_submit": 16926
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298131092365519,
                  "selected": 1298131092385132,
                  "preprocess": 1298131098579092,
                  "infer": 1298131127242749,
                  "native": 1298131143214210,
                  "result": 1298131123085418,
                  "publisher_submit": 1298131124418803
                },
                "detail": true,
                "pending_samples": 64,
                "last_frame": {
                  "selected": [
                    19390,
                    1939372199504
                  ],
                  "preprocess": [
                    19390,
                    1939372199504
                  ],
                  "infer": [
                    19390,
                    1939372199504
                  ],
                  "native": [
                    19390,
                    1939372199504
                  ],
                  "result": [
                    19378,
                    1938172199504
                  ],
                  "publisher_submit": [
                    19378,
                    1938172199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 142,
                    "mean_ms": 5.494760838028169,
                    "p95_ms": 16.020881,
                    "max_ms": 22.683861
                  },
                  "preprocess_to_infer": {
                    "samples": 141,
                    "mean_ms": 27.096065829787236,
                    "p95_ms": 40.600878,
                    "max_ms": 68.112919
                  },
                  "infer_to_native": {
                    "samples": 141,
                    "mean_ms": 24.4677679929078,
                    "p95_ms": 37.468433,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 85,
                    "mean_ms": 155.64425569411765,
                    "p95_ms": 225.585137,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 85,
                    "mean_ms": 43.99316209411765,
                    "p95_ms": 53.000807,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 85,
                    "mean_ms": 1.0947181176470588,
                    "p95_ms": 1.705075,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 85,
                    "mean_ms": 1.135186282352941,
                    "p95_ms": 1.811845,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 85,
                    "mean_ms": 167.15851770588233,
                    "p95_ms": 244.057611,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 85,
                    "mean_ms": 942.2011406588235,
                    "p95_ms": 991.235664,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 78,
                    "mean_ms": 1107.999644025641,
                    "p95_ms": 1193.509506,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 78,
                    "mean_ms": 1.1386615384615384,
                    "p95_ms": 2.18583,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 536,
              "processed": 16926,
              "stale": 2454
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16926
            },
            "latest": {
              "fn": 19378,
              "det": 9,
              "persons": 6,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298131.196977333,
            "entries": 16926,
            "length": 30,
            "last": "1789445410380-0",
            "pttl": 9893,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19378,
              "ptsNs": 1938172199504,
              "ingestTimeWallMs": 1789445409147,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046193473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445409039,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9219217896461487,
                  "bbox": [
                    0.433380126953125,
                    0.3375244140625,
                    0.482147216796875,
                    0.5980224609375
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.457763671875,
                        0.5980224609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8873999118804932,
                  "bbox": [
                    0.5068206787109375,
                    0.37066650390625,
                    0.5371246337890625,
                    0.53363037109375
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53363037109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8678218126296997,
                  "bbox": [
                    0.626190185546875,
                    0.52862548828125,
                    0.713653564453125,
                    0.69110107421875
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.669921875,
                        0.69110107421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.798501193523407,
                  "bbox": [
                    0.6162109375,
                    0.444854736328125,
                    0.6552734375,
                    0.551239013671875
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.551239013671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7412996292114258,
                  "bbox": [
                    0.6552734375,
                    0.44879150390625,
                    0.689453125,
                    0.53363037109375
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67236328125,
                        0.53363037109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                },
                {
                  "objectRef": "8",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.5756476521492004,
                  "bbox": [
                    0.6321029663085938,
                    0.461090087890625,
                    0.6618423461914062,
                    0.555511474609375
                  ],
                  "trackId": 64561,
                  "eventIds": [
                    "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.64697265625,
                        0.555511474609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "aceea4b4-ebb5-4da7-ae30-7bb884ad26fa"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298131.329215357,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445410.5244744,
                "source_stage": "decoded_frame_received",
                "source_stage_at": 1789445410.5280428,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445410.5280428,
                  "preprocess_output": 1789445410.4543526,
                  "infer_output": 1789445410.496342,
                  "consume_entered": 1789445410.5030732,
                  "native_completed": 1789445410.368364,
                  "inference_frame_completed": 1789445410.5244539
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6958,
                  "preprocess_output": 6957,
                  "infer_output": 6957,
                  "consume_entered": 6957,
                  "native_completed": 6956,
                  "inference_frame_completed": 4602
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 697.2,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298131281812230,
                "counts": {
                  "decoded": 6956,
                  "selected": 6956,
                  "preprocess": 6956,
                  "infer": 6953,
                  "native": 6955,
                  "result": 4602,
                  "publisher_submit": 4601
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298131275403660,
                  "selected": 1298131275419041,
                  "preprocess": 1298131201661005,
                  "infer": 1298131243658467,
                  "native": 1298131115604494,
                  "result": 1298131271159056,
                  "publisher_submit": 1298131271847998
                },
                "detail": true,
                "pending_samples": 58,
                "last_frame": {
                  "selected": [
                    6957,
                    696908242895
                  ],
                  "preprocess": [
                    6956,
                    696808242895
                  ],
                  "infer": [
                    6956,
                    696808242895
                  ],
                  "native": [
                    6955,
                    696708242895
                  ],
                  "result": [
                    6946,
                    695808242895
                  ],
                  "publisher_submit": [
                    6946,
                    695808242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 142,
                    "mean_ms": 4.034837767605634,
                    "p95_ms": 11.926538,
                    "max_ms": 20.378719
                  },
                  "preprocess_to_infer": {
                    "samples": 142,
                    "mean_ms": 26.384394049295775,
                    "p95_ms": 36.889203,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 141,
                    "mean_ms": 24.817243631205674,
                    "p95_ms": 38.03145,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 92,
                    "mean_ms": 144.2865696521739,
                    "p95_ms": 195.36269,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 92,
                    "mean_ms": 42.30867569565217,
                    "p95_ms": 51.186388,
                    "max_ms": 56.786077
                  },
                  "scenario_cpu": {
                    "samples": 92,
                    "mean_ms": 1.0422676847826087,
                    "p95_ms": 1.577401,
                    "max_ms": 2.786478
                  },
                  "scenario": {
                    "samples": 92,
                    "mean_ms": 1.0668129130434783,
                    "p95_ms": 1.650204,
                    "max_ms": 2.809634
                  },
                  "result_work": {
                    "samples": 92,
                    "mean_ms": 154.7284370652174,
                    "p95_ms": 205.948081,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 92,
                    "mean_ms": 943.1603344673913,
                    "p95_ms": 992.776141,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 85,
                    "mean_ms": 1096.0827071058825,
                    "p95_ms": 1173.374228,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 85,
                    "mean_ms": 0.9673296352941176,
                    "p95_ms": 1.468034,
                    "max_ms": 7.862871
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 8,
              "events_created": 179,
              "processed": 4602,
              "stale": 2345
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4602
            },
            "latest": {
              "fn": 6946,
              "det": 10,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298131.329271555,
            "entries": 4602,
            "length": 30,
            "last": "1789445410532-0",
            "pttl": 9921,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6946,
              "ptsNs": 695808242895,
              "ingestTimeWallMs": 1789445409413,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174145188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469052947,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "0",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9427180886268616,
                  "bbox": [
                    0.66455078125,
                    0.30615234375,
                    0.79052734375,
                    0.82373046875
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "d4bc15eb-4367-4dde-9613-80748e256e4b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.7275390625,
                        0.82373046875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d4bc15eb-4367-4dde-9613-80748e256e4b"
                    }
                  ]
                },
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9388007521629333,
                  "bbox": [
                    0.33013916015625,
                    0.40985107421875,
                    0.39984130859375,
                    0.60772705078125
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.364990234375,
                        0.60772705078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8934953808784485,
                  "bbox": [
                    0.5059432983398438,
                    0.3702392578125,
                    0.5370254516601562,
                    0.5330810546875
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.5330810546875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.87364661693573,
                  "bbox": [
                    0.6406097412109375,
                    0.3682861328125,
                    0.6797027587890625,
                    0.5389404296875
                  ],
                  "trackId": 19121,
                  "eventIds": [
                    "013c2376-0770-428a-8605-f6d6d19e04ed"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66015625,
                        0.5389404296875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "013c2376-0770-428a-8605-f6d6d19e04ed"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7212526202201843,
                  "bbox": [
                    0.6160888671875,
                    0.44976806640625,
                    0.6632080078125,
                    0.55511474609375
                  ],
                  "trackId": 19521,
                  "eventIds": [
                    "00243094-66f4-46f9-8bf4-2a96a145d67e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6396484375,
                        0.55511474609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "00243094-66f4-46f9-8bf4-2a96a145d67e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56608,
          "sent_status": 3187,
          "sent_frames": 53421,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298132.359513898,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298132.43007515,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445411.6293483,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445411.6578863,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445411.6452277,
                  "preprocess_output": 1789445411.6578863,
                  "infer_output": 1789445411.5653105,
                  "consume_entered": 1789445411.568038,
                  "native_completed": 1789445411.582026,
                  "inference_frame_completed": 1789445411.6293077
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19404,
                  "preprocess_output": 19404,
                  "infer_output": 19403,
                  "consume_entered": 19403,
                  "native_completed": 19403,
                  "inference_frame_completed": 16932
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1940.9,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298132411338665,
                "counts": {
                  "decoded": 19403,
                  "selected": 19403,
                  "preprocess": 19398,
                  "infer": 19399,
                  "native": 19403,
                  "result": 16932,
                  "publisher_submit": 16932
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298132392552850,
                  "selected": 1298132392585600,
                  "preprocess": 1298132405199997,
                  "infer": 1298132312589035,
                  "native": 1298132329382380,
                  "result": 1298132373383639,
                  "publisher_submit": 1298132376676999
                },
                "detail": true,
                "pending_samples": 71,
                "last_frame": {
                  "selected": [
                    19403,
                    1940672199504
                  ],
                  "preprocess": [
                    19403,
                    1940672199504
                  ],
                  "infer": [
                    19402,
                    1940572199504
                  ],
                  "native": [
                    19402,
                    1940572199504
                  ],
                  "result": [
                    19391,
                    1939472199504
                  ],
                  "publisher_submit": [
                    19391,
                    1939472199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 155,
                    "mean_ms": 5.823044612903226,
                    "p95_ms": 16.772143,
                    "max_ms": 32.432184
                  },
                  "preprocess_to_infer": {
                    "samples": 153,
                    "mean_ms": 27.870355477124185,
                    "p95_ms": 46.673084,
                    "max_ms": 91.351508
                  },
                  "infer_to_native": {
                    "samples": 153,
                    "mean_ms": 24.695653418300655,
                    "p95_ms": 37.839506,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 91,
                    "mean_ms": 156.69809783516484,
                    "p95_ms": 237.474446,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 91,
                    "mean_ms": 44.05452936263736,
                    "p95_ms": 53.000807,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 91,
                    "mean_ms": 1.0922131538461537,
                    "p95_ms": 1.705075,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 91,
                    "mean_ms": 1.1308911208791208,
                    "p95_ms": 1.811845,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 91,
                    "mean_ms": 169.85260651648352,
                    "p95_ms": 269.764155,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 91,
                    "mean_ms": 942.7693448021978,
                    "p95_ms": 992.484102,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 84,
                    "mean_ms": 1112.4055247380952,
                    "p95_ms": 1195.361674,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 84,
                    "mean_ms": 1.1430731190476189,
                    "p95_ms": 2.18583,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 536,
              "processed": 16932,
              "stale": 2461
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16932
            },
            "latest": {
              "fn": 19391,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298132.430113242,
            "entries": 16932,
            "length": 30,
            "last": "1789445411635-0",
            "pttl": 9922,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19391,
              "ptsNs": 1939472199504,
              "ingestTimeWallMs": 1789445410447,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046310473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445410339,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9282788634300232,
                  "bbox": [
                    0.3928070068359375,
                    0.33990478515625,
                    0.4431304931640625,
                    0.58245849609375
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.41796875,
                        0.58245849609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9043130874633789,
                  "bbox": [
                    0.6221923828125,
                    0.50457763671875,
                    0.7030029296875,
                    0.69171142578125
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.66259765625,
                        0.69171142578125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8868131041526794,
                  "bbox": [
                    0.5066452026367188,
                    0.37060546875,
                    0.5373001098632812,
                    0.53369140625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53369140625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8077641129493713,
                  "bbox": [
                    0.616180419921875,
                    0.444427490234375,
                    0.655303955078125,
                    0.553131103515625
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.553131103515625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7247728705406189,
                  "bbox": [
                    0.6506195068359375,
                    0.44891357421875,
                    0.6921539306640625,
                    0.53448486328125
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67138671875,
                        0.53448486328125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298132.484861794,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445411.69717,
                "source_stage": "inference_frame_completed",
                "source_stage_at": 1789445411.6971447,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445411.6090567,
                  "preprocess_output": 1789445411.6130364,
                  "infer_output": 1789445411.636448,
                  "consume_entered": 1789445411.6381338,
                  "native_completed": 1789445411.6570354,
                  "inference_frame_completed": 1789445411.6971447
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6969,
                  "preprocess_output": 6969,
                  "infer_output": 6969,
                  "consume_entered": 6969,
                  "native_completed": 6969,
                  "inference_frame_completed": 4608
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 698.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298132473050606,
                "counts": {
                  "decoded": 6967,
                  "selected": 6967,
                  "preprocess": 6968,
                  "infer": 6965,
                  "native": 6968,
                  "result": 4608,
                  "publisher_submit": 4607
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298132356392937,
                  "selected": 1298132356419763,
                  "preprocess": 1298132360346916,
                  "infer": 1298132383768659,
                  "native": 1298132404302225,
                  "result": 1298132443715376,
                  "publisher_submit": 1298132444535880
                },
                "detail": true,
                "pending_samples": 63,
                "last_frame": {
                  "selected": [
                    6968,
                    698008242895
                  ],
                  "preprocess": [
                    6968,
                    698008242895
                  ],
                  "infer": [
                    6968,
                    698008242895
                  ],
                  "native": [
                    6968,
                    698008242895
                  ],
                  "result": [
                    6956,
                    696808242895
                  ],
                  "publisher_submit": [
                    6956,
                    696808242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 154,
                    "mean_ms": 4.715542376623376,
                    "p95_ms": 12.761638,
                    "max_ms": 84.872166
                  },
                  "preprocess_to_infer": {
                    "samples": 154,
                    "mean_ms": 27.366589363636365,
                    "p95_ms": 44.398277,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 154,
                    "mean_ms": 24.815266038961038,
                    "p95_ms": 39.166632,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 98,
                    "mean_ms": 146.7338693265306,
                    "p95_ms": 203.16848,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 98,
                    "mean_ms": 42.535040714285714,
                    "p95_ms": 51.570062,
                    "max_ms": 60.095748
                  },
                  "scenario_cpu": {
                    "samples": 98,
                    "mean_ms": 1.0930469081632652,
                    "p95_ms": 1.584744,
                    "max_ms": 6.196843
                  },
                  "scenario": {
                    "samples": 98,
                    "mean_ms": 1.129856469387755,
                    "p95_ms": 1.745304,
                    "max_ms": 7.487238
                  },
                  "result_work": {
                    "samples": 98,
                    "mean_ms": 157.1768570102041,
                    "p95_ms": 220.062253,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 98,
                    "mean_ms": 942.391571622449,
                    "p95_ms": 992.776141,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 91,
                    "mean_ms": 1098.2192154395605,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 91,
                    "mean_ms": 0.9646121648351648,
                    "p95_ms": 1.468034,
                    "max_ms": 7.862871
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 9,
              "events_created": 179,
              "processed": 4608,
              "stale": 2351
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4608
            },
            "latest": {
              "fn": 6956,
              "det": 6,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298132.484898558,
            "entries": 4608,
            "length": 30,
            "last": "1789445411700-0",
            "pttl": 9925,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6956,
              "ptsNs": 696808242895,
              "ingestTimeWallMs": 1789445410449,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174235188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469053947,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.936168372631073,
                  "bbox": [
                    0.585906982421875,
                    0.3074951171875,
                    0.692413330078125,
                    0.7852783203125
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "d4bc15eb-4367-4dde-9613-80748e256e4b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.63916015625,
                        0.7852783203125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d4bc15eb-4367-4dde-9613-80748e256e4b"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9059898257255554,
                  "bbox": [
                    0.3413238525390625,
                    0.3353271484375,
                    0.3954925537109375,
                    0.6080322265625
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.368408203125,
                        0.6080322265625
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8776865601539612,
                  "bbox": [
                    0.5060348510742188,
                    0.36993408203125,
                    0.5369338989257812,
                    0.53289794921875
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53289794921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56619,
          "sent_status": 3187,
          "sent_frames": 53432,
          "queued": 1,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298133.525038007,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298133.572365287,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445412.6459603,
                "source_stage": "native_completed",
                "source_stage_at": 1789445412.7977333,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445412.7537549,
                  "preprocess_output": 1789445412.7597678,
                  "infer_output": 1789445412.7791831,
                  "consume_entered": 1789445412.7816942,
                  "native_completed": 1789445412.7977333,
                  "inference_frame_completed": 1789445412.6459427
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19415,
                  "preprocess_output": 19415,
                  "infer_output": 19415,
                  "consume_entered": 19415,
                  "native_completed": 19415,
                  "inference_frame_completed": 16938
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1942.0,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298133559893340,
                "counts": {
                  "decoded": 19414,
                  "selected": 19414,
                  "preprocess": 19409,
                  "infer": 19411,
                  "native": 19415,
                  "result": 16938,
                  "publisher_submit": 16938
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298133501066854,
                  "selected": 1298133501098652,
                  "preprocess": 1298133507120123,
                  "infer": 1298133526479056,
                  "native": 1298133545072973,
                  "result": 1298133392702903,
                  "publisher_submit": 1298133393337773
                },
                "detail": true,
                "pending_samples": 76,
                "last_frame": {
                  "selected": [
                    19414,
                    1941772199504
                  ],
                  "preprocess": [
                    19414,
                    1941772199504
                  ],
                  "infer": [
                    19414,
                    1941772199504
                  ],
                  "native": [
                    19414,
                    1941772199504
                  ],
                  "result": [
                    19402,
                    1940572199504
                  ],
                  "publisher_submit": [
                    19402,
                    1940572199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 166,
                    "mean_ms": 5.684836295180723,
                    "p95_ms": 16.683259,
                    "max_ms": 32.432184
                  },
                  "preprocess_to_infer": {
                    "samples": 165,
                    "mean_ms": 27.90815164242424,
                    "p95_ms": 45.800325,
                    "max_ms": 91.351508
                  },
                  "infer_to_native": {
                    "samples": 165,
                    "mean_ms": 24.424796745454547,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 97,
                    "mean_ms": 156.9043252474227,
                    "p95_ms": 239.280856,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 97,
                    "mean_ms": 44.269086,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 97,
                    "mean_ms": 1.0814529278350515,
                    "p95_ms": 1.705075,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 97,
                    "mean_ms": 1.118445,
                    "p95_ms": 1.811845,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 97,
                    "mean_ms": 169.78390081443297,
                    "p95_ms": 269.764155,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 97,
                    "mean_ms": 940.4917706185568,
                    "p95_ms": 992.484102,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 90,
                    "mean_ms": 1109.8962366444446,
                    "p95_ms": 1195.361674,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 90,
                    "mean_ms": 1.117716588888889,
                    "p95_ms": 2.18583,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 536,
              "processed": 16938,
              "stale": 2465
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16938
            },
            "latest": {
              "fn": 19402,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298133.572395666,
            "entries": 16938,
            "length": 30,
            "last": "1789445412650-0",
            "pttl": 9998,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19402,
              "ptsNs": 1940572199504,
              "ingestTimeWallMs": 1789445411544,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046409473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445411439,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9155072569847107,
                  "bbox": [
                    0.373687744140625,
                    0.34454345703125,
                    0.430999755859375,
                    0.58660888671875
                  ],
                  "trackId": 62801,
                  "eventIds": [
                    "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.40234375,
                        0.58660888671875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "2d35b6ca-6a86-4ed2-9af4-62ea201a9e4c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8826303482055664,
                  "bbox": [
                    0.5068817138671875,
                    0.370361328125,
                    0.5380401611328125,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.5224609375,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8722385764122009,
                  "bbox": [
                    0.62646484375,
                    0.49798583984375,
                    0.69189453125,
                    0.69342041015625
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6591796875,
                        0.69342041015625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8056321740150452,
                  "bbox": [
                    0.616790771484375,
                    0.4449462890625,
                    0.654693603515625,
                    0.5511474609375
                  ],
                  "trackId": 64401,
                  "eventIds": [
                    "23805687-9be5-4a74-b16c-24eb21858237"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.5511474609375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "23805687-9be5-4a74-b16c-24eb21858237"
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7424216866493225,
                  "bbox": [
                    0.65167236328125,
                    0.4493408203125,
                    0.69110107421875,
                    0.5394287109375
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.67138671875,
                        0.5394287109375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298133.620099644,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445412.757822,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445412.8527262,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445412.850833,
                  "preprocess_output": 1789445412.8527262,
                  "infer_output": 1789445412.7542737,
                  "consume_entered": 1789445412.7607555,
                  "native_completed": 1789445412.7753012,
                  "inference_frame_completed": 1789445412.7578084
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6981,
                  "preprocess_output": 6981,
                  "infer_output": 6980,
                  "consume_entered": 6980,
                  "native_completed": 6980,
                  "inference_frame_completed": 4615
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 699.5,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298133605061696,
                "counts": {
                  "decoded": 6979,
                  "selected": 6979,
                  "preprocess": 6980,
                  "infer": 6976,
                  "native": 6979,
                  "result": 4615,
                  "publisher_submit": 4614
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298133598173093,
                  "selected": 1298133598201247,
                  "preprocess": 1298133600079568,
                  "infer": 1298133501593710,
                  "native": 1298133522629350,
                  "result": 1298133504563305,
                  "publisher_submit": 1298133505205833
                },
                "detail": true,
                "pending_samples": 68,
                "last_frame": {
                  "selected": [
                    6980,
                    699208242895
                  ],
                  "preprocess": [
                    6980,
                    699208242895
                  ],
                  "infer": [
                    6979,
                    699108242895
                  ],
                  "native": [
                    6979,
                    699108242895
                  ],
                  "result": [
                    6968,
                    698008242895
                  ],
                  "publisher_submit": [
                    6968,
                    698008242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 166,
                    "mean_ms": 4.551760843373494,
                    "p95_ms": 12.496937,
                    "max_ms": 84.872166
                  },
                  "preprocess_to_infer": {
                    "samples": 165,
                    "mean_ms": 27.330964266666665,
                    "p95_ms": 44.398277,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 165,
                    "mean_ms": 24.706801896969697,
                    "p95_ms": 39.088537,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 105,
                    "mean_ms": 145.89539762857143,
                    "p95_ms": 201.209526,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 105,
                    "mean_ms": 42.61286424761905,
                    "p95_ms": 51.186388,
                    "max_ms": 60.095748
                  },
                  "scenario_cpu": {
                    "samples": 105,
                    "mean_ms": 1.0940166666666666,
                    "p95_ms": 1.577401,
                    "max_ms": 6.196843
                  },
                  "scenario": {
                    "samples": 105,
                    "mean_ms": 1.1295394571428572,
                    "p95_ms": 1.650204,
                    "max_ms": 7.487238
                  },
                  "result_work": {
                    "samples": 105,
                    "mean_ms": 156.5355442285714,
                    "p95_ms": 210.127054,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 105,
                    "mean_ms": 940.973080647619,
                    "p95_ms": 992.826672,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 98,
                    "mean_ms": 1095.731479877551,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 98,
                    "mean_ms": 1.1448115918367348,
                    "p95_ms": 1.47377,
                    "max_ms": 19.126805
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 179,
              "processed": 4615,
              "stale": 2354
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4615
            },
            "latest": {
              "fn": 6968,
              "det": 8,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298133.620140807,
            "entries": 4615,
            "length": 30,
            "last": "1789445412771-0",
            "pttl": 9862,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6968,
              "ptsNs": 698008242895,
              "ingestTimeWallMs": 1789445411608,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174343188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469055147,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9331876635551453,
                  "bbox": [
                    0.600830078125,
                    0.3359375,
                    0.690185546875,
                    0.7509765625
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "d4bc15eb-4367-4dde-9613-80748e256e4b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6455078125,
                        0.7509765625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d4bc15eb-4367-4dde-9613-80748e256e4b"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9170058369636536,
                  "bbox": [
                    0.3552398681640625,
                    0.338134765625,
                    0.4118499755859375,
                    0.610107421875
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.383544921875,
                        0.610107421875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8776865601539612,
                  "bbox": [
                    0.505859375,
                    0.36993408203125,
                    0.537109375,
                    0.53289794921875
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.521484375,
                        0.53289794921875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56637,
          "sent_status": 3190,
          "sent_frames": 53447,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298134.657934808,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298134.714746512,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445413.8200252,
                "source_stage": "native_completed",
                "source_stage_at": 1789445413.903359,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445413.8440168,
                  "preprocess_output": 1789445413.854829,
                  "infer_output": 1789445413.8849916,
                  "consume_entered": 1789445413.8892696,
                  "native_completed": 1789445413.903359,
                  "inference_frame_completed": 1789445413.820007
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19426,
                  "preprocess_output": 19426,
                  "infer_output": 19426,
                  "consume_entered": 19426,
                  "native_completed": 19426,
                  "inference_frame_completed": 16946
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1943.1,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298134692404388,
                "counts": {
                  "decoded": 19425,
                  "selected": 19425,
                  "preprocess": 19420,
                  "infer": 19422,
                  "native": 19426,
                  "result": 16946,
                  "publisher_submit": 16946
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298134591376422,
                  "selected": 1298134591391687,
                  "preprocess": 1298134602145742,
                  "infer": 1298134632299789,
                  "native": 1298134650721974,
                  "result": 1298134566773809,
                  "publisher_submit": 1298134567405608
                },
                "detail": true,
                "pending_samples": 79,
                "last_frame": {
                  "selected": [
                    19425,
                    1942872199504
                  ],
                  "preprocess": [
                    19425,
                    1942872199504
                  ],
                  "infer": [
                    19425,
                    1942872199504
                  ],
                  "native": [
                    19425,
                    1942872199504
                  ],
                  "result": [
                    19414,
                    1941772199504
                  ],
                  "publisher_submit": [
                    19414,
                    1941772199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 177,
                    "mean_ms": 5.605966316384181,
                    "p95_ms": 16.683259,
                    "max_ms": 32.432184
                  },
                  "preprocess_to_infer": {
                    "samples": 176,
                    "mean_ms": 27.64317559659091,
                    "p95_ms": 45.800325,
                    "max_ms": 91.351508
                  },
                  "infer_to_native": {
                    "samples": 176,
                    "mean_ms": 24.105323017045453,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 105,
                    "mean_ms": 155.53187503809522,
                    "p95_ms": 237.474446,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 105,
                    "mean_ms": 44.193453257142856,
                    "p95_ms": 53.016983,
                    "max_ms": 55.720788
                  },
                  "scenario_cpu": {
                    "samples": 105,
                    "mean_ms": 1.0699745714285713,
                    "p95_ms": 1.697071,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 105,
                    "mean_ms": 1.1050630095238094,
                    "p95_ms": 1.74291,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 105,
                    "mean_ms": 168.00180659047618,
                    "p95_ms": 261.829513,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 105,
                    "mean_ms": 940.2218912095238,
                    "p95_ms": 991.235664,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 98,
                    "mean_ms": 1108.0145774081634,
                    "p95_ms": 1195.361674,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 98,
                    "mean_ms": 1.0827758673469388,
                    "p95_ms": 2.18583,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 536,
              "processed": 16946,
              "stale": 2469
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16946
            },
            "latest": {
              "fn": 19414,
              "det": 7,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298134.714838241,
            "entries": 16947,
            "length": 30,
            "last": "1789445413979-0",
            "pttl": 9962,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19415,
              "ptsNs": 1941872199504,
              "ingestTimeWallMs": 1789445412846,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046526473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445412739,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9156582355499268,
                  "bbox": [
                    0.592742919921875,
                    0.333984375,
                    0.674835205078125,
                    0.701171875
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6337890625,
                        0.701171875
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8933094143867493,
                  "bbox": [
                    0.332183837890625,
                    0.4864501953125,
                    0.418304443359375,
                    0.5994873046875
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.375244140625,
                        0.5994873046875
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8820220232009888,
                  "bbox": [
                    0.5064010620117188,
                    0.370849609375,
                    0.5375442504882812,
                    0.533447265625
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.533447265625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298134.792291551,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445413.8714187,
                "source_stage": "preprocess_output",
                "source_stage_at": 1789445414.0161252,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445414.0105646,
                  "preprocess_output": 1789445414.0161252,
                  "infer_output": 1789445413.927573,
                  "consume_entered": 1789445413.9289348,
                  "native_completed": 1789445413.9422567,
                  "inference_frame_completed": 1789445413.8713992
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6993,
                  "preprocess_output": 6993,
                  "infer_output": 6992,
                  "consume_entered": 6992,
                  "native_completed": 6992,
                  "inference_frame_completed": 4623
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 700.7,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298134776718004,
                "counts": {
                  "decoded": 6991,
                  "selected": 6991,
                  "preprocess": 6992,
                  "infer": 6988,
                  "native": 6991,
                  "result": 4623,
                  "publisher_submit": 4622
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298134757814452,
                  "selected": 1298134757881867,
                  "preprocess": 1298134763408067,
                  "infer": 1298134674897492,
                  "native": 1298134689635770,
                  "result": 1298134618199972,
                  "publisher_submit": 1298134618795590
                },
                "detail": true,
                "pending_samples": 72,
                "last_frame": {
                  "selected": [
                    6992,
                    700408242895
                  ],
                  "preprocess": [
                    6992,
                    700408242895
                  ],
                  "infer": [
                    6991,
                    700308242895
                  ],
                  "native": [
                    6991,
                    700308242895
                  ],
                  "result": [
                    6979,
                    699108242895
                  ],
                  "publisher_submit": [
                    6979,
                    699108242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 178,
                    "mean_ms": 4.420468629213483,
                    "p95_ms": 12.496937,
                    "max_ms": 84.872166
                  },
                  "preprocess_to_infer": {
                    "samples": 177,
                    "mean_ms": 26.93668242372881,
                    "p95_ms": 44.398277,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 177,
                    "mean_ms": 24.616022587570622,
                    "p95_ms": 39.088537,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 113,
                    "mean_ms": 144.74502528318584,
                    "p95_ms": 203.16848,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 113,
                    "mean_ms": 42.5830817079646,
                    "p95_ms": 51.186388,
                    "max_ms": 60.095748
                  },
                  "scenario_cpu": {
                    "samples": 113,
                    "mean_ms": 1.0694476637168142,
                    "p95_ms": 1.577401,
                    "max_ms": 6.196843
                  },
                  "scenario": {
                    "samples": 113,
                    "mean_ms": 1.1031572123893805,
                    "p95_ms": 1.650204,
                    "max_ms": 7.487238
                  },
                  "result_work": {
                    "samples": 113,
                    "mean_ms": 155.28448043362832,
                    "p95_ms": 220.062253,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 113,
                    "mean_ms": 941.3341947256637,
                    "p95_ms": 992.826672,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 106,
                    "mean_ms": 1095.2216198301887,
                    "p95_ms": 1175.974127,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 106,
                    "mean_ms": 1.1680963396226414,
                    "p95_ms": 1.47377,
                    "max_ms": 19.126805
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 179,
              "processed": 4623,
              "stale": 2357
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4623
            },
            "latest": {
              "fn": 6979,
              "det": 7,
              "persons": 3,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298134.792345683,
            "entries": 4623,
            "length": 30,
            "last": "1789445413879-0",
            "pttl": 9796,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6979,
              "ptsNs": 699108242895,
              "ingestTimeWallMs": 1789445412724,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174442188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469056247,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9197867512702942,
                  "bbox": [
                    0.61663818359375,
                    0.4058837890625,
                    0.69781494140625,
                    0.6947021484375
                  ],
                  "trackId": 19281,
                  "eventIds": [
                    "d4bc15eb-4367-4dde-9613-80748e256e4b"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6572265625,
                        0.6947021484375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d4bc15eb-4367-4dde-9613-80748e256e4b"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8826303482055664,
                  "bbox": [
                    0.5063552856445312,
                    0.370361328125,
                    0.5375900268554688,
                    0.532958984375
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.532958984375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8679338097572327,
                  "bbox": [
                    0.395050048828125,
                    0.3363037109375,
                    0.436492919921875,
                    0.5972900390625
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.415771484375,
                        0.5972900390625
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56654,
          "sent_status": 3191,
          "sent_frames": 53463,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    },
    {
      "at": 1298135.315862614,
      "channels": {
        "rtsp-test-source-01": {
          "at": 1298135.364297726,
          "state": {
            "stream_id": "rtsp-test-01",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 2,
            "run_id": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445414.5767632,
                "source_stage": "native_completed",
                "source_stage_at": 1789445414.5994506,
                "source_stages": {
                  "pipeline_state_changed": 1789443472.0878038,
                  "decoded_frame_received": 1789445414.5430627,
                  "preprocess_output": 1789445414.5509148,
                  "infer_output": 1789445414.578179,
                  "consume_entered": 1789445414.583308,
                  "native_completed": 1789445414.5994506,
                  "inference_frame_completed": 1789445414.5767462
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 19433,
                  "preprocess_output": 19433,
                  "infer_output": 19433,
                  "consume_entered": 19433,
                  "native_completed": 19433,
                  "inference_frame_completed": 16950
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789443470.8692913,
                  "decoded_frame_received": 1789443472.037435,
                  "preprocess_output": 1789443472.0387893,
                  "infer_output": 1789443472.0765681,
                  "consume_entered": 1789443472.0818818,
                  "native_completed": 1789443472.0992417,
                  "inference_frame_completed": 1789443472.1542811
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": {
              "generation": 1,
              "completed": true,
              "finished_monotonic_ns": 1296190844547673,
              "elapsed_s": 0.08518833201378584
            },
            "started_at": 1789443470.7989938,
            "uptime_s": 1943.8,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298135351791158,
                "counts": {
                  "decoded": 19432,
                  "selected": 19432,
                  "preprocess": 19427,
                  "infer": 19429,
                  "native": 19433,
                  "result": 16950,
                  "publisher_submit": 16950
                },
                "first_ns": {
                  "decoded": 1296192784778192,
                  "selected": 1296192784808305,
                  "preprocess": 1296192786119658,
                  "infer": 1296192823859171,
                  "native": 1296192846578918,
                  "result": 1296192900745968,
                  "publisher_submit": 1296192901689959
                },
                "last_ns": {
                  "decoded": 1298135290416490,
                  "selected": 1298135290436299,
                  "preprocess": 1298135298255979,
                  "infer": 1298135325531173,
                  "native": 1298135346797816,
                  "result": 1298135323462072,
                  "publisher_submit": 1298135324143779
                },
                "detail": true,
                "pending_samples": 82,
                "last_frame": {
                  "selected": [
                    19432,
                    1943572199504
                  ],
                  "preprocess": [
                    19432,
                    1943572199504
                  ],
                  "infer": [
                    19432,
                    1943572199504
                  ],
                  "native": [
                    19432,
                    1943572199504
                  ],
                  "result": [
                    19421,
                    1942472199504
                  ],
                  "publisher_submit": [
                    19421,
                    1942472199504
                  ]
                },
                "observation_missed": 12,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 184,
                    "mean_ms": 5.571733907608695,
                    "p95_ms": 16.020881,
                    "max_ms": 32.432184
                  },
                  "preprocess_to_infer": {
                    "samples": 183,
                    "mean_ms": 27.698998994535522,
                    "p95_ms": 43.13643,
                    "max_ms": 91.351508
                  },
                  "infer_to_native": {
                    "samples": 183,
                    "mean_ms": 24.148733573770492,
                    "p95_ms": 37.566428,
                    "max_ms": 194.564971
                  },
                  "tracking": {
                    "samples": 109,
                    "mean_ms": 156.3781144587156,
                    "p95_ms": 239.280856,
                    "max_ms": 456.726923
                  },
                  "tracking_cpu": {
                    "samples": 109,
                    "mean_ms": 44.408633229357804,
                    "p95_ms": 53.03966,
                    "max_ms": 65.942336
                  },
                  "scenario_cpu": {
                    "samples": 109,
                    "mean_ms": 1.0710167247706421,
                    "p95_ms": 1.697071,
                    "max_ms": 2.664636
                  },
                  "scenario": {
                    "samples": 109,
                    "mean_ms": 1.1053217431192661,
                    "p95_ms": 1.74291,
                    "max_ms": 3.468694
                  },
                  "result_work": {
                    "samples": 109,
                    "mean_ms": 168.74038166055044,
                    "p95_ms": 261.829513,
                    "max_ms": 468.018043
                  },
                  "queue": {
                    "samples": 109,
                    "mean_ms": 940.8030900733945,
                    "p95_ms": 992.484102,
                    "max_ms": 998.681973
                  },
                  "native_to_result": {
                    "samples": 102,
                    "mean_ms": 1108.727798892157,
                    "p95_ms": 1195.361674,
                    "max_ms": 1402.713386
                  },
                  "result_to_publisher_submit": {
                    "samples": 102,
                    "mean_ms": 1.0791872549019608,
                    "p95_ms": 2.150268,
                    "max_ms": 12.732947
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 10,
              "events_created": 536,
              "processed": 16950,
              "stale": 2472
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 16950
            },
            "latest": {
              "fn": 19421,
              "det": 7,
              "persons": 4,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298135.364364799,
            "entries": 16950,
            "length": 30,
            "last": "1789445414578-0",
            "pttl": 9913,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-01",
              "sourceId": "rtsp-test-source-01",
              "serverId": "test-ai",
              "streamId": "rtsp-test-01",
              "runId": "9d916488-f41b-4062-a3a5-c0c5475d3f56",
              "runGeneration": 2,
              "frameSeq": 19421,
              "ptsNs": 1942472199504,
              "ingestTimeWallMs": 1789445413450,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 1046580473,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789445413339,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8964328765869141,
                  "bbox": [
                    0.579345703125,
                    0.3245849609375,
                    0.652099609375,
                    0.6710205078125
                  ],
                  "trackId": 64641,
                  "eventIds": [
                    "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.61572265625,
                        0.6710205078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "f5a7b0a7-5e01-49ea-b860-8620d0171df2"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8743993639945984,
                  "bbox": [
                    0.5062408447265625,
                    0.37078857421875,
                    0.5377044677734375,
                    0.53350830078125
                  ],
                  "trackId": 62881,
                  "eventIds": [
                    "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53350830078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "ad78f74a-3c2d-4ab0-be19-2f6fcd86a911"
                    }
                  ]
                },
                {
                  "objectRef": "3",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8169911503791809,
                  "bbox": [
                    0.333984375,
                    0.51922607421875,
                    0.404296875,
                    0.60284423828125
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.369140625,
                        0.60284423828125
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.6978148818016052,
                  "bbox": [
                    0.6540374755859375,
                    0.44976806640625,
                    0.6897125244140625,
                    0.53460693359375
                  ],
                  "trackId": 64481,
                  "eventIds": [
                    "102df754-c212-4725-8c28-e8b64edf1996"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.671875,
                        0.53460693359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "102df754-c212-4725-8c28-e8b64edf1996"
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1
                    ],
                    [
                      0.35,
                      1
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "f597a2b13ad16a3895d3bd2f8e4c8e0e87aa004752d0daccc22eebd10977780a",
              "events": []
            }
          }
        },
        "rtsp-test-source-02": {
          "at": 1298135.48112393,
          "state": {
            "stream_id": "web-cam08-test",
            "site_id": null,
            "source_type": "rtsp",
            "state": "running",
            "desired_state": "running",
            "observed_state": "running",
            "run_generation": 1,
            "run_id": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
            "roles": {
              "det": {
                "state": "first_frame",
                "required": true,
                "initialized": true,
                "last_frame_at": 1789445414.479156,
                "source_stage": "native_completed",
                "source_stage_at": 1789445414.6741633,
                "source_stages": {
                  "pipeline_state_changed": 1789444714.9069543,
                  "decoded_frame_received": 1789445414.6136968,
                  "preprocess_output": 1789445414.616165,
                  "infer_output": 1789445414.6513808,
                  "consume_entered": 1789445414.6557274,
                  "native_completed": 1789445414.6741633,
                  "inference_frame_completed": 1789445414.479136
                },
                "stage_counts": {
                  "pipeline_state_changed": 88,
                  "decoded_frame_received": 6999,
                  "preprocess_output": 6999,
                  "infer_output": 6999,
                  "consume_entered": 6999,
                  "native_completed": 6999,
                  "inference_frame_completed": 4626
                },
                "last_error": null,
                "stage_first_at": {
                  "pipeline_state_changed": 1789444713.4249194,
                  "decoded_frame_received": 1789444714.8559275,
                  "preprocess_output": 1789444714.8572562,
                  "infer_output": 1789444714.8890386,
                  "consume_entered": 1789444714.8941312,
                  "native_completed": 1789444714.9120154,
                  "inference_frame_completed": 1789444714.9518464
                }
              }
            },
            "last_error": null,
            "cleanup_error": null,
            "cleanup_pending": false,
            "restart_pending": false,
            "last_cleanup": null,
            "started_at": 1789444713.3609817,
            "uptime_s": 701.4,
            "inference_profile": {
              "roles": [
                "det"
              ],
              "requested_models": {
                "det": "RFDETRMedium"
              },
              "active_models": {
                "det": "RFDETRMedium"
              },
              "degraded_roles": [],
              "score_threshold": 0.5,
              "class_min_confidence": {}
            },
            "metadata_path": {
              "state": "CONNECTED",
              "error": null,
              "display_threshold": 0.25,
              "visual": null,
              "sample_error": null,
              "performance": {
                "analysisFpsTarget": 10.0,
                "sampled_ns": 1298135462069622,
                "counts": {
                  "decoded": 6997,
                  "selected": 6997,
                  "preprocess": 6998,
                  "infer": 6995,
                  "native": 6998,
                  "result": 4626,
                  "publisher_submit": 4625
                },
                "first_ns": {
                  "decoded": 1297435603197010,
                  "selected": 1297435603264353,
                  "preprocess": 1297435604616205,
                  "infer": 1297435636384133,
                  "native": 1297435659399478,
                  "result": 1297435698443484,
                  "publisher_submit": 1297435699253218
                },
                "last_ns": {
                  "decoded": 1298135360990352,
                  "selected": 1298135361038262,
                  "preprocess": 1298135363472591,
                  "infer": 1298135398708448,
                  "native": 1298135421523458,
                  "result": 1298135225677363,
                  "publisher_submit": 1298135226531726
                },
                "detail": true,
                "pending_samples": 75,
                "last_frame": {
                  "selected": [
                    6998,
                    701008242895
                  ],
                  "preprocess": [
                    6998,
                    701008242895
                  ],
                  "infer": [
                    6998,
                    701008242895
                  ],
                  "native": [
                    6998,
                    701008242895
                  ],
                  "result": [
                    6985,
                    699708242895
                  ],
                  "publisher_submit": [
                    6985,
                    699708242895
                  ]
                },
                "observation_missed": 13,
                "durations": {
                  "selected_to_preprocess": {
                    "samples": 184,
                    "mean_ms": 4.388529152173913,
                    "p95_ms": 12.230661,
                    "max_ms": 84.872166
                  },
                  "preprocess_to_infer": {
                    "samples": 184,
                    "mean_ms": 26.97504888043478,
                    "p95_ms": 42.775406,
                    "max_ms": 178.850023
                  },
                  "infer_to_native": {
                    "samples": 184,
                    "mean_ms": 24.565960407608696,
                    "p95_ms": 38.03145,
                    "max_ms": 55.902285
                  },
                  "tracking": {
                    "samples": 117,
                    "mean_ms": 146.4141577008547,
                    "p95_ms": 215.444581,
                    "max_ms": 456.959406
                  },
                  "tracking_cpu": {
                    "samples": 117,
                    "mean_ms": 42.93431288888889,
                    "p95_ms": 52.291995,
                    "max_ms": 60.095748
                  },
                  "scenario_cpu": {
                    "samples": 117,
                    "mean_ms": 1.0655967777777777,
                    "p95_ms": 1.577401,
                    "max_ms": 6.196843
                  },
                  "scenario": {
                    "samples": 117,
                    "mean_ms": 1.0985838376068375,
                    "p95_ms": 1.650204,
                    "max_ms": 7.487238
                  },
                  "result_work": {
                    "samples": 116,
                    "mean_ms": 156.49108662068966,
                    "p95_ms": 225.784025,
                    "max_ms": 464.719299
                  },
                  "queue": {
                    "samples": 116,
                    "mean_ms": 940.9920779655173,
                    "p95_ms": 992.826672,
                    "max_ms": 997.341474
                  },
                  "native_to_result": {
                    "samples": 109,
                    "mean_ms": 1096.3609054862384,
                    "p95_ms": 1176.156185,
                    "max_ms": 1423.945759
                  },
                  "result_to_publisher_submit": {
                    "samples": 109,
                    "mean_ms": 1.1575742660550459,
                    "p95_ms": 1.47377,
                    "max_ms": 19.126805
                  }
                },
                "sourceFpsObserved": null,
                "closed": false
              },
              "queued": 11,
              "events_created": 179,
              "processed": 4626,
              "stale": 2361
            },
            "scenarios": {
              "active": [
                "INTRUSION"
              ],
              "disabled": []
            },
            "zones": [],
            "frames_in_window": 1000,
            "per_task_buffers": {
              "det": 4627
            },
            "latest": {
              "fn": 6987,
              "det": 9,
              "persons": 5,
              "pose_persons": 0,
              "seg": 0
            }
          },
          "redis": {
            "at": 1298135.481160734,
            "entries": 4627,
            "length": 30,
            "last": "1789445414723-0",
            "pttl": 9957,
            "frame": {
              "schemaVersion": "1",
              "cameraId": "rtsp-test-source-02",
              "sourceId": "rtsp-test-source-02",
              "serverId": "test-ai",
              "streamId": "web-cam08-test",
              "runId": "3a4ed28f-5353-41ff-aebc-af8d18e8b7f3",
              "runGeneration": 1,
              "frameSeq": 6987,
              "ptsNs": 699908242895,
              "ingestTimeWallMs": 1789445413507,
              "frameWidth": 1280,
              "frameHeight": 720,
              "coordinateSpace": "SOURCE_FRAME",
              "format": "XYXY",
              "normalized": true,
              "origin": "TOP_LEFT",
              "configVersion": null,
              "frameTime": {
                "anchorId": null,
                "startWallTimeMs": 1789433784668,
                "anchorRtpTimestamp": 0,
                "rtpClockRate": 90000,
                "rtpTimestamp": 3174514188,
                "rtpTimestampExt": null,
                "detectedAtWallMs": 1789469057047,
                "syncStatus": "ESTIMATED",
                "timeSource": "SYNTHETIC_TEST_ANCHOR"
              },
              "objects": [
                {
                  "objectRef": "1",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.9178933501243591,
                  "bbox": [
                    0.42626953125,
                    0.3336181640625,
                    0.46728515625,
                    0.5960693359375
                  ],
                  "trackId": 17921,
                  "eventIds": [
                    "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.44677734375,
                        0.5960693359375
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "d8e906f9-51e5-4f43-a408-de49ddc63a5c"
                    }
                  ]
                },
                {
                  "objectRef": "2",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8802834153175354,
                  "bbox": [
                    0.5064773559570312,
                    0.37078857421875,
                    0.5374679565429688,
                    0.53350830078125
                  ],
                  "trackId": 18881,
                  "eventIds": [
                    "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                  ],
                  "labelText": "person",
                  "color": "#FF3030",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.52197265625,
                        0.53350830078125
                      ],
                      "inside": true,
                      "state": "INTRUSION",
                      "confidence": 0.5,
                      "eventId": "27c5be03-7863-4829-8e38-6d30f3c0bb3e"
                    }
                  ]
                },
                {
                  "objectRef": "4",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.8107787370681763,
                  "bbox": [
                    0.615753173828125,
                    0.4453125,
                    0.655731201171875,
                    0.5517578125
                  ],
                  "trackId": 19841,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6357421875,
                        0.5517578125
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "5",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7879312038421631,
                  "bbox": [
                    0.6536865234375,
                    0.449951171875,
                    0.6900634765625,
                    0.538818359375
                  ],
                  "trackId": 19921,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.671875,
                        0.538818359375
                      ],
                      "inside": true,
                      "state": "CONFIRMING",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                },
                {
                  "objectRef": "7",
                  "classId": 0,
                  "modelKey": "RFDETRMedium",
                  "confidence": 0.7371581792831421,
                  "bbox": [
                    0.6328125,
                    0.55194091796875,
                    0.708984375,
                    0.67266845703125
                  ],
                  "trackId": null,
                  "eventIds": [],
                  "labelText": "person",
                  "color": "#00CC66",
                  "visible": true,
                  "scenarioResults": [
                    {
                      "scenario": "INTRUSION",
                      "point": [
                        0.6708984375,
                        0.67266845703125
                      ],
                      "inside": true,
                      "state": "PENDING_ID",
                      "confidence": 0.5,
                      "eventId": null
                    }
                  ]
                }
              ],
              "scenarioConfig": {
                "INTRUSION": {
                  "enabled": true,
                  "roi_id": "primary",
                  "roi_name": "Test center-right",
                  "debug_roi": true,
                  "roi": [
                    [
                      0.35,
                      0.3
                    ],
                    [
                      0.85,
                      0.3
                    ],
                    [
                      0.85,
                      1.0
                    ],
                    [
                      0.35,
                      1.0
                    ]
                  ],
                  "point_x": 0.5,
                  "point_y": 1.0,
                  "confidence": 0.5,
                  "dwell_seconds": 0.5,
                  "rearm_seconds": 1.0,
                  "grace_seconds": 0.5,
                  "retention_seconds": 30.0,
                  "max_states": 1024
                }
              },
              "scenarioRevision": "803a640b541d091c6cc35185dbd84506fff2cc9008cd5f7809ec084abfec4c4c",
              "events": []
            }
          }
        }
      },
      "publisher": {
        "enabled": true,
        "metrics": {
          "sent": 56661,
          "sent_status": 3192,
          "sent_frames": 53469,
          "queued": 0,
          "queuedBytes": 0,
          "channels": 3
        }
      }
    }
  ],
  "resources": [
    {
      "at": 1298117.094062952,
      "cgroup": "/sys/fs/cgroup/system.slice/docker-fe7ce4dd9d4f9c1cf849b82737609540e6b48489f050a2ff21488aeb3c659aae.scope",
      "cpu": {
        "usage_usec": 4618995370,
        "user_usec": 3985779630,
        "system_usec": 633215739,
        "core_sched.force_idle_usec": 0,
        "nr_periods": 0,
        "nr_throttled": 0,
        "throttled_usec": 0,
        "nr_bursts": 0,
        "burst_usec": 0
      },
      "memory": 1230925824,
      "processes": {
        "10123": {
          "comm": "docker-init",
          "status": "Name:\tdocker-init\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10123\nNgid:\t0\nPid:\t10123\nPPid:\t10077\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t64\nGroups:\t0 \nNStgid:\t10123\t1\nNSpid:\t10123\t1\nNSpgid:\t10123\t1\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    1060 kB\nVmSize:\t    1060 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t     752 kB\nVmRSS:\t     752 kB\nRssAnon:\t      56 kB\nRssFile:\t     696 kB\nRssShmem:\t       0 kB\nVmData:\t     168 kB\nVmStk:\t     136 kB\nVmExe:\t     548 kB\nVmLib:\t       8 kB\nVmPTE:\t      28 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000300000\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t5170\nnonvoluntary_ctxt_switches:\t3\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10286": {
          "comm": "entrypoint.sh",
          "status": "Name:\tentrypoint.sh\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10286\nNgid:\t0\nPid:\t10286\nPPid:\t10123\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10286\t52\nNSpid:\t10286\t52\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    7988 kB\nVmSize:\t    7988 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    4308 kB\nVmRSS:\t    4308 kB\nRssAnon:\t     872 kB\nRssFile:\t    3436 kB\nRssShmem:\t       0 kB\nVmData:\t     948 kB\nVmStk:\t     136 kB\nVmExe:\t     956 kB\nVmLib:\t    1824 kB\nVmPTE:\t      60 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000010000\nSigIgn:\t0000000000000004\nSigCgt:\t0000000000014002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t526\nnonvoluntary_ctxt_switches:\t3\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10313": {
          "comm": "tritonserver",
          "status": "Name:\ttritonserver\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10313\nNgid:\t0\nPid:\t10313\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10313\t68\nNSpid:\t10313\t68\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t205806720 kB\nVmSize:\t110316616 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t 1053952 kB\nVmRSS:\t 1053952 kB\nRssAnon:\t  438740 kB\nRssFile:\t  342828 kB\nRssShmem:\t  272384 kB\nVmData:\t 1223052 kB\nVmStk:\t     336 kB\nVmExe:\t   10428 kB\nVmLib:\t  648088 kB\nVmPTE:\t    3640 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t76\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000001004\nSigCgt:\t0000000100004422\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t96\nnonvoluntary_ctxt_switches:\t4\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10557": {
          "comm": "python3",
          "status": "Name:\tpython3\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10557\nNgid:\t0\nPid:\t10557\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10557\t196\nNSpid:\t10557\t196\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t14199328 kB\nVmSize:\t14199264 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t  839356 kB\nVmRSS:\t  836580 kB\nRssAnon:\t  419632 kB\nRssFile:\t  373940 kB\nRssShmem:\t   43008 kB\nVmData:\t 1567664 kB\nVmStk:\t     136 kB\nVmExe:\t    2956 kB\nVmLib:\t  849388 kB\nVmPTE:\t    3776 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t101\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000001001004\nSigCgt:\t0000000100004002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t195349\nnonvoluntary_ctxt_switches:\t133\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "92123": {
          "comm": "sleep",
          "status": "Name:\tsleep\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t92123\nNgid:\t0\nPid:\t92123\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t92123\t1907\nNSpid:\t92123\t1907\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    5688 kB\nVmSize:\t    5688 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    2264 kB\nVmRSS:\t    2264 kB\nRssAnon:\t     116 kB\nRssFile:\t    2148 kB\nRssShmem:\t       0 kB\nVmData:\t     224 kB\nVmStk:\t     136 kB\nVmExe:\t      16 kB\nVmLib:\t    1748 kB\nVmPTE:\t      48 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000000006\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t1\nnonvoluntary_ctxt_switches:\t0\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        }
      },
      "threads": {
        "10123": {
          "pid": 10123,
          "comm": "docker-init",
          "start": "129298688",
          "ticks": 28,
          "runtime_ns": 287931468,
          "runqueue_wait_ns": 29155260
        },
        "10286": {
          "pid": 10286,
          "comm": "entrypoint.sh",
          "start": "129298735",
          "ticks": 57,
          "runtime_ns": 572073310,
          "runqueue_wait_ns": 1664262
        },
        "10313": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298755",
          "ticks": 67,
          "runtime_ns": 679424413,
          "runqueue_wait_ns": 1631638
        },
        "10315": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 152401,
          "runqueue_wait_ns": 0
        },
        "10316": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 124278,
          "runqueue_wait_ns": 0
        },
        "10317": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 24684,
          "runqueue_wait_ns": 83244
        },
        "10318": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 33540,
          "runqueue_wait_ns": 0
        },
        "10319": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 44242,
          "runqueue_wait_ns": 0
        },
        "10320": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 40377,
          "runqueue_wait_ns": 146726
        },
        "10321": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 12724,
          "runqueue_wait_ns": 554232
        },
        "10322": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 41736,
          "runqueue_wait_ns": 0
        },
        "10323": {
          "pid": 10313,
          "comm": "cuda00001400006",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 204081,
          "runqueue_wait_ns": 0
        },
        "10324": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298763",
          "ticks": 36,
          "runtime_ns": 367501497,
          "runqueue_wait_ns": 72952775
        },
        "10325": {
          "pid": 10313,
          "comm": "cuda-EvtHandlr",
          "start": "129298763",
          "ticks": 3228,
          "runtime_ns": 32297712399,
          "runqueue_wait_ns": 4760589220
        },
        "10361": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298799",
          "ticks": 217,
          "runtime_ns": 2179085736,
          "runqueue_wait_ns": 367898528
        },
        "10367": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 70,
          "runtime_ns": 712700514,
          "runqueue_wait_ns": 116940
        },
        "10368": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 77,
          "runtime_ns": 778826045,
          "runqueue_wait_ns": 810630
        },
        "10369": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 89,
          "runtime_ns": 904301779,
          "runqueue_wait_ns": 317672
        },
        "10370": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 0,
          "runtime_ns": 47041,
          "runqueue_wait_ns": 0
        },
        "10394": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298920",
          "ticks": 3437,
          "runtime_ns": 34378493646,
          "runqueue_wait_ns": 401750886
        },
        "10395": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298920",
          "ticks": 32840,
          "runtime_ns": 328409935906,
          "runqueue_wait_ns": 1072054448
        },
        "10401": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298947",
          "ticks": 0,
          "runtime_ns": 76885,
          "runqueue_wait_ns": 0
        },
        "10402": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298947",
          "ticks": 0,
          "runtime_ns": 235260,
          "runqueue_wait_ns": 0
        },
        "10414": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298972",
          "ticks": 0,
          "runtime_ns": 116314,
          "runqueue_wait_ns": 0
        },
        "10415": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298972",
          "ticks": 0,
          "runtime_ns": 145259,
          "runqueue_wait_ns": 0
        },
        "10416": {
          "pid": 10313,
          "comm": "MainIOContext",
          "start": "129298973",
          "ticks": 41,
          "runtime_ns": 424059601,
          "runqueue_wait_ns": 69446953
        },
        "10417": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 1736,
          "runtime_ns": 17375366018,
          "runqueue_wait_ns": 4238341667
        },
        "10418": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 1576,
          "runtime_ns": 15769103974,
          "runqueue_wait_ns": 4401309849
        },
        "10419": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 4446434,
          "runqueue_wait_ns": 1504296
        },
        "10420": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 4520512,
          "runqueue_wait_ns": 28007
        },
        "10421": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 3982269,
          "runqueue_wait_ns": 2068785
        },
        "10422": {
          "pid": 10313,
          "comm": "NvmlTaskRunner",
          "start": "129298975",
          "ticks": 1295,
          "runtime_ns": 12957388104,
          "runqueue_wait_ns": 74406807
        },
        "10423": {
          "pid": 10313,
          "comm": "cache_mgr_event",
          "start": "129298976",
          "ticks": 61,
          "runtime_ns": 615643705,
          "runqueue_wait_ns": 41890507
        },
        "10426": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1691,
          "runtime_ns": 16916084590,
          "runqueue_wait_ns": 4165580559
        },
        "10427": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1534,
          "runtime_ns": 15350694930,
          "runqueue_wait_ns": 4378809877
        },
        "10428": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1,
          "runtime_ns": 13875231,
          "runqueue_wait_ns": 7267913
        },
        "10429": {
          "pid": 10313,
          "comm": "cache_mgr_main",
          "start": "129298977",
          "ticks": 95,
          "runtime_ns": 955311124,
          "runqueue_wait_ns": 93895710
        },
        "10430": {
          "pid": 10313,
          "comm": "sysev_thread",
          "start": "129298977",
          "ticks": 49,
          "runtime_ns": 502249230,
          "runqueue_wait_ns": 65264262
        },
        "10431": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 952,
          "runtime_ns": 9533772690,
          "runqueue_wait_ns": 78568428
        },
        "10432": {
          "pid": 10313,
          "comm": "default-executo",
          "start": "129298980",
          "ticks": 25,
          "runtime_ns": 252939131,
          "runqueue_wait_ns": 5333424
        },
        "10433": {
          "pid": 10313,
          "comm": "resolver-execut",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 278815,
          "runqueue_wait_ns": 0
        },
        "10434": {
          "pid": 10313,
          "comm": "grpc_global_tim",
          "start": "129298980",
          "ticks": 30,
          "runtime_ns": 304302153,
          "runqueue_wait_ns": 4989512
        },
        "10435": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6153867,
          "runqueue_wait_ns": 39839
        },
        "10436": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6025666,
          "runqueue_wait_ns": 955194
        },
        "10437": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5455242,
          "runqueue_wait_ns": 0
        },
        "10438": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6214212,
          "runqueue_wait_ns": 378222
        },
        "10439": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5579390,
          "runqueue_wait_ns": 49288
        },
        "10440": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5670189,
          "runqueue_wait_ns": 36790
        },
        "10441": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5197957,
          "runqueue_wait_ns": 0
        },
        "10442": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6111525,
          "runqueue_wait_ns": 542183
        },
        "10443": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5713694,
          "runqueue_wait_ns": 0
        },
        "10444": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 4482265,
          "runqueue_wait_ns": 184187
        },
        "10445": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6017354,
          "runqueue_wait_ns": 56552
        },
        "10446": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5987220,
          "runqueue_wait_ns": 0
        },
        "10447": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5776636,
          "runqueue_wait_ns": 835101
        },
        "10448": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5167333,
          "runqueue_wait_ns": 36005
        },
        "10449": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5492405,
          "runqueue_wait_ns": 62223
        },
        "10450": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5751528,
          "runqueue_wait_ns": 0
        },
        "10451": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6186559,
          "runqueue_wait_ns": 53028
        },
        "10452": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6144228,
          "runqueue_wait_ns": 49734
        },
        "10453": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6140445,
          "runqueue_wait_ns": 302247
        },
        "10454": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5560820,
          "runqueue_wait_ns": 0
        },
        "10455": {
          "pid": 10313,
          "comm": "timer_manager",
          "start": "129298980",
          "ticks": 643,
          "runtime_ns": 6440575805,
          "runqueue_wait_ns": 902079001
        },
        "10456": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 7916,
          "runtime_ns": 79174720327,
          "runqueue_wait_ns": 1266903816
        },
        "10457": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 10169,
          "runtime_ns": 101693493693,
          "runqueue_wait_ns": 3559192763
        },
        "10458": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 10164,
          "runtime_ns": 101658457513,
          "runqueue_wait_ns": 3538220366
        },
        "10459": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 7906,
          "runtime_ns": 79065080329,
          "runqueue_wait_ns": 1193273979
        },
        "10460": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 0,
          "runtime_ns": 187984,
          "runqueue_wait_ns": 0
        },
        "10461": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 0,
          "runtime_ns": 203988,
          "runqueue_wait_ns": 0
        },
        "10462": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298982",
          "ticks": 0,
          "runtime_ns": 262298,
          "runqueue_wait_ns": 0
        },
        "10463": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298982",
          "ticks": 0,
          "runtime_ns": 130970,
          "runqueue_wait_ns": 0
        },
        "10464": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298983",
          "ticks": 0,
          "runtime_ns": 250520,
          "runqueue_wait_ns": 0
        },
        "10465": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298983",
          "ticks": 0,
          "runtime_ns": 246555,
          "runqueue_wait_ns": 0
        },
        "10466": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298984",
          "ticks": 0,
          "runtime_ns": 209682,
          "runqueue_wait_ns": 0
        },
        "10467": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298984",
          "ticks": 0,
          "runtime_ns": 262877,
          "runqueue_wait_ns": 0
        },
        "10468": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 66711,
          "runqueue_wait_ns": 0
        },
        "10469": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 219565,
          "runqueue_wait_ns": 167517
        },
        "10470": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 55060,
          "runqueue_wait_ns": 0
        },
        "10557": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299219",
          "ticks": 2340,
          "runtime_ns": 23403684356,
          "runqueue_wait_ns": 784162743
        },
        "10665": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129299374",
          "ticks": 61,
          "runtime_ns": 622596757,
          "runqueue_wait_ns": 80086275
        },
        "10666": {
          "pid": 10557,
          "comm": "default-executo",
          "start": "129299374",
          "ticks": 0,
          "runtime_ns": 118180,
          "runqueue_wait_ns": 12692
        },
        "10668": {
          "pid": 10557,
          "comm": "resolver-execut",
          "start": "129299374",
          "ticks": 0,
          "runtime_ns": 185009,
          "runqueue_wait_ns": 0
        },
        "10670": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 65,
          "runtime_ns": 657464611,
          "runqueue_wait_ns": 63617179
        },
        "10673": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 66,
          "runtime_ns": 669587694,
          "runqueue_wait_ns": 59894901
        },
        "10675": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 52,
          "runtime_ns": 528384595,
          "runqueue_wait_ns": 47549627
        },
        "10677": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 106,
          "runtime_ns": 1071432286,
          "runqueue_wait_ns": 88535336
        },
        "10679": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 100,
          "runtime_ns": 1002773268,
          "runqueue_wait_ns": 104637282
        },
        "10681": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 132,
          "runtime_ns": 1326355874,
          "runqueue_wait_ns": 125341570
        },
        "10684": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 37,
          "runtime_ns": 380755600,
          "runqueue_wait_ns": 44865190
        },
        "10686": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 83,
          "runtime_ns": 835061600,
          "runqueue_wait_ns": 94744583
        },
        "10688": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 51,
          "runtime_ns": 526500684,
          "runqueue_wait_ns": 69188123
        },
        "10690": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 94,
          "runtime_ns": 956561076,
          "runqueue_wait_ns": 98029947
        },
        "10692": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 67,
          "runtime_ns": 677568165,
          "runqueue_wait_ns": 101040389
        },
        "10694": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 83,
          "runtime_ns": 839681101,
          "runqueue_wait_ns": 120515323
        },
        "10696": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 112,
          "runtime_ns": 1135939568,
          "runqueue_wait_ns": 130099677
        },
        "10698": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 41,
          "runtime_ns": 423575356,
          "runqueue_wait_ns": 40802819
        },
        "10700": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 121,
          "runtime_ns": 1225415589,
          "runqueue_wait_ns": 110096649
        },
        "10702": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 47,
          "runtime_ns": 484792363,
          "runqueue_wait_ns": 50121018
        },
        "10704": {
          "pid": 10557,
          "comm": "lifeguard",
          "start": "129299374",
          "ticks": 26,
          "runtime_ns": 269688053,
          "runqueue_wait_ns": 30504214
        },
        "10708": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299393",
          "ticks": 5652,
          "runtime_ns": 56534053188,
          "runqueue_wait_ns": 1276671011
        },
        "10709": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299397",
          "ticks": 0,
          "runtime_ns": 8632419,
          "runqueue_wait_ns": 0
        },
        "10835": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129299819",
          "ticks": 57,
          "runtime_ns": 575937985,
          "runqueue_wait_ns": 73641760
        },
        "10857": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299895",
          "ticks": 46,
          "runtime_ns": 473285147,
          "runqueue_wait_ns": 6268318
        },
        "10921": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300004",
          "ticks": 2,
          "runtime_ns": 34844975,
          "runqueue_wait_ns": 706129
        },
        "10922": {
          "pid": 10557,
          "comm": "cuda00004800013",
          "start": "129300017",
          "ticks": 0,
          "runtime_ns": 199017,
          "runqueue_wait_ns": 0
        },
        "10924": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300021",
          "ticks": 37,
          "runtime_ns": 379685407,
          "runqueue_wait_ns": 65297429
        },
        "10925": {
          "pid": 10557,
          "comm": "cuda-EvtHandlr",
          "start": "129300021",
          "ticks": 4417,
          "runtime_ns": 44185629154,
          "runqueue_wait_ns": 4685241372
        },
        "10927": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300058",
          "ticks": 214,
          "runtime_ns": 2156143328,
          "runqueue_wait_ns": 373026373
        },
        "10928": {
          "pid": 10557,
          "comm": "pool-spawner",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 4769541,
          "runqueue_wait_ns": 16911
        },
        "10929": {
          "pid": 10557,
          "comm": "default-executo",
          "start": "129300059",
          "ticks": 274,
          "runtime_ns": 2750727136,
          "runqueue_wait_ns": 53130822
        },
        "10930": {
          "pid": 10557,
          "comm": "resolver-execut",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 164624,
          "runqueue_wait_ns": 0
        },
        "10931": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129300059",
          "ticks": 70,
          "runtime_ns": 711239461,
          "runqueue_wait_ns": 80702878
        },
        "10932": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5495989,
          "runqueue_wait_ns": 0
        },
        "10933": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5496333,
          "runqueue_wait_ns": 17848
        },
        "10934": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5821101,
          "runqueue_wait_ns": 0
        },
        "10935": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6098382,
          "runqueue_wait_ns": 25254
        },
        "10936": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6647132,
          "runqueue_wait_ns": 0
        },
        "10937": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5439623,
          "runqueue_wait_ns": 28751
        },
        "10938": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5716962,
          "runqueue_wait_ns": 0
        },
        "10939": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5831660,
          "runqueue_wait_ns": 150922
        },
        "10940": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5447083,
          "runqueue_wait_ns": 153454
        },
        "10941": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5981307,
          "runqueue_wait_ns": 0
        },
        "10942": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5572567,
          "runqueue_wait_ns": 0
        },
        "10943": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5903431,
          "runqueue_wait_ns": 0
        },
        "10944": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5198738,
          "runqueue_wait_ns": 16654
        },
        "10945": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5653739,
          "runqueue_wait_ns": 477575
        },
        "10946": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6063033,
          "runqueue_wait_ns": 0
        },
        "10947": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6498960,
          "runqueue_wait_ns": 0
        },
        "10948": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5484859,
          "runqueue_wait_ns": 0
        },
        "10949": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6123289,
          "runqueue_wait_ns": 0
        },
        "10950": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5492966,
          "runqueue_wait_ns": 0
        },
        "10951": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5709194,
          "runqueue_wait_ns": 134035
        },
        "10952": {
          "pid": 10557,
          "comm": "timer_manager",
          "start": "129300059",
          "ticks": 767,
          "runtime_ns": 7672776149,
          "runqueue_wait_ns": 876931411
        },
        "10960": {
          "pid": 10557,
          "comm": "gmain",
          "start": "129300083",
          "ticks": 0,
          "runtime_ns": 197365,
          "runqueue_wait_ns": 0
        },
        "10961": {
          "pid": 10557,
          "comm": "dconf worker",
          "start": "129300083",
          "ticks": 0,
          "runtime_ns": 888016,
          "runqueue_wait_ns": 0
        },
        "10998": {
          "pid": 10557,
          "comm": "preprocess-queu",
          "start": "129300197",
          "ticks": 18724,
          "runtime_ns": 187249738972,
          "runqueue_wait_ns": 1518934247
        },
        "11057": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129300559",
          "ticks": 72,
          "runtime_ns": 731146348,
          "runqueue_wait_ns": 64404120
        },
        "61341": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619155",
          "ticks": 53250,
          "runtime_ns": 532511338205,
          "runqueue_wait_ns": 4494591074
        },
        "61342": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619155",
          "ticks": 0,
          "runtime_ns": 11063790,
          "runqueue_wait_ns": 0
        },
        "61343": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619156",
          "ticks": 8,
          "runtime_ns": 86311637,
          "runqueue_wait_ns": 12383634
        },
        "61344": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619156",
          "ticks": 888,
          "runtime_ns": 8893332351,
          "runqueue_wait_ns": 802194788
        },
        "61345": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619157",
          "ticks": 6,
          "runtime_ns": 67370183,
          "runqueue_wait_ns": 229719
        },
        "61346": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619158",
          "ticks": 2938,
          "runtime_ns": 29395843673,
          "runqueue_wait_ns": 241744143
        },
        "61347": {
          "pid": 10557,
          "comm": "PostCuda",
          "start": "129619161",
          "ticks": 148,
          "runtime_ns": 1495049677,
          "runqueue_wait_ns": 40867547
        },
        "61348": {
          "pid": 10557,
          "comm": "PostHost",
          "start": "129619161",
          "ticks": 129,
          "runtime_ns": 1302421800,
          "runqueue_wait_ns": 29443013
        },
        "61349": {
          "pid": 10557,
          "comm": "GstInferServImp",
          "start": "129619161",
          "ticks": 35638,
          "runtime_ns": 356388431158,
          "runqueue_wait_ns": 512011854
        },
        "61350": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619161",
          "ticks": 323,
          "runtime_ns": 3232142506,
          "runqueue_wait_ns": 260095562
        },
        "61351": {
          "pid": 10557,
          "comm": "task7",
          "start": "129619161",
          "ticks": 2381,
          "runtime_ns": 23821613889,
          "runqueue_wait_ns": 248301636
        },
        "61352": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619161",
          "ticks": 652,
          "runtime_ns": 6525355276,
          "runqueue_wait_ns": 131003734
        },
        "61354": {
          "pid": 10557,
          "comm": "rtpsession-rtcp",
          "start": "129619162",
          "ticks": 24,
          "runtime_ns": 248481526,
          "runqueue_wait_ns": 14163104
        },
        "61355": {
          "pid": 10557,
          "comm": "timer",
          "start": "129619168",
          "ticks": 0,
          "runtime_ns": 1246540,
          "runqueue_wait_ns": 6421
        },
        "61356": {
          "pid": 10557,
          "comm": "rtpjitterbuffer",
          "start": "129619168",
          "ticks": 1742,
          "runtime_ns": 17430374169,
          "runqueue_wait_ns": 727843532
        },
        "61369": {
          "pid": 10557,
          "comm": "queue:src",
          "start": "129619268",
          "ticks": 592,
          "runtime_ns": 5925537580,
          "runqueue_wait_ns": 165959075
        },
        "61370": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619271",
          "ticks": 514,
          "runtime_ns": 5157786403,
          "runqueue_wait_ns": 457731729
        },
        "61371": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619271",
          "ticks": 509,
          "runtime_ns": 5100234681,
          "runqueue_wait_ns": 487855272
        },
        "61372": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619274",
          "ticks": 36,
          "runtime_ns": 379374203,
          "runqueue_wait_ns": 60026620
        },
        "61374": {
          "pid": 10557,
          "comm": "batch_capture-m",
          "start": "129619277",
          "ticks": 3763,
          "runtime_ns": 37641051863,
          "runqueue_wait_ns": 1031153453
        },
        "61375": {
          "pid": 10557,
          "comm": "nvv4l2decoder1:",
          "start": "129619277",
          "ticks": 300,
          "runtime_ns": 3004023953,
          "runqueue_wait_ns": 180509556
        },
        "81374": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743412",
          "ticks": 22321,
          "runtime_ns": 223219470053,
          "runqueue_wait_ns": 4243878123
        },
        "81375": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743414",
          "ticks": 0,
          "runtime_ns": 11421759,
          "runqueue_wait_ns": 414733
        },
        "81376": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743415",
          "ticks": 3,
          "runtime_ns": 42356356,
          "runqueue_wait_ns": 10132590
        },
        "81377": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743415",
          "ticks": 391,
          "runtime_ns": 3928630546,
          "runqueue_wait_ns": 499878584
        },
        "81378": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743417",
          "ticks": 4,
          "runtime_ns": 51499986,
          "runqueue_wait_ns": 26190
        },
        "81379": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743418",
          "ticks": 1098,
          "runtime_ns": 10990473342,
          "runqueue_wait_ns": 146963605
        },
        "81380": {
          "pid": 10557,
          "comm": "PostCuda",
          "start": "129743424",
          "ticks": 48,
          "runtime_ns": 489374291,
          "runqueue_wait_ns": 52093707
        },
        "81381": {
          "pid": 10557,
          "comm": "PostHost",
          "start": "129743424",
          "ticks": 44,
          "runtime_ns": 441508780,
          "runqueue_wait_ns": 45530521
        },
        "81382": {
          "pid": 10557,
          "comm": "GstInferServImp",
          "start": "129743424",
          "ticks": 13318,
          "runtime_ns": 133182537490,
          "runqueue_wait_ns": 1384437560
        },
        "81383": {
          "pid": 10557,
          "comm": "preprocess-queu",
          "start": "129743424",
          "ticks": 6726,
          "runtime_ns": 67263429090,
          "runqueue_wait_ns": 433922022
        },
        "81384": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743424",
          "ticks": 111,
          "runtime_ns": 1114727721,
          "runqueue_wait_ns": 57174935
        },
        "81385": {
          "pid": 10557,
          "comm": "task14",
          "start": "129743424",
          "ticks": 1017,
          "runtime_ns": 10182184978,
          "runqueue_wait_ns": 116480557
        },
        "81386": {
          "pid": 10557,
          "comm": "rtpjitterbuffer",
          "start": "129743424",
          "ticks": 653,
          "runtime_ns": 6545385786,
          "runqueue_wait_ns": 90816141
        },
        "81402": {
          "pid": 10557,
          "comm": "rtpsession-rtcp",
          "start": "129743526",
          "ticks": 7,
          "runtime_ns": 79739423,
          "runqueue_wait_ns": 8157182
        },
        "81403": {
          "pid": 10557,
          "comm": "timer",
          "start": "129743535",
          "ticks": 0,
          "runtime_ns": 206640,
          "runqueue_wait_ns": 0
        },
        "81404": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743535",
          "ticks": 211,
          "runtime_ns": 2122882616,
          "runqueue_wait_ns": 21395361
        },
        "81405": {
          "pid": 10557,
          "comm": "queue:src",
          "start": "129743535",
          "ticks": 204,
          "runtime_ns": 2042337737,
          "runqueue_wait_ns": 27672370
        },
        "81406": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743538",
          "ticks": 160,
          "runtime_ns": 1607709218,
          "runqueue_wait_ns": 70720436
        },
        "81407": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743538",
          "ticks": 166,
          "runtime_ns": 1669022038,
          "runqueue_wait_ns": 92690958
        },
        "81409": {
          "pid": 10557,
          "comm": "batch_capture-m",
          "start": "129743543",
          "ticks": 1240,
          "runtime_ns": 12409441796,
          "runqueue_wait_ns": 293845350
        },
        "81410": {
          "pid": 10557,
          "comm": "nvv4l2decoder2:",
          "start": "129743543",
          "ticks": 101,
          "runtime_ns": 1018838703,
          "runqueue_wait_ns": 37139783
        },
        "92123": {
          "pid": 92123,
          "comm": "sleep",
          "start": "129811408",
          "ticks": 0,
          "runtime_ns": 1835324,
          "runqueue_wait_ns": 0
        }
      },
      "mem_available": 21290786816,
      "gpu": [
        [
          4936,
          49140,
          23
        ]
      ],
      "ticks_per_second": 100
    },
    {
      "at": 1298135.595619228,
      "cgroup": "/sys/fs/cgroup/system.slice/docker-fe7ce4dd9d4f9c1cf849b82737609540e6b48489f050a2ff21488aeb3c659aae.scope",
      "cpu": {
        "usage_usec": 4651314869,
        "user_usec": 4012530391,
        "system_usec": 638784478,
        "core_sched.force_idle_usec": 0,
        "nr_periods": 0,
        "nr_throttled": 0,
        "throttled_usec": 0,
        "nr_bursts": 0,
        "burst_usec": 0
      },
      "memory": 1226653696,
      "processes": {
        "10123": {
          "comm": "docker-init",
          "status": "Name:\tdocker-init\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10123\nNgid:\t0\nPid:\t10123\nPPid:\t10077\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t64\nGroups:\t0 \nNStgid:\t10123\t1\nNSpid:\t10123\t1\nNSpgid:\t10123\t1\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    1060 kB\nVmSize:\t    1060 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t     752 kB\nVmRSS:\t     752 kB\nRssAnon:\t      56 kB\nRssFile:\t     696 kB\nRssShmem:\t       0 kB\nVmData:\t     168 kB\nVmStk:\t     136 kB\nVmExe:\t     548 kB\nVmLib:\t       8 kB\nVmPTE:\t      28 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000300000\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t5188\nnonvoluntary_ctxt_switches:\t3\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10286": {
          "comm": "entrypoint.sh",
          "status": "Name:\tentrypoint.sh\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10286\nNgid:\t0\nPid:\t10286\nPPid:\t10123\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10286\t52\nNSpid:\t10286\t52\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    7988 kB\nVmSize:\t    7988 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    4308 kB\nVmRSS:\t    4308 kB\nRssAnon:\t     872 kB\nRssFile:\t    3436 kB\nRssShmem:\t       0 kB\nVmData:\t     948 kB\nVmStk:\t     136 kB\nVmExe:\t     956 kB\nVmLib:\t    1824 kB\nVmPTE:\t      60 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000010000\nSigIgn:\t0000000000000004\nSigCgt:\t0000000000014002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t528\nnonvoluntary_ctxt_switches:\t3\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10313": {
          "comm": "tritonserver",
          "status": "Name:\ttritonserver\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10313\nNgid:\t0\nPid:\t10313\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10313\t68\nNSpid:\t10313\t68\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t205806720 kB\nVmSize:\t110316616 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t 1053952 kB\nVmRSS:\t 1053952 kB\nRssAnon:\t  438740 kB\nRssFile:\t  342828 kB\nRssShmem:\t  272384 kB\nVmData:\t 1223052 kB\nVmStk:\t     336 kB\nVmExe:\t   10428 kB\nVmLib:\t  648088 kB\nVmPTE:\t    3640 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t76\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000001004\nSigCgt:\t0000000100004422\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t96\nnonvoluntary_ctxt_switches:\t4\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "10557": {
          "comm": "python3",
          "status": "Name:\tpython3\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t10557\nNgid:\t0\nPid:\t10557\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t10557\t196\nNSpid:\t10557\t196\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t14199328 kB\nVmSize:\t14199264 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t  839356 kB\nVmRSS:\t  832700 kB\nRssAnon:\t  415752 kB\nRssFile:\t  373940 kB\nRssShmem:\t   43008 kB\nVmData:\t 1567664 kB\nVmStk:\t     136 kB\nVmExe:\t    2956 kB\nVmLib:\t  849388 kB\nVmPTE:\t    3776 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t101\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000001001004\nSigCgt:\t0000000100004002\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t202510\nnonvoluntary_ctxt_switches:\t135\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        },
        "92728": {
          "comm": "sleep",
          "status": "Name:\tsleep\nUmask:\t0022\nState:\tS (sleeping)\nTgid:\t92728\nNgid:\t0\nPid:\t92728\nPPid:\t10286\nTracerPid:\t0\nUid:\t0\t0\t0\t0\nGid:\t0\t0\t0\t0\nFDSize:\t256\nGroups:\t0 \nNStgid:\t92728\t1921\nNSpid:\t92728\t1921\nNSpgid:\t10286\t52\nNSsid:\t10123\t1\nKthread:\t0\nVmPeak:\t    5688 kB\nVmSize:\t    5688 kB\nVmLck:\t       0 kB\nVmPin:\t       0 kB\nVmHWM:\t    2188 kB\nVmRSS:\t    2188 kB\nRssAnon:\t     120 kB\nRssFile:\t    2068 kB\nRssShmem:\t       0 kB\nVmData:\t     224 kB\nVmStk:\t     136 kB\nVmExe:\t      16 kB\nVmLib:\t    1748 kB\nVmPTE:\t      56 kB\nVmSwap:\t       0 kB\nHugetlbPages:\t       0 kB\nCoreDumping:\t0\nTHP_enabled:\t1\nuntag_mask:\t0xffffffffffffffff\nThreads:\t1\nSigQ:\t1/156236\nSigPnd:\t0000000000000000\nShdPnd:\t0000000000000000\nSigBlk:\t0000000000000000\nSigIgn:\t0000000000000006\nSigCgt:\t0000000000000000\nCapInh:\t0000000000000000\nCapPrm:\t00000000a98425fb\nCapEff:\t00000000a98425fb\nCapBnd:\t00000000a98425fb\nCapAmb:\t0000000000000000\nNoNewPrivs:\t0\nSeccomp:\t2\nSeccomp_filters:\t1\nSpeculation_Store_Bypass:\tvulnerable\nSpeculationIndirectBranch:\talways enabled\nCpus_allowed:\tfffff\nCpus_allowed_list:\t0-19\nMems_allowed:\t00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001\nMems_allowed_list:\t0\nvoluntary_ctxt_switches:\t1\nnonvoluntary_ctxt_switches:\t0\nx86_Thread_features:\t\nx86_Thread_features_locked:\t\n"
        }
      },
      "threads": {
        "10123": {
          "pid": 10123,
          "comm": "docker-init",
          "start": "129298688",
          "ticks": 28,
          "runtime_ns": 288770026,
          "runqueue_wait_ns": 29196101
        },
        "10286": {
          "pid": 10286,
          "comm": "entrypoint.sh",
          "start": "129298735",
          "ticks": 57,
          "runtime_ns": 573766599,
          "runqueue_wait_ns": 1664262
        },
        "10313": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298755",
          "ticks": 67,
          "runtime_ns": 679424413,
          "runqueue_wait_ns": 1631638
        },
        "10315": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 152401,
          "runqueue_wait_ns": 0
        },
        "10316": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 124278,
          "runqueue_wait_ns": 0
        },
        "10317": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 24684,
          "runqueue_wait_ns": 83244
        },
        "10318": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 33540,
          "runqueue_wait_ns": 0
        },
        "10319": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 44242,
          "runqueue_wait_ns": 0
        },
        "10320": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 40377,
          "runqueue_wait_ns": 146726
        },
        "10321": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 12724,
          "runqueue_wait_ns": 554232
        },
        "10322": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 41736,
          "runqueue_wait_ns": 0
        },
        "10323": {
          "pid": 10313,
          "comm": "cuda00001400006",
          "start": "129298758",
          "ticks": 0,
          "runtime_ns": 204081,
          "runqueue_wait_ns": 0
        },
        "10324": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298763",
          "ticks": 36,
          "runtime_ns": 368990559,
          "runqueue_wait_ns": 73435444
        },
        "10325": {
          "pid": 10313,
          "comm": "cuda-EvtHandlr",
          "start": "129298763",
          "ticks": 3247,
          "runtime_ns": 32481002421,
          "runqueue_wait_ns": 4796556499
        },
        "10361": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298799",
          "ticks": 218,
          "runtime_ns": 2185665424,
          "runqueue_wait_ns": 368105233
        },
        "10367": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 70,
          "runtime_ns": 712700514,
          "runqueue_wait_ns": 116940
        },
        "10368": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 77,
          "runtime_ns": 778826045,
          "runqueue_wait_ns": 810630
        },
        "10369": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 89,
          "runtime_ns": 904301779,
          "runqueue_wait_ns": 317672
        },
        "10370": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298818",
          "ticks": 0,
          "runtime_ns": 47041,
          "runqueue_wait_ns": 0
        },
        "10394": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298920",
          "ticks": 3459,
          "runtime_ns": 34595559549,
          "runqueue_wait_ns": 403225220
        },
        "10395": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298920",
          "ticks": 33056,
          "runtime_ns": 330571258177,
          "runqueue_wait_ns": 1092428047
        },
        "10401": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298947",
          "ticks": 0,
          "runtime_ns": 76885,
          "runqueue_wait_ns": 0
        },
        "10402": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298947",
          "ticks": 0,
          "runtime_ns": 235260,
          "runqueue_wait_ns": 0
        },
        "10414": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298972",
          "ticks": 0,
          "runtime_ns": 116314,
          "runqueue_wait_ns": 0
        },
        "10415": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298972",
          "ticks": 0,
          "runtime_ns": 145259,
          "runqueue_wait_ns": 0
        },
        "10416": {
          "pid": 10313,
          "comm": "MainIOContext",
          "start": "129298973",
          "ticks": 41,
          "runtime_ns": 425610750,
          "runqueue_wait_ns": 69463800
        },
        "10417": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 1742,
          "runtime_ns": 17433433534,
          "runqueue_wait_ns": 4264907372
        },
        "10418": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 1581,
          "runtime_ns": 15823231287,
          "runqueue_wait_ns": 4433000646
        },
        "10419": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 4446434,
          "runqueue_wait_ns": 1504296
        },
        "10420": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 4520512,
          "runqueue_wait_ns": 28007
        },
        "10421": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298973",
          "ticks": 0,
          "runtime_ns": 3982269,
          "runqueue_wait_ns": 2068785
        },
        "10422": {
          "pid": 10313,
          "comm": "NvmlTaskRunner",
          "start": "129298975",
          "ticks": 1299,
          "runtime_ns": 13000180291,
          "runqueue_wait_ns": 74664007
        },
        "10423": {
          "pid": 10313,
          "comm": "cache_mgr_event",
          "start": "129298976",
          "ticks": 61,
          "runtime_ns": 617651761,
          "runqueue_wait_ns": 43448493
        },
        "10426": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1696,
          "runtime_ns": 16973918729,
          "runqueue_wait_ns": 4192569323
        },
        "10427": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1539,
          "runtime_ns": 15402993584,
          "runqueue_wait_ns": 4407294930
        },
        "10428": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298977",
          "ticks": 1,
          "runtime_ns": 13948313,
          "runqueue_wait_ns": 7267913
        },
        "10429": {
          "pid": 10313,
          "comm": "cache_mgr_main",
          "start": "129298977",
          "ticks": 95,
          "runtime_ns": 958795266,
          "runqueue_wait_ns": 93906734
        },
        "10430": {
          "pid": 10313,
          "comm": "sysev_thread",
          "start": "129298977",
          "ticks": 49,
          "runtime_ns": 504504163,
          "runqueue_wait_ns": 65264262
        },
        "10431": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 956,
          "runtime_ns": 9568981753,
          "runqueue_wait_ns": 78568428
        },
        "10432": {
          "pid": 10313,
          "comm": "default-executo",
          "start": "129298980",
          "ticks": 25,
          "runtime_ns": 255456661,
          "runqueue_wait_ns": 5807879
        },
        "10433": {
          "pid": 10313,
          "comm": "resolver-execut",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 278815,
          "runqueue_wait_ns": 0
        },
        "10434": {
          "pid": 10313,
          "comm": "grpc_global_tim",
          "start": "129298980",
          "ticks": 30,
          "runtime_ns": 305203060,
          "runqueue_wait_ns": 4989512
        },
        "10435": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6153867,
          "runqueue_wait_ns": 39839
        },
        "10436": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6025666,
          "runqueue_wait_ns": 955194
        },
        "10437": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5455242,
          "runqueue_wait_ns": 0
        },
        "10438": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6214212,
          "runqueue_wait_ns": 378222
        },
        "10439": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5579390,
          "runqueue_wait_ns": 49288
        },
        "10440": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5670189,
          "runqueue_wait_ns": 36790
        },
        "10441": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5197957,
          "runqueue_wait_ns": 0
        },
        "10442": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6111525,
          "runqueue_wait_ns": 542183
        },
        "10443": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5713694,
          "runqueue_wait_ns": 0
        },
        "10444": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 4622979,
          "runqueue_wait_ns": 184187
        },
        "10445": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6052725,
          "runqueue_wait_ns": 56552
        },
        "10446": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6107286,
          "runqueue_wait_ns": 0
        },
        "10447": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5776636,
          "runqueue_wait_ns": 835101
        },
        "10448": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5167333,
          "runqueue_wait_ns": 36005
        },
        "10449": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5492405,
          "runqueue_wait_ns": 62223
        },
        "10450": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5751528,
          "runqueue_wait_ns": 0
        },
        "10451": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6186559,
          "runqueue_wait_ns": 53028
        },
        "10452": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6144228,
          "runqueue_wait_ns": 49734
        },
        "10453": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 6140445,
          "runqueue_wait_ns": 302247
        },
        "10454": {
          "pid": 10313,
          "comm": "event_engine",
          "start": "129298980",
          "ticks": 0,
          "runtime_ns": 5560820,
          "runqueue_wait_ns": 0
        },
        "10455": {
          "pid": 10313,
          "comm": "timer_manager",
          "start": "129298980",
          "ticks": 645,
          "runtime_ns": 6457122640,
          "runqueue_wait_ns": 907027199
        },
        "10456": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 7960,
          "runtime_ns": 79608208360,
          "runqueue_wait_ns": 1283350743
        },
        "10457": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 10243,
          "runtime_ns": 102441269656,
          "runqueue_wait_ns": 3604735291
        },
        "10458": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298980",
          "ticks": 10232,
          "runtime_ns": 102336235683,
          "runqueue_wait_ns": 3576032773
        },
        "10459": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 7963,
          "runtime_ns": 79637293203,
          "runqueue_wait_ns": 1210467088
        },
        "10460": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 0,
          "runtime_ns": 187984,
          "runqueue_wait_ns": 0
        },
        "10461": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298981",
          "ticks": 0,
          "runtime_ns": 203988,
          "runqueue_wait_ns": 0
        },
        "10462": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298982",
          "ticks": 0,
          "runtime_ns": 262298,
          "runqueue_wait_ns": 0
        },
        "10463": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298982",
          "ticks": 0,
          "runtime_ns": 130970,
          "runqueue_wait_ns": 0
        },
        "10464": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298983",
          "ticks": 0,
          "runtime_ns": 250520,
          "runqueue_wait_ns": 0
        },
        "10465": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298983",
          "ticks": 0,
          "runtime_ns": 246555,
          "runqueue_wait_ns": 0
        },
        "10466": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298984",
          "ticks": 0,
          "runtime_ns": 209682,
          "runqueue_wait_ns": 0
        },
        "10467": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298984",
          "ticks": 0,
          "runtime_ns": 262877,
          "runqueue_wait_ns": 0
        },
        "10468": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 66711,
          "runqueue_wait_ns": 0
        },
        "10469": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 219565,
          "runqueue_wait_ns": 167517
        },
        "10470": {
          "pid": 10313,
          "comm": "tritonserver",
          "start": "129298985",
          "ticks": 0,
          "runtime_ns": 55060,
          "runqueue_wait_ns": 0
        },
        "10557": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299219",
          "ticks": 2378,
          "runtime_ns": 23796080942,
          "runqueue_wait_ns": 794519536
        },
        "10665": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129299374",
          "ticks": 62,
          "runtime_ns": 625807646,
          "runqueue_wait_ns": 80098408
        },
        "10666": {
          "pid": 10557,
          "comm": "default-executo",
          "start": "129299374",
          "ticks": 0,
          "runtime_ns": 118180,
          "runqueue_wait_ns": 12692
        },
        "10668": {
          "pid": 10557,
          "comm": "resolver-execut",
          "start": "129299374",
          "ticks": 0,
          "runtime_ns": 185009,
          "runqueue_wait_ns": 0
        },
        "10670": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 65,
          "runtime_ns": 658546373,
          "runqueue_wait_ns": 63617179
        },
        "10673": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 68,
          "runtime_ns": 688056574,
          "runqueue_wait_ns": 67348310
        },
        "10675": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 52,
          "runtime_ns": 529995015,
          "runqueue_wait_ns": 47570971
        },
        "10677": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 106,
          "runtime_ns": 1072373455,
          "runqueue_wait_ns": 88535336
        },
        "10679": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 100,
          "runtime_ns": 1003497344,
          "runqueue_wait_ns": 104637282
        },
        "10681": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 132,
          "runtime_ns": 1327241006,
          "runqueue_wait_ns": 125341570
        },
        "10684": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 37,
          "runtime_ns": 381606332,
          "runqueue_wait_ns": 44865190
        },
        "10686": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 83,
          "runtime_ns": 836048110,
          "runqueue_wait_ns": 94744583
        },
        "10688": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 51,
          "runtime_ns": 527443120,
          "runqueue_wait_ns": 69188123
        },
        "10690": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 95,
          "runtime_ns": 957529222,
          "runqueue_wait_ns": 98068595
        },
        "10692": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 67,
          "runtime_ns": 678553466,
          "runqueue_wait_ns": 101040389
        },
        "10694": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 83,
          "runtime_ns": 840487792,
          "runqueue_wait_ns": 120644042
        },
        "10696": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 112,
          "runtime_ns": 1136997170,
          "runqueue_wait_ns": 132236844
        },
        "10698": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 42,
          "runtime_ns": 431123067,
          "runqueue_wait_ns": 40907978
        },
        "10700": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 121,
          "runtime_ns": 1226351526,
          "runqueue_wait_ns": 110680899
        },
        "10702": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129299374",
          "ticks": 47,
          "runtime_ns": 485652511,
          "runqueue_wait_ns": 50121018
        },
        "10704": {
          "pid": 10557,
          "comm": "lifeguard",
          "start": "129299374",
          "ticks": 26,
          "runtime_ns": 270562135,
          "runqueue_wait_ns": 30504214
        },
        "10708": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299393",
          "ticks": 5688,
          "runtime_ns": 56888877468,
          "runqueue_wait_ns": 1288024183
        },
        "10709": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299397",
          "ticks": 0,
          "runtime_ns": 8632419,
          "runqueue_wait_ns": 0
        },
        "10835": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129299819",
          "ticks": 57,
          "runtime_ns": 576295774,
          "runqueue_wait_ns": 73641760
        },
        "10857": {
          "pid": 10557,
          "comm": "python3",
          "start": "129299895",
          "ticks": 60,
          "runtime_ns": 608607557,
          "runqueue_wait_ns": 8882679
        },
        "10921": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300004",
          "ticks": 2,
          "runtime_ns": 34966433,
          "runqueue_wait_ns": 706129
        },
        "10922": {
          "pid": 10557,
          "comm": "cuda00004800013",
          "start": "129300017",
          "ticks": 0,
          "runtime_ns": 199017,
          "runqueue_wait_ns": 0
        },
        "10924": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300021",
          "ticks": 37,
          "runtime_ns": 380704493,
          "runqueue_wait_ns": 67092063
        },
        "10925": {
          "pid": 10557,
          "comm": "cuda-EvtHandlr",
          "start": "129300021",
          "ticks": 4443,
          "runtime_ns": 44444061830,
          "runqueue_wait_ns": 4715251852
        },
        "10927": {
          "pid": 10557,
          "comm": "python3",
          "start": "129300058",
          "ticks": 215,
          "runtime_ns": 2163016746,
          "runqueue_wait_ns": 373585071
        },
        "10928": {
          "pid": 10557,
          "comm": "pool-spawner",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 4769541,
          "runqueue_wait_ns": 16911
        },
        "10929": {
          "pid": 10557,
          "comm": "default-executo",
          "start": "129300059",
          "ticks": 283,
          "runtime_ns": 2836384938,
          "runqueue_wait_ns": 59558610
        },
        "10930": {
          "pid": 10557,
          "comm": "resolver-execut",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 164624,
          "runqueue_wait_ns": 0
        },
        "10931": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129300059",
          "ticks": 70,
          "runtime_ns": 712362988,
          "runqueue_wait_ns": 80706038
        },
        "10932": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5495989,
          "runqueue_wait_ns": 0
        },
        "10933": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5496333,
          "runqueue_wait_ns": 17848
        },
        "10934": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5821101,
          "runqueue_wait_ns": 0
        },
        "10935": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6098382,
          "runqueue_wait_ns": 25254
        },
        "10936": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6647132,
          "runqueue_wait_ns": 0
        },
        "10937": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5439623,
          "runqueue_wait_ns": 28751
        },
        "10938": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5716962,
          "runqueue_wait_ns": 0
        },
        "10939": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5831660,
          "runqueue_wait_ns": 150922
        },
        "10940": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5447083,
          "runqueue_wait_ns": 153454
        },
        "10941": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5981307,
          "runqueue_wait_ns": 0
        },
        "10942": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5572567,
          "runqueue_wait_ns": 0
        },
        "10943": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5903431,
          "runqueue_wait_ns": 0
        },
        "10944": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5198738,
          "runqueue_wait_ns": 16654
        },
        "10945": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5653739,
          "runqueue_wait_ns": 477575
        },
        "10946": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6063033,
          "runqueue_wait_ns": 0
        },
        "10947": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6498960,
          "runqueue_wait_ns": 0
        },
        "10948": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5484859,
          "runqueue_wait_ns": 0
        },
        "10949": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 6350276,
          "runqueue_wait_ns": 0
        },
        "10950": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5587698,
          "runqueue_wait_ns": 0
        },
        "10951": {
          "pid": 10557,
          "comm": "event_engine",
          "start": "129300059",
          "ticks": 0,
          "runtime_ns": 5709194,
          "runqueue_wait_ns": 134035
        },
        "10952": {
          "pid": 10557,
          "comm": "timer_manager",
          "start": "129300059",
          "ticks": 769,
          "runtime_ns": 7694216378,
          "runqueue_wait_ns": 877915891
        },
        "10960": {
          "pid": 10557,
          "comm": "gmain",
          "start": "129300083",
          "ticks": 0,
          "runtime_ns": 197365,
          "runqueue_wait_ns": 0
        },
        "10961": {
          "pid": 10557,
          "comm": "dconf worker",
          "start": "129300083",
          "ticks": 0,
          "runtime_ns": 888016,
          "runqueue_wait_ns": 0
        },
        "10998": {
          "pid": 10557,
          "comm": "preprocess-queu",
          "start": "129300197",
          "ticks": 18902,
          "runtime_ns": 189032318248,
          "runqueue_wait_ns": 1542591587
        },
        "11057": {
          "pid": 10557,
          "comm": "grpc_global_tim",
          "start": "129300559",
          "ticks": 72,
          "runtime_ns": 735537816,
          "runqueue_wait_ns": 64410294
        },
        "61341": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619155",
          "ticks": 53854,
          "runtime_ns": 538547631149,
          "runqueue_wait_ns": 4611958772
        },
        "61342": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619155",
          "ticks": 0,
          "runtime_ns": 11063790,
          "runqueue_wait_ns": 0
        },
        "61343": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619156",
          "ticks": 8,
          "runtime_ns": 88396784,
          "runqueue_wait_ns": 12420512
        },
        "61344": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619156",
          "ticks": 898,
          "runtime_ns": 8987502953,
          "runqueue_wait_ns": 811367811
        },
        "61345": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619157",
          "ticks": 6,
          "runtime_ns": 67370183,
          "runqueue_wait_ns": 229719
        },
        "61346": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619158",
          "ticks": 2968,
          "runtime_ns": 29691328724,
          "runqueue_wait_ns": 244685680
        },
        "61347": {
          "pid": 10557,
          "comm": "PostCuda",
          "start": "129619161",
          "ticks": 150,
          "runtime_ns": 1509088964,
          "runqueue_wait_ns": 42847000
        },
        "61348": {
          "pid": 10557,
          "comm": "PostHost",
          "start": "129619161",
          "ticks": 130,
          "runtime_ns": 1314661698,
          "runqueue_wait_ns": 29483774
        },
        "61349": {
          "pid": 10557,
          "comm": "GstInferServImp",
          "start": "129619161",
          "ticks": 36002,
          "runtime_ns": 360026076485,
          "runqueue_wait_ns": 532733908
        },
        "61350": {
          "pid": 10557,
          "comm": "python3",
          "start": "129619161",
          "ticks": 325,
          "runtime_ns": 3261102814,
          "runqueue_wait_ns": 260568671
        },
        "61351": {
          "pid": 10557,
          "comm": "task7",
          "start": "129619161",
          "ticks": 2403,
          "runtime_ns": 24043674312,
          "runqueue_wait_ns": 249960126
        },
        "61352": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619161",
          "ticks": 657,
          "runtime_ns": 6584849369,
          "runqueue_wait_ns": 131793111
        },
        "61354": {
          "pid": 10557,
          "comm": "rtpsession-rtcp",
          "start": "129619162",
          "ticks": 24,
          "runtime_ns": 250404501,
          "runqueue_wait_ns": 14163104
        },
        "61355": {
          "pid": 10557,
          "comm": "timer",
          "start": "129619168",
          "ticks": 0,
          "runtime_ns": 1246540,
          "runqueue_wait_ns": 6421
        },
        "61356": {
          "pid": 10557,
          "comm": "rtpjitterbuffer",
          "start": "129619168",
          "ticks": 1759,
          "runtime_ns": 17601249457,
          "runqueue_wait_ns": 732085188
        },
        "61369": {
          "pid": 10557,
          "comm": "queue:src",
          "start": "129619268",
          "ticks": 596,
          "runtime_ns": 5975801079,
          "runqueue_wait_ns": 166222378
        },
        "61370": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619271",
          "ticks": 519,
          "runtime_ns": 5199644712,
          "runqueue_wait_ns": 458219250
        },
        "61371": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619271",
          "ticks": 513,
          "runtime_ns": 5142984005,
          "runqueue_wait_ns": 488021019
        },
        "61372": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129619274",
          "ticks": 38,
          "runtime_ns": 382835167,
          "runqueue_wait_ns": 61523712
        },
        "61374": {
          "pid": 10557,
          "comm": "batch_capture-m",
          "start": "129619277",
          "ticks": 3795,
          "runtime_ns": 37958015254,
          "runqueue_wait_ns": 1042627479
        },
        "61375": {
          "pid": 10557,
          "comm": "nvv4l2decoder1:",
          "start": "129619277",
          "ticks": 302,
          "runtime_ns": 3030175281,
          "runqueue_wait_ns": 181513437
        },
        "81374": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743412",
          "ticks": 22919,
          "runtime_ns": 229203989153,
          "runqueue_wait_ns": 4362825599
        },
        "81375": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743414",
          "ticks": 0,
          "runtime_ns": 11421759,
          "runqueue_wait_ns": 414733
        },
        "81376": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743415",
          "ticks": 3,
          "runtime_ns": 43426920,
          "runqueue_wait_ns": 10132590
        },
        "81377": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743415",
          "ticks": 402,
          "runtime_ns": 4026269548,
          "runqueue_wait_ns": 522230875
        },
        "81378": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743417",
          "ticks": 4,
          "runtime_ns": 51499986,
          "runqueue_wait_ns": 26190
        },
        "81379": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743418",
          "ticks": 1127,
          "runtime_ns": 11284844914,
          "runqueue_wait_ns": 153763023
        },
        "81380": {
          "pid": 10557,
          "comm": "PostCuda",
          "start": "129743424",
          "ticks": 50,
          "runtime_ns": 502265907,
          "runqueue_wait_ns": 53271877
        },
        "81381": {
          "pid": 10557,
          "comm": "PostHost",
          "start": "129743424",
          "ticks": 44,
          "runtime_ns": 452999013,
          "runqueue_wait_ns": 46398606
        },
        "81382": {
          "pid": 10557,
          "comm": "GstInferServImp",
          "start": "129743424",
          "ticks": 13666,
          "runtime_ns": 136671522104,
          "runqueue_wait_ns": 1415438237
        },
        "81383": {
          "pid": 10557,
          "comm": "preprocess-queu",
          "start": "129743424",
          "ticks": 6907,
          "runtime_ns": 69088674552,
          "runqueue_wait_ns": 447084013
        },
        "81384": {
          "pid": 10557,
          "comm": "python3",
          "start": "129743424",
          "ticks": 113,
          "runtime_ns": 1143917239,
          "runqueue_wait_ns": 60268399
        },
        "81385": {
          "pid": 10557,
          "comm": "task14",
          "start": "129743424",
          "ticks": 1048,
          "runtime_ns": 10480755167,
          "runqueue_wait_ns": 118934749
        },
        "81386": {
          "pid": 10557,
          "comm": "rtpjitterbuffer",
          "start": "129743424",
          "ticks": 672,
          "runtime_ns": 6735263827,
          "runqueue_wait_ns": 92325529
        },
        "81402": {
          "pid": 10557,
          "comm": "rtpsession-rtcp",
          "start": "129743526",
          "ticks": 7,
          "runtime_ns": 82137484,
          "runqueue_wait_ns": 8157182
        },
        "81403": {
          "pid": 10557,
          "comm": "timer",
          "start": "129743535",
          "ticks": 0,
          "runtime_ns": 206640,
          "runqueue_wait_ns": 0
        },
        "81404": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743535",
          "ticks": 218,
          "runtime_ns": 2182303921,
          "runqueue_wait_ns": 21477996
        },
        "81405": {
          "pid": 10557,
          "comm": "queue:src",
          "start": "129743535",
          "ticks": 209,
          "runtime_ns": 2097114531,
          "runqueue_wait_ns": 27808350
        },
        "81406": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743538",
          "ticks": 164,
          "runtime_ns": 1650353763,
          "runqueue_wait_ns": 73304442
        },
        "81407": {
          "pid": 10557,
          "comm": "dec_que:src",
          "start": "129743538",
          "ticks": 171,
          "runtime_ns": 1714840057,
          "runqueue_wait_ns": 94220066
        },
        "81409": {
          "pid": 10557,
          "comm": "batch_capture-m",
          "start": "129743543",
          "ticks": 1272,
          "runtime_ns": 12729360679,
          "runqueue_wait_ns": 305065862
        },
        "81410": {
          "pid": 10557,
          "comm": "nvv4l2decoder2:",
          "start": "129743543",
          "ticks": 103,
          "runtime_ns": 1046406189,
          "runqueue_wait_ns": 38278762
        },
        "92728": {
          "pid": 92728,
          "comm": "sleep",
          "start": "129813408",
          "ticks": 0,
          "runtime_ns": 1950517,
          "runqueue_wait_ns": 0
        }
      },
      "mem_available": 21289979904,
      "gpu": [
        [
          4936,
          49140,
          24
        ]
      ],
      "ticks_per_second": 100
    }
  ]
}