{
  "repo": "tidbcloud/observability",
  "binary": "taskcollector",
  "binary_path": "cmd/taskcollector/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "services": [
    {
      "name": "TaskCollectorWorker",
      "type": "worker",
      "methods": [
        {
          "name": "RunScheduledCollection",
          "name_key": "Runtime TaskCollectorWorker.RunScheduledCollection",
          "description": "Runs the scheduled diagnosis task collection flow, refreshes task payloads from regional clusters, and manages object-storage lifecycle side effects.",
          "type": "worker"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cmd/taskcollector is wired for CronJob-style execution, not a user-facing HTTP or gRPC service."
    ]
  }
}
