{
  "repo": "tidbcloud/loki",
  "binary": "querytee",
  "binary_path": "cmd/querytee/main.go",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "QueryTeeProxy",
      "type": "http",
      "methods": [
        {
          "name": "ReadProxy",
          "name_key": "Runtime QueryTeeProxy.ReadProxy",
          "path": "/loki/api/v1/query* and /api/prom/* read routes",
          "method": "GET",
          "description": "Starts a comparison proxy that fans out read requests to multiple Loki backends and compares their responses."
        },
        {
          "name": "Instrumentation",
          "name_key": "HTTP GET /metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Prometheus instrumentation endpoint served from the dedicated metrics port."
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cmd/querytee is a long-running HTTP proxy, not a one-shot CLI. It starts both the comparison proxy and a separate instrumentation server."
    ]
  }
}
