{
  "repo": "pingcap/tidb-inspect-tools",
  "binary": "tikv_metrics_proxy",
  "binary_path": "tikv_metrics_proxy/main.go",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "TiKVProxyHTTP",
      "type": "http",
      "methods": [
        {
          "name": "GET /metrics",
          "name_key": "HTTP GET /metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Exposes proxied TiKV metrics in Prometheus format.",
          "handler": "tikv_metrics_proxy/main.go"
        },
        {
          "name": "GET /",
          "name_key": "HTTP GET /",
          "path": "/",
          "method": "GET",
          "description": "Serves a simple landing page linking to the metrics endpoint.",
          "handler": "tikv_metrics_proxy/main.go"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "HTTP metrics proxy that fetches Prometheus-formatted metrics from TiKV debug gRPC endpoints."
    ]
  }
}
