{
  "repo": "pingcap/go-tpc",
  "binary": "go-tpc",
  "binary_path": "cmd/go-tpc/main.go",
  "dependencies": {
    "CLI go-tpc tpcc": {
      "infrastructure": {
        "sql_database": {
          "conditions": [
            "The benchmark targets a configured SQL database."
          ],
          "operations": [
            {
              "operation": "Prepare, load, run, check, and cleanup TPC-C workflows",
              "trigger": "Run go-tpc tpcc.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI go-tpc tpch": {
      "infrastructure": {
        "sql_database": {
          "conditions": [
            "The benchmark targets a configured SQL database."
          ],
          "operations": [
            {
              "operation": "Prepare, load, run, check, and cleanup TPC-H workflows",
              "trigger": "Run go-tpc tpch.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI go-tpc chbench": {
      "infrastructure": {
        "sql_database": {
          "conditions": [
            "The benchmark targets a configured SQL database."
          ],
          "operations": [
            {
              "operation": "Run CH-benCHmark preparation and execution flows",
              "trigger": "Run go-tpc chbench.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "CLI go-tpc rawsql": {
      "infrastructure": {
        "sql_database": {
          "conditions": [
            "The benchmark targets a configured SQL database."
          ],
          "operations": [
            {
              "operation": "Execute SQL workloads from query files",
              "trigger": "Run go-tpc rawsql.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "HTTP GET /debug/pprof/*": {
      "infrastructure": {
        "net_http_pprof": {
          "conditions": [
            "The --pprof flag is enabled."
          ],
          "operations": [
            {
              "operation": "Expose Go profiling endpoints",
              "trigger": "Run go-tpc with pprof enabled.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    },
    "HTTP GET /metrics": {
      "infrastructure": {
        "prometheus_http": {
          "conditions": [
            "The --metrics-addr flag is enabled."
          ],
          "operations": [
            {
              "operation": "Expose Prometheus metrics",
              "trigger": "Run go-tpc with metrics enabled.",
              "implementation": "cmd/go-tpc/main.go"
            }
          ]
        }
      },
      "services": []
    }
  }
}
