{
  "repo": "pingcap/tidb-inspect-tools",
  "binary": "tidb_exporter",
  "binary_path": "tidb_exporter/main.go",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "TiDBExporterHTTP",
      "type": "http",
      "methods": [
        {
          "name": "GET /metrics",
          "name_key": "HTTP GET /metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Exposes exporter metrics for the configured TiDB nodes.",
          "handler": "tidb_exporter/main.go"
        },
        {
          "name": "GET /",
          "name_key": "HTTP GET /",
          "path": "/",
          "method": "GET",
          "description": "Serves a simple landing page linking to the metrics endpoint.",
          "handler": "tidb_exporter/main.go"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "Prometheus exporter that probes TiDB nodes over SQL and exposes query health metrics."
    ]
  }
}
