{
  "repo": "pingcap/tidb-inspect-tools",
  "binary": "tikv_metrics_proxy",
  "binary_path": "tikv_metrics_proxy/main.go",
  "dependencies": {
    "HTTP GET /metrics": {
      "description": "Fetches metrics from TiKV debug gRPC endpoints and re-exposes them as Prometheus metrics.",
      "infrastructure": {
        "tikv_debug_grpc": {
          "conditions": [
            "Prometheus scrapes the proxy metrics endpoint"
          ],
          "operations": [
            {
              "operation": "Call debugpb.Debug/GetMetrics on configured TiKV stores",
              "implementation": "tikv_metrics_proxy/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "HTTP GET /": {
      "infrastructure": {},
      "services": []
    }
  }
}
