{
  "repo": "pingcap/go-tpc",
  "binary": "go-tpc",
  "binary_path": "cmd/go-tpc/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "services": [
    {
      "name": "GoTPCCLI",
      "type": "cli",
      "methods": [
        {
          "name": "TPCC",
          "name_key": "CLI go-tpc tpcc",
          "description": "Run TPC-C prepare, run, check, and cleanup workflows against SQL databases."
        },
        {
          "name": "TPCH",
          "name_key": "CLI go-tpc tpch",
          "description": "Run TPC-H prepare, run, check, and cleanup workflows against SQL databases."
        },
        {
          "name": "CHBenchmark",
          "name_key": "CLI go-tpc chbench",
          "description": "Run CH-benCHmark preparation and execution flows."
        },
        {
          "name": "RawSQL",
          "name_key": "CLI go-tpc rawsql",
          "description": "Execute SQL workloads from provided query files."
        }
      ]
    },
    {
      "name": "PprofDebugAPI",
      "type": "http",
      "methods": [
        {
          "name": "Pprof",
          "name_key": "HTTP GET /debug/pprof/*",
          "path": "/debug/pprof/*",
          "method": "GET",
          "description": "Expose Go pprof handlers when the --pprof flag is set."
        }
      ]
    },
    {
      "name": "MetricsAPI",
      "type": "http",
      "methods": [
        {
          "name": "Metrics",
          "name_key": "HTTP GET /metrics",
          "path": "/metrics",
          "method": "GET",
          "description": "Expose Prometheus metrics when the --metrics-addr flag is set."
        }
      ]
    }
  ],
  "extensions": {}
}
