{
  "analysis_logger": {
    "buffer_len": 0,
    "enabled": true,
    "file_path": "/data/playlist/logs/05/tracking_analysis_20260520_162436_e558c019.jsonl",
    "flush_interval_seconds": 15.0,
    "max_buffer_records": 32,
    "record_counts": {
      "scenario_event": 0,
      "tracking_summary": 0
    },
    "started": false
  },
  "buffers": {
    "frame_buffer_len": 50,
    "frame_buffer_maxlen": 50,
    "frame_queue_maxsize": 30,
    "frame_queue_size": 0
  },
  "cctv_id": "05",
  "cgroup_memory": {
    "current_mb": 5436.125,
    "limit_mb": null
  },
  "ffmpeg": {
    "error_count": 0,
    "h264_decode_error_count": 0,
    "h264_decode_error_count_per_hour": 0,
    "input_options": [
      "-rtsp_transport",
      "tcp",
      "-timeout",
      "10000000"
    ],
    "last_error_at": "",
    "last_error_summary": "",
    "last_exit_at": "",
    "last_returncode": null,
    "last_stable_duration_sec": 10.833,
    "last_started_at": "2026-05-20T16:24:36+09:00",
    "pid": 45886,
    "process": {
      "exists": false,
      "pid": 45886
    },
    "restart_count": 0,
    "restart_count_per_hour": 0,
    "rtsp_timeout_count": 0,
    "rtsp_timeout_count_per_hour": 0,
    "rtsp_tolerant_mode": false,
    "running": false,
    "start_count": 1
  },
  "health": {
    "criticals": [
      "ffmpeg_not_running"
    ],
    "level": "critical",
    "thresholds": {
      "ffmpeg_restart_count_per_hour": {
        "critical": 6,
        "warning": 3
      },
      "h264_decode_error_count_per_hour": {
        "critical": 50,
        "warning": 10
      },
      "last_frame_pushed_age_sec": {
        "critical": 30,
        "warning": 10
      },
      "last_frame_read_age_sec": {
        "critical": 30,
        "warning": 10
      },
      "last_stable_duration_sec": {
        "critical_below": 180,
        "warning_below": 600
      },
      "mjpeg_age_sec": {
        "critical": 30,
        "warning": 10
      },
      "rtsp_timeout_count_per_hour": {
        "critical": 30,
        "warning": 10
      }
    },
    "warnings": []
  },
  "instance_id": "e558c019",
  "last_frame_pushed_age_sec": 0.043,
  "last_frame_pushed_at": "2026-05-20T16:24:47+09:00",
  "last_frame_read_age_sec": 0.131,
  "last_frame_read_at": "2026-05-20T16:24:47+09:00",
  "mjpeg": {
    "age_sec": 0.031,
    "exists": true,
    "mtime": "2026-05-20T16:24:47.750709+09:00",
    "mtime_epoch": 1779261887.7507086,
    "path": "/data/playlist/streaming/05/mjpeg.jpg",
    "size_bytes": 134411
  },
  "monitor_url": "http://192.168.50.221:1223/mjpeg/05",
  "observed_at": "2026-05-20T16:24:47+09:00",
  "process": {
    "exists": true,
    "fd_count": 139,
    "hwm_mb": 1529.68,
    "name": "celery",
    "pid": 247,
    "rss_mb": 1250.148,
    "state": "R (running)",
    "threads": 50
  },
  "reason_codes": [
    "ffmpeg_not_running"
  ],
  "recommended_action": "channel_restart_recommended",
  "recorder": {
    "active_count": 0,
    "cooldown_sec": 100,
    "last_event_key_count": 0,
    "recorders": [],
    "running_ffmpeg_count": 0,
    "stopping_count": 0
  },
  "recovery_eligible": true,
  "source_url": "rtsp://admin:smart1357%21@223.171.153.32:554/Streaming/Channels/101",
  "stage_metrics": {
    "counts": {
      "inference_timeouts": 0,
      "invalid_reads": 0,
      "processed_frames": 79,
      "pushed_frames": 79,
      "read_frames": 79,
      "select_timeouts": 0,
      "triton_result_errors": 0
    },
    "enabled": true,
    "fps": {
      "processed": 8.954,
      "pushed": 8.954,
      "read": 8.954
    },
    "hints": [
      "frame_processing_p95_over_budget",
      "triton_wait_p95_dominant"
    ],
    "latency_ms": {
      "analyze": {
        "avg_ms": 0.826,
        "count": 79,
        "max_ms": 3.386,
        "p95_ms": 3.274
      },
      "gstreamer_push": {
        "avg_ms": 1.438,
        "count": 79,
        "max_ms": 3.229,
        "p95_ms": 1.926
      },
      "processing_total": {
        "avg_ms": 104.674,
        "count": 79,
        "max_ms": 1395.205,
        "p95_ms": 101.998
      },
      "read_interval": {
        "avg_ms": 111.425,
        "count": 78,
        "max_ms": 1403.003,
        "p95_ms": 108.825
      },
      "triton_wait": {
        "avg_ms": 99.687,
        "count": 79,
        "max_ms": 1388.74,
        "p95_ms": 97.809
      },
      "visualize": {
        "avg_ms": 2.535,
        "count": 79,
        "max_ms": 4.311,
        "p95_ms": 3.356
      }
    },
    "target_fps": 10.0,
    "target_frame_budget_ms": 100.0,
    "window_elapsed_s": 8.823,
    "window_s": 30.0
  },
  "started_at": "2026-05-20T16:24:36+09:00",
  "state": "stopped",
  "task_id": "a77fbb49-85c5-4078-985e-f3643a1c8774",
  "trigger": "start"
}