{
  "analysis_logger": {
    "buffer_len": 0,
    "enabled": true,
    "file_path": "/data/playlist/logs/08/tracking_analysis_20260520_163738_2ffa1b5a.jsonl",
    "flush_interval_seconds": 15.0,
    "max_buffer_records": 32,
    "record_counts": {
      "scenario_event": 4,
      "tracking_summary": 1
    },
    "started": false
  },
  "buffers": {
    "frame_buffer_len": 50,
    "frame_buffer_maxlen": 50,
    "frame_queue_maxsize": 30,
    "frame_queue_size": 0
  },
  "cctv_id": "08",
  "cgroup_memory": {
    "current_mb": 6636.746,
    "limit_mb": null
  },
  "ffmpeg": {
    "error_count": 0,
    "h264_decode_error_count": 0,
    "h264_decode_error_count_per_hour": 0,
    "input_options": [],
    "last_error_at": "",
    "last_error_summary": "",
    "last_exit_at": "",
    "last_returncode": null,
    "last_stable_duration_sec": 48.536,
    "last_started_at": "2026-05-20T16:37:38+09:00",
    "pid": 46688,
    "process": {
      "exists": false,
      "pid": 46688
    },
    "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": "2ffa1b5a",
  "last_frame_pushed_age_sec": 0.073,
  "last_frame_pushed_at": "2026-05-20T16:38:27+09:00",
  "last_frame_read_age_sec": 0.215,
  "last_frame_read_at": "2026-05-20T16:38:27+09:00",
  "mjpeg": {
    "age_sec": 0.064,
    "exists": true,
    "mtime": "2026-05-20T16:38:27.253405+09:00",
    "mtime_epoch": 1779262707.2534049,
    "path": "/data/playlist/streaming/08/mjpeg.jpg",
    "size_bytes": 162473
  },
  "monitor_url": "http://192.168.50.221:1223/mjpeg/08",
  "observed_at": "2026-05-20T16:38:27+09:00",
  "process": {
    "exists": true,
    "fd_count": 117,
    "hwm_mb": 1071.816,
    "name": "celery",
    "pid": 219,
    "rss_mb": 1066.582,
    "state": "R (running)",
    "threads": 48
  },
  "reason_codes": [
    "ffmpeg_not_running"
  ],
  "recommended_action": "channel_restart_recommended",
  "recorder": {
    "active_count": 0,
    "cooldown_sec": 100,
    "last_event_key_count": 1,
    "recorders": [],
    "running_ffmpeg_count": 0,
    "stopping_count": 0
  },
  "recovery_eligible": true,
  "source_url": "file:///data/playlist/uploads/260414_아이티원업로드용_시험성적서샘플영상/input/PPE_미착용_경고_테스트영상들/PPE_미착용_경고_테스트영상_009.mp4",
  "stage_metrics": {
    "counts": {
      "inference_timeouts": 0,
      "invalid_reads": 0,
      "processed_frames": 142,
      "pushed_frames": 142,
      "read_frames": 141,
      "select_timeouts": 0,
      "triton_result_errors": 0
    },
    "enabled": true,
    "fps": {
      "processed": 4.748,
      "pushed": 4.748,
      "read": 4.715
    },
    "hints": [
      "read_fps_below_target",
      "processed_fps_below_target",
      "push_fps_below_target",
      "frame_processing_p95_over_budget",
      "frame_processing_p95_backlog_risk",
      "triton_wait_p95_dominant"
    ],
    "latency_ms": {
      "analyze": {
        "avg_ms": 8.554,
        "count": 142,
        "max_ms": 29.218,
        "p95_ms": 20.523
      },
      "gstreamer_push": {
        "avg_ms": 5.349,
        "count": 142,
        "max_ms": 13.358,
        "p95_ms": 10.616
      },
      "processing_total": {
        "avg_ms": 190.913,
        "count": 142,
        "max_ms": 328.575,
        "p95_ms": 261.171
      },
      "read_interval": {
        "avg_ms": 212.123,
        "count": 141,
        "max_ms": 371.15,
        "p95_ms": 284.127
      },
      "triton_wait": {
        "avg_ms": 168.254,
        "count": 142,
        "max_ms": 299.048,
        "p95_ms": 235.902
      },
      "visualize": {
        "avg_ms": 10.359,
        "count": 142,
        "max_ms": 37.891,
        "p95_ms": 17.169
      }
    },
    "target_fps": 10.0,
    "target_frame_budget_ms": 100.0,
    "window_elapsed_s": 29.907,
    "window_s": 30.0
  },
  "started_at": "2026-05-20T16:37:38+09:00",
  "state": "stopped",
  "task_id": "43719526-ab74-453d-8f10-32fa8bdaffd0",
  "trigger": "start"
}