{
  "repo": "tidbcloud/cert-manager",
  "binary": "controller",
  "binary_path": "cmd/controller/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "services": [
    {
      "name": "MetricsAPI",
      "type": "http",
      "methods": [
        {
          "name": "Metrics",
          "name_key": "HTTP GET /metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Prometheus metrics endpoint for controller sync and certificate metrics."
        }
      ]
    },
    {
      "name": "ProfilingAPI",
      "type": "http",
      "methods": [
        {
          "name": "Pprof",
          "name_key": "HTTP GET /debug/pprof/*",
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "Optional profiling handlers when enable-profiling is turned on."
        }
      ]
    },
    {
      "name": "ControllerManager",
      "type": "worker",
      "methods": [
        {
          "name": "Run",
          "name_key": "Runtime ControllerManager.Run",
          "description": "Launch registered cert-manager controllers, informer factories, metrics server, and leader election."
        }
      ]
    }
  ],
  "extensions": {}
}
