{
  "repo": "tidbcloud/metrics-integration",
  "binary": "metrics-collector",
  "binary_path": "pipeline/cmd/metrics-collector/main.go",
  "dependencies": {
    "HTTP GET /metrics": {
      "infrastructure": {},
      "services": []
    },
    "Runtime TelemetryPipeline.RunCollector": {
      "infrastructure": {
        "opentelemetry": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Collector startup",
              "trigger": "Run the telemetry pipeline",
              "implementation": "otelcol.NewCollector(params).Run(cmd.Context())"
            }
          ]
        }
      },
      "services": []
    }
  },
  "notes": [
    "The binary is primarily an OpenTelemetry collector process with a side metrics endpoint."
  ]
}
