{
  "analysis_logger": {
    "buffer_len": 0,
    "enabled": true,
    "file_path": "/data/playlist/logs/06/tracking_analysis_20260520_164742_43490f9a.jsonl",
    "flush_interval_seconds": 15.0,
    "max_buffer_records": 32,
    "record_counts": {
      "scenario_event": 5,
      "tracking_summary": 1
    },
    "started": false
  },
  "buffers": {
    "frame_buffer_len": 50,
    "frame_buffer_maxlen": 50,
    "frame_queue_maxsize": 30,
    "frame_queue_size": 0
  },
  "cctv_id": "06",
  "cgroup_memory": {
    "current_mb": 6238.949,
    "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": 14.485,
    "last_started_at": "2026-05-20T16:47:42+09:00",
    "pid": 47787,
    "process": {
      "exists": false,
      "pid": 47787
    },
    "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": "43490f9a",
  "last_frame_pushed_age_sec": 0.037,
  "last_frame_pushed_at": "2026-05-20T16:47:56+09:00",
  "last_frame_read_age_sec": 0.125,
  "last_frame_read_at": "2026-05-20T16:47:56+09:00",
  "mjpeg": {
    "age_sec": 0.017,
    "exists": true,
    "mtime": "2026-05-20T16:47:56.755111+09:00",
    "mtime_epoch": 1779263276.7551115,
    "path": "/data/playlist/streaming/06/mjpeg.jpg",
    "size_bytes": 201909
  },
  "monitor_url": "http://192.168.50.221:1223/mjpeg/06",
  "observed_at": "2026-05-20T16:47:56+09:00",
  "process": {
    "exists": true,
    "fd_count": 139,
    "hwm_mb": 1529.68,
    "name": "celery",
    "pid": 247,
    "rss_mb": 1460.609,
    "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": 1,
    "recorders": [],
    "running_ffmpeg_count": 0,
    "stopping_count": 0
  },
  "recovery_eligible": true,
  "source_url": "file:///data/playlist/uploads/251027_fall_test_input_video/해상도편집/강진광주_넘어짐_헬멧미착용_샘플/강진광주_쓰러짐_헬멧미착용_샘플__fix_20251114_150454.mp4",
  "stage_metrics": {
    "counts": {
      "inference_timeouts": 0,
      "invalid_reads": 0,
      "processed_frames": 126,
      "pushed_frames": 126,
      "read_frames": 126,
      "select_timeouts": 0,
      "triton_result_errors": 0
    },
    "enabled": true,
    "fps": {
      "processed": 10.102,
      "pushed": 10.102,
      "read": 10.102
    },
    "hints": [
      "frame_processing_p95_over_budget",
      "triton_wait_p95_dominant"
    ],
    "latency_ms": {
      "analyze": {
        "avg_ms": 2.635,
        "count": 126,
        "max_ms": 3.807,
        "p95_ms": 3.441
      },
      "gstreamer_push": {
        "avg_ms": 1.738,
        "count": 126,
        "max_ms": 3.29,
        "p95_ms": 2.8
      },
      "processing_total": {
        "avg_ms": 91.539,
        "count": 126,
        "max_ms": 338.171,
        "p95_ms": 101.826
      },
      "read_interval": {
        "avg_ms": 98.78,
        "count": 125,
        "max_ms": 346.321,
        "p95_ms": 110.781
      },
      "triton_wait": {
        "avg_ms": 67.738,
        "count": 126,
        "max_ms": 99.626,
        "p95_ms": 76.579
      },
      "visualize": {
        "avg_ms": 16.372,
        "count": 126,
        "max_ms": 27.768,
        "p95_ms": 22.808
      }
    },
    "target_fps": 10.0,
    "target_frame_budget_ms": 100.0,
    "window_elapsed_s": 12.473,
    "window_s": 30.0
  },
  "started_at": "2026-05-20T16:47:42+09:00",
  "state": "stopped",
  "task_id": "a48ebbbb-d154-4993-98c1-88d83d1f01c4",
  "trigger": "start"
}