{
  "analysis_logger": {
    "buffer_len": 0,
    "enabled": true,
    "file_path": "/data/playlist/logs/28/tracking_analysis_20260622_153211_6fc2c275.jsonl",
    "flush_interval_seconds": 15.0,
    "max_buffer_records": 32,
    "record_counts": {
      "scenario_debug": 0,
      "scenario_event": 0,
      "tracking_summary": 1
    },
    "started": false
  },
  "buffers": {
    "frame_buffer_len": 50,
    "frame_buffer_maxlen": 50,
    "frame_queue_maxsize": 10,
    "frame_queue_size": 0
  },
  "cctv_id": "28",
  "cgroup_memory": {
    "current_mb": 4822.195,
    "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.001,
    "last_started_at": "2026-06-22T15:32:11+09:00",
    "pid": 623,
    "process": {
      "exists": false,
      "pid": 623
    },
    "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
  },
  "frame_flow": {
    "analysis": {
      "adaptive_enabled": false,
      "analysis_cap_enabled": false,
      "effective_analysis_fps": 10.0,
      "enabled": false,
      "last_decision": "initial",
      "processing_p95_ms": 109.029,
      "sample_count": 132,
      "scenario_effective_fps_enabled": false,
      "target_fps": 10.0,
      "warmup_remaining_s": 285.955
    },
    "queue_clear_age_s": 3.0,
    "queue_max_age_s": 2.0,
    "queue_maxsize": 10,
    "reader_queue_enabled": false,
    "stats": {
      "analysis_frames": 132,
      "analysis_skipped": 0,
      "frames_dequeued": 0,
      "frames_queued": 0,
      "last_analysis_at": "2026-06-22T15:32:24+09:00",
      "last_queue_age_ms": null,
      "last_skip_at": "",
      "max_queue_age_ms": 0.0,
      "queue_cleared": 0,
      "queue_dropped": 0
    }
  },
  "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": "6fc2c275",
  "last_frame_pushed_age_sec": 0.079,
  "last_frame_pushed_at": "2026-06-22T15:32:24+09:00",
  "last_frame_read_age_sec": 0.164,
  "last_frame_read_at": "2026-06-22T15:32:24+09:00",
  "mjpeg": {
    "age_sec": 0.063,
    "exists": true,
    "mtime": "2026-06-22T15:32:25.004845+09:00",
    "mtime_epoch": 1782109945.0048447,
    "path": "/data/playlist/streaming/28/mjpeg.jpg",
    "size_bytes": 366053
  },
  "monitor_url": "http://192.168.50.221:1223/mjpeg/28",
  "observed_at": "2026-06-22T15:32:25+09:00",
  "process": {
    "exists": true,
    "fd_count": 125,
    "hwm_mb": 1888.871,
    "name": "celery",
    "pid": 244,
    "rss_mb": 1823.023,
    "state": "R (running)",
    "threads": 46
  },
  "reason_codes": [
    "ffmpeg_not_running"
  ],
  "recommended_action": "channel_restart_recommended",
  "recorder": {
    "active_count": 0,
    "cooldown_sec": 100,
    "last_event_key_count": 0,
    "oldest_recorder_age_sec": null,
    "recorders": [],
    "running_ffmpeg_count": 0,
    "running_pids": [],
    "stopping_count": 0
  },
  "recovery_eligible": true,
  "source_url": "file:///data/playlist/uploads/260414_아이티원업로드용_시험성적서샘플영상/input/작업자_위험구역_진입경고_테스트영상들/위험구역_접근경고_테스트영상_001.mp4",
  "stage_metrics": {
    "counts": {
      "inference_timeouts": 0,
      "invalid_reads": 0,
      "processed_frames": 132,
      "pushed_frames": 132,
      "read_frames": 132,
      "select_timeouts": 0,
      "triton_result_errors": 0
    },
    "enabled": true,
    "fps": {
      "processed": 11.018,
      "pushed": 11.018,
      "read": 11.018
    },
    "hints": [
      "frame_processing_p95_over_budget",
      "triton_wait_p95_dominant"
    ],
    "latency_ms": {
      "analyze": {
        "avg_ms": 1.566,
        "count": 132,
        "max_ms": 6.57,
        "p95_ms": 3.841
      },
      "gstreamer_push": {
        "avg_ms": 2.302,
        "count": 132,
        "max_ms": 5.737,
        "p95_ms": 4.161
      },
      "model_completion": {
        "model_count": 2,
        "models": {
          "yolo11_640_coco_Large_pretrained_by_Ultralytics_11": {
            "avg_ms": 63.166,
            "count": 132,
            "max_ms": 124.842,
            "p95_ms": 99.777
          },
          "yolo11m_640_worker_ppe_equipment_ops260616_28class": {
            "avg_ms": 60.723,
            "count": 132,
            "max_ms": 124.85,
            "p95_ms": 100.441
          }
        },
        "truncated_count": 0
      },
      "processing_total": {
        "avg_ms": 73.477,
        "count": 132,
        "max_ms": 134.493,
        "p95_ms": 109.299
      },
      "read_interval": {
        "avg_ms": 90.198,
        "count": 131,
        "max_ms": 146.314,
        "p95_ms": 119.477
      },
      "triton_wait": {
        "avg_ms": 65.776,
        "count": 132,
        "max_ms": 124.856,
        "p95_ms": 101.424
      },
      "visualize": {
        "avg_ms": 4.743,
        "count": 132,
        "max_ms": 8.803,
        "p95_ms": 7.558
      }
    },
    "target_fps": 10.0,
    "target_frame_budget_ms": 100.0,
    "window_elapsed_s": 11.98,
    "window_s": 30.0
  },
  "started_at": "2026-06-22T15:32:11+09:00",
  "state": "stopped",
  "task_id": "23372369-d1f2-4643-849f-17f3be9e4a94",
  "trigger": "start"
}