{
  "repo": "tidbcloud/core-svc",
  "binary": "provider-cost",
  "binary_path": "provider-cost/cmd/main.go",
  "dependencies": {
    "HTTP GET /ping": {
      "infrastructure": {},
      "services": []
    },
    "HTTP GET /version": {
      "infrastructure": {},
      "services": []
    },
    "HTTP POST /api/v1/provider/cost": {
      "infrastructure": {},
      "services": [
        {
          "name": "gcp-bigquery",
          "target_interface": "BigQuery cost usage queries",
          "operation_type": "gcp_api_query",
          "purpose": "Read provider billing data for cost calculation"
        }
      ]
    },
    "HTTP POST /api/v1/provider/stream_cost": {
      "infrastructure": {},
      "services": [
        {
          "name": "gcp-bigquery",
          "target_interface": "BigQuery cost usage queries",
          "operation_type": "gcp_api_query",
          "purpose": "Read provider billing data for streaming cost calculation"
        }
      ]
    },
    "ProviderCostLifecycle.Main": {
      "infrastructure": {},
      "services": [
        {
          "name": "eventbus",
          "target_interface": "cost.NewEventbus(...).Run()",
          "operation_type": "internal_transport",
          "purpose": "Start shared eventbus transport required by the service"
        },
        {
          "name": "sentry",
          "target_interface": "sentry.Init",
          "operation_type": "https_init",
          "purpose": "Initialize error reporting"
        }
      ]
    }
  }
}
