{
  "repo": "pingcap/tiflash",
  "binary": "tiflash",
  "binary_path": "dbms/src/Server/CMakeLists.txt",
  "dependencies": {
    "Runtime TiFlashServerLifecycle.StartTiFlashServer": {
      "infrastructure": {},
      "services": [
        {
          "name": "pd",
          "target_repo": "pingcap/pd",
          "protocol": "grpc/http",
          "target_interface": "raft and cluster control plane integration",
          "purpose": "Coordinate cluster membership and placement"
        },
        {
          "name": "tikv",
          "target_repo": "tikv/tikv",
          "protocol": "raft/grpc",
          "target_interface": "Raft log replication and storage integration",
          "purpose": "Ingest real-time data changes from TiKV"
        }
      ]
    },
    "DiagnosticsService.server_info": {
      "infrastructure": {
        "grpc_diagnostics": {
          "conditions": [
            "The diagnostics gRPC service receives server_info requests."
          ],
          "operations": [
            {
              "operation": "Return TiFlash server diagnostics metadata",
              "trigger": "Handle server_info requests.",
              "implementation": "dbms/src/Flash"
            }
          ]
        }
      },
      "services": []
    },
    "DiagnosticsService.search_log": {
      "infrastructure": {
        "grpc_diagnostics": {
          "conditions": [
            "The diagnostics gRPC service receives search_log requests."
          ],
          "operations": [
            {
              "operation": "Stream diagnostic log results",
              "trigger": "Handle search_log requests.",
              "implementation": "dbms/src/Flash"
            }
          ]
        }
      },
      "services": []
    }
  }
}
