{
  "repo": "tidbcloud/metrics-integration",
  "scan_version": "4.4",
  "scan_status": "completed",
  "scan_at": "2026-03-25T05:20:21.507310",
  "file_count": 696,
  "language": "Go",
  "repo_kind": "multi_service",
  "type": "multi_service",
  "binaries": [
    {
      "name": "testdata-gen",
      "path": "pipeline/cmd/testdata-gen/main.go",
      "language": "Go",
      "interfaces": {},
      "role": "tool"
    },
    {
      "name": "metrics-collector",
      "path": "pipeline/cmd/metrics-collector/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "cobra"
        },
        "http_api": {
          "source": "cmd",
          "metrics": true
        }
      },
      "role": "primary_service"
    },
    {
      "name": "prometheus",
      "path": "pipeline/cmd/prometheus/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "metrics": true,
          "health": true
        }
      },
      "role": "primary_service"
    },
    {
      "name": "regional-integration-server",
      "path": "regional/cmd/regional-integration-server/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "health": true
        },
        "grpc": {
          "source": "cmd",
          "mode": "server",
          "services": "IntegrationService,Health"
        }
      },
      "role": "primary_service"
    },
    {
      "name": "metrics-integration",
      "path": "global/cmd/metrics-integration/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "health": true
        },
        "grpc": {
          "source": "cmd",
          "mode": "server",
          "services": "IntegrationService,OpenAPIIntegrationService,Health"
        }
      },
      "role": "primary_service"
    }
  ],
  "summary": {
    "total_binaries": 5,
    "has_cli": true,
    "has_http": true,
    "has_grpc": false,
    "binary_names": [
      "testdata-gen",
      "metrics-collector",
      "prometheus",
      "regional-integration-server",
      "metrics-integration"
    ],
    "interfaces": [
      "cli",
      "http_api"
    ],
    "build_manifests": []
  }
}
