{
  "status": {
    "serverId": "AI-01",
    "status": "READY",
    "modelName": null,
    "dependencies": {
      "runtime": {
        "ok": true,
        "error": null
      }
    },
    "streamCounts": {
      "running": 0,
      "starting": 0,
      "stopped": 22,
      "error": 6,
      "total": 28
    },
    "streams": [
      {
        "cameraId": "1",
        "streamId": "camera-b80c8fefa677534085fb2c162d75df03",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "2",
        "streamId": "camera-334b6b3112a25bfcbf4f870c0954b343",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "4",
        "streamId": "camera-ff6c5a08b2fa56b6ac006830f4074b6a",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "5",
        "streamId": "camera-afca48e959ea5a28b8a488e0cc6eda1c",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "6",
        "streamId": "camera-c6577abe8c0f5a02ac84aa94c2247b1e",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "7",
        "streamId": "camera-5bd20866347853f7bc79d2aae304b443",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "8",
        "streamId": "camera-c06243dceaed5ddfbc34c28ae6c89ede",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "9",
        "streamId": "camera-b756dcb03600525dbacb285c0f1a07e2",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "10",
        "streamId": "camera-e1e5b788f4295a329f7e63865921a5e5",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "12",
        "streamId": "camera-3a8b9d4cb2925153b16070f43a18999e",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "11",
        "streamId": "camera-2342aa206cb653c8976461bcac17bdcc",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "3",
        "streamId": "camera-c093c7f66edf595e953970de788efbaa",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "16",
        "streamId": "camera-7fb92d7386ec5509ba7b7be21db93784",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "17",
        "streamId": "camera-071beeb1b1ed5e7c87e330a0877942b4",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "13",
        "streamId": "camera-12f1810436a25810a811e616e5314449",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "14",
        "streamId": "camera-fc340caed62953cabfc2f46c1a22d325",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "15",
        "streamId": "camera-6d5f64e6d53b5df680057d9a26547399",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "28",
        "streamId": "camera-ab827ed286c25c7f8eee0326d169f0da",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "21",
        "streamId": "camera-2c6e5af15b9d589190d2786607a2882e",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "20",
        "streamId": "camera-289dd7fb89ab53ff803d2fd731906127",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "19",
        "streamId": "camera-38a01d76c5185afc9b9414cb038b4370",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "18",
        "streamId": "camera-70ede393d2265e569f1631b79e2b724b",
        "runId": null,
        "runGeneration": 0,
        "desiredState": "STOPPED",
        "observedState": "STOPPED",
        "lastError": null
      },
      {
        "cameraId": "27",
        "streamId": "camera-fb5ee05b8ff05a2d8e7aa74358a96b3b",
        "runId": "3128a528-b27f-439a-a299-ee0a8eb57573",
        "runGeneration": 295,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      },
      {
        "cameraId": "26",
        "streamId": "camera-0c49e57f9f0c56d48fdb7d3ae6246ec9",
        "runId": "8b708304-15b3-480a-9031-269bfdf9bc55",
        "runGeneration": 269,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      },
      {
        "cameraId": "29",
        "streamId": "camera-31c1fa4986355943b57ec7e667e181db",
        "runId": "0b8a22fc-a923-401c-b9b5-0bd8e01e2909",
        "runGeneration": 292,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      },
      {
        "cameraId": "24",
        "streamId": "camera-1fdaa47a21ac5365934a42c53f6d327f",
        "runId": "f25a32e5-f4c2-430e-a45b-bc19cc918431",
        "runGeneration": 449,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      },
      {
        "cameraId": "23",
        "streamId": "camera-b515d77a162958569697c82f3c839a7d",
        "runId": "a4223509-eb19-4f48-9f18-7d0456f72d16",
        "runGeneration": 159,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      },
      {
        "cameraId": "22",
        "streamId": "camera-51e4ac9a92ed5ca595abf9260e15f813",
        "runId": "3a764b7d-01f0-4780-af67-dc68cb9070b4",
        "runGeneration": 55,
        "desiredState": "STOPPED",
        "observedState": "ERROR",
        "lastError": "RUNTIME_REPORTED_ERROR"
      }
    ]
  },
  "detail": {
    "27": {
      "stream_id": "camera-fb5ee05b8ff05a2d8e7aa74358a96b3b",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 295,
      "run_id": "3128a528-b27f-439a-a299-ee0a8eb57573",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793457397.643981,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793457397.643975,
          "source_stages": {
            "pipeline_state_changed": 1793457364.2420971,
            "decoded_frame_received": 1793457397.643975
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 69
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793457364.0641315,
            "decoded_frame_received": 1793457364.218066
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 295,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2729062160478760,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2729027305819267,
              "wall_ms": 1793457363369
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2729061708475287,
              "wall_ms": 1793457397772
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2729061958747768,
              "wall_ms": 1793457398022
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2729062160482348,
              "wall_ms": 1793457398224
            }
          ],
          "spawn_thread_id": 842328,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 82,
        "sent_status": 13,
        "sent_frames": 69,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "670671cd97404156226e507973f2ab8330d3022ca96e0c93bdbdb320c41adcaf": {
            "pose": {
              "count": 69,
              "first_at_ns": 2729028187442062,
              "first_wall_ms": 1793457364250,
              "last_at_ns": 2729061598483760,
              "interval_count": 68,
              "interval_sum_ns": 33411041698,
              "max_interval_ns": 26915750539,
              "histogram": [
                3,
                6,
                9,
                15,
                29,
                4,
                1,
                0,
                0,
                0,
                1
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 161,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2729061958387162,
      "execution_mode": "process",
      "heartbeat_age_s": 37968.2
    },
    "26": {
      "stream_id": "camera-0c49e57f9f0c56d48fdb7d3ae6246ec9",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 269,
      "run_id": "8b708304-15b3-480a-9031-269bfdf9bc55",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793457396.530413,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793457396.530407,
          "source_stages": {
            "pipeline_state_changed": 1793457363.9459753,
            "decoded_frame_received": 1793457396.530407
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 72
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793457363.6552482,
            "decoded_frame_received": 1793457363.9199095
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 269,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2729060946805763,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2729026884733177,
              "wall_ms": 1793457362948
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2729060603565209,
              "wall_ms": 1793457396667
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2729060744649504,
              "wall_ms": 1793457396808
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2729060946809488,
              "wall_ms": 1793457397010
            }
          ],
          "spawn_thread_id": 842303,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 82,
        "sent_status": 12,
        "replaced": 2,
        "sent_frames": 70,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "5f9c4ab08cac7457e9111a30e4664920607ea2c115a1433d7be98e97e64244ca": {
            "medium": {
              "count": 70,
              "first_at_ns": 2729027894114673,
              "first_wall_ms": 1793457363957,
              "last_at_ns": 2729060491596746,
              "interval_count": 69,
              "interval_sum_ns": 32597482073,
              "max_interval_ns": 25772505051,
              "histogram": [
                3,
                3,
                9,
                21,
                26,
                4,
                2,
                0,
                0,
                0,
                1
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 168,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2729060743965906,
      "execution_mode": "process",
      "heartbeat_age_s": 37969.415
    },
    "29": {
      "stream_id": "camera-31c1fa4986355943b57ec7e667e181db",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 292,
      "run_id": "0b8a22fc-a923-401c-b9b5-0bd8e01e2909",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793437392.800423,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793437392.800418,
          "source_stages": {
            "pipeline_state_changed": 1793437330.908555,
            "decoded_frame_received": 1793437392.800418
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 520
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793437330.743732,
            "decoded_frame_received": 1793437330.881386
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 292,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2709062313794536,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2708994045635200,
              "wall_ms": 1793437330109
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2709062110459948,
              "wall_ms": 1793437398173
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2709062110943163,
              "wall_ms": 1793437398174
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2709062313799836,
              "wall_ms": 1793437398377
            }
          ],
          "spawn_thread_id": 734227,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 532,
        "sent_status": 21,
        "replaced": 9,
        "sent_frames": 511,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "35135aaa6cc23891b40cb3f378c53a17a1127210ce60e125ccf03efcfdaec458": {
            "fire": {
              "count": 511,
              "first_at_ns": 2708994873802256,
              "first_wall_ms": 1793437330937,
              "last_at_ns": 2709056754042493,
              "interval_count": 510,
              "interval_sum_ns": 61880240237,
              "max_interval_ns": 5338045392,
              "histogram": [
                29,
                25,
                87,
                138,
                173,
                39,
                8,
                6,
                3,
                0,
                2
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 1365,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2709062034568371,
      "execution_mode": "process",
      "heartbeat_age_s": 57968.05
    },
    "24": {
      "stream_id": "camera-1fdaa47a21ac5365934a42c53f6d327f",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 449,
      "run_id": "f25a32e5-f4c2-430e-a45b-bc19cc918431",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793457349.880385,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793457349.8803794,
          "source_stages": {
            "pipeline_state_changed": 1793457173.3635418,
            "decoded_frame_received": 1793457349.8803794
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 1288
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793457173.0903862,
            "decoded_frame_received": 1793457173.3022676
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 449,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2729014281972753,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2728836285126756,
              "wall_ms": 1793457172348
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2729014078998502,
              "wall_ms": 1793457350142
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2729014079162587,
              "wall_ms": 1793457350142
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2729014281977981,
              "wall_ms": 1793457350345
            }
          ],
          "spawn_thread_id": 841375,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 1340,
        "sent_status": 52,
        "sent_frames": 1288,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "c2356069e9d1e79ca924378153cfbbfb4d4416b1f99d41a2940bfdb66c5319db": {
            "pose": {
              "count": 1288,
              "first_at_ns": 2728837310084187,
              "first_wall_ms": 1793457173373,
              "last_at_ns": 2729013835895096,
              "interval_count": 1287,
              "interval_sum_ns": 176525810909,
              "max_interval_ns": 22694497015,
              "histogram": [
                141,
                81,
                227,
                274,
                383,
                93,
                52,
                21,
                8,
                3,
                4
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 3444,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2729014078450050,
      "execution_mode": "process",
      "heartbeat_age_s": 38016.083
    },
    "23": {
      "stream_id": "camera-b515d77a162958569697c82f3c839a7d",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 159,
      "run_id": "a4223509-eb19-4f48-9f18-7d0456f72d16",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793406663.3939524,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793406663.3939302,
          "source_stages": {
            "pipeline_state_changed": 1793406529.5804274,
            "decoded_frame_received": 1793406663.3939302
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 1015
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793406529.3899274,
            "decoded_frame_received": 1793406529.556877
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 159,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2678327630256541,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2678192589974958,
              "wall_ms": 1793406528653
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2678327378257501,
              "wall_ms": 1793406663441
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2678327378385590,
              "wall_ms": 1793406663441
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2678327630267505,
              "wall_ms": 1793406663693
            }
          ],
          "spawn_thread_id": 525674,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "bus_eos",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 1043,
        "sent_status": 40,
        "replaced": 12,
        "sent_frames": 1003,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "535fa30d7e25dd8a49f1536779734ec8286108d115da5045d77f3b4185d8f790": {
            "medium": {
              "count": 1003,
              "first_at_ns": 2678193540851298,
              "first_wall_ms": 1793406529604,
              "last_at_ns": 2678327348852870,
              "interval_count": 1002,
              "interval_sum_ns": 133808001572,
              "max_interval_ns": 16359721996,
              "histogram": [
                107,
                92,
                160,
                217,
                278,
                71,
                31,
                26,
                12,
                5,
                3
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 2786,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2678327377911172,
      "execution_mode": "process",
      "heartbeat_age_s": 88702.785
    },
    "22": {
      "stream_id": "camera-51e4ac9a92ed5ca595abf9260e15f813",
      "site_id": null,
      "source_type": "rtsp",
      "state": "error",
      "desired_state": "stopped",
      "observed_state": "error",
      "run_generation": 55,
      "run_id": "3a764b7d-01f0-4780-af67-dc68cb9070b4",
      "roles": {
        "shared": {
          "state": "error",
          "required": true,
          "initialized": true,
          "last_frame_at": 1793390467.1019082,
          "source_stage": "decoded_frame_received",
          "source_stage_at": 1793390467.1018982,
          "source_stages": {
            "pipeline_state_changed": 1793390211.3309636,
            "decoded_frame_received": 1793390467.1018982
          },
          "stage_counts": {
            "pipeline_state_changed": 88,
            "decoded_frame_received": 2190
          },
          "last_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "multi_provider_results",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "stage_first_at": {
            "pipeline_state_changed": 1793390202.1559904,
            "decoded_frame_received": 1793390211.310503
          }
        }
      },
      "last_error": {
        "error_code": "ROLE_RUNTIME_FAILED",
        "failure_stage": "child_exit",
        "role": null,
        "message": "A pipeline role failed while processing frames."
      },
      "cleanup_error": null,
      "cleanup_pending": false,
      "restart_pending": false,
      "last_cleanup": {
        "generation": 55,
        "completed": false,
        "child_reaped": true,
        "forced": false,
        "writer_released": true,
        "finished_monotonic_ns": 2662131780595712,
        "diagnostic": {
          "events": [
            {
              "name": "start_requested",
              "monotonic_ns": 2661865499988544,
              "wall_ms": 1793390201563
            },
            {
              "name": "first_child_error",
              "monotonic_ns": 2662131284216863,
              "wall_ms": 1793390467347
            },
            {
              "name": "terminal_received",
              "monotonic_ns": 2662131377634625,
              "wall_ms": 1793390467441
            },
            {
              "name": "child_reaped",
              "monotonic_ns": 2662131780600773,
              "wall_ms": 1793390467844
            }
          ],
          "spawn_thread_id": 388843,
          "first_error": {
            "error_code": "ROLE_RUNTIME_FAILED",
            "failure_stage": "multi_provider_results",
            "role": "shared",
            "message": "A pipeline role failed while processing frames."
          },
          "child_exception": null,
          "exit_code": 0,
          "exit_signal": null,
          "terminal_received": true,
          "terminal_failed": true,
          "forced": false
        }
      },
      "started_at": null,
      "uptime_s": null,
      "inference_profile": null,
      "metadata_path": {
        "state": "NOT_CONNECTED"
      },
      "scenarios": {
        "active": [],
        "disabled": []
      },
      "frames_in_window": 0,
      "detail_capabilities": {
        "full_collector": false,
        "bounded_metrics": true,
        "tracking_profiles": false
      },
      "publisher_metrics": {
        "sent": 2252,
        "sent_status": 76,
        "replaced": 13,
        "sent_frames": 2176,
        "queued": 0,
        "queuedBytes": 0,
        "relay_timing": {},
        "channels": 1,
        "workers": 1,
        "delivery": {
          "785f3ec7eb32f30b90cd0fcf3657d388b5ff4297f2f9716ff66e9b69c05ddd09": {
            "crowd": {
              "count": 2176,
              "first_at_ns": 2661875534764847,
              "first_wall_ms": 1793390211598,
              "last_at_ns": 2662128546136916,
              "interval_count": 2175,
              "interval_sum_ns": 253011372069,
              "max_interval_ns": 3891824042,
              "histogram": [
                167,
                145,
                410,
                466,
                728,
                151,
                49,
                26,
                17,
                11,
                5
              ]
            }
          }
        },
        "profile": {
          "enabled": false,
          "revision": 0,
          "channels": {},
          "timing_scope": "sink_only_v2",
          "timeline_limit_per_channel": 256,
          "replacement_limit_per_channel": 32
        },
        "lastSeq": 5806,
        "workerMode": "process-channel",
        "inflightBytes": 0,
        "inflightByteLimit": 10485760
      },
      "child_pid": null,
      "child_sampled_ns": 2662131272727688,
      "execution_mode": "process",
      "heartbeat_age_s": 104898.787
    }
  }
}
