{
  "manifest_version": "1.0.0",
  "template": {
    "id": "747905d9-82f1-4269-8706-6d3d6bc116b7",
    "slug": "opentelemetry-collector",
    "name": "OpenTelemetry Collector",
    "description": "Deploy and Host an OpenTelemetry Collector node",
    "url": "https://railway.com/deploy/opentelemetry-collector",
    "upstream": {
      "repo_url": "https://github.com/jratienza65/otel-lgtm-railway"
    }
  },
  "services": [
    {
      "name": "OpenTelemetry Collector",
      "source": {
        "repo": "https://github.com/jratienza65/otel-lgtm-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "OpenTelemetry Collector",
      "description": "OpenTelemetry Collector's healthcheck port.",
      "secret": false,
      "strategy": "default",
      "default": "13133"
    },
    {
      "key": "VERSION",
      "service": "OpenTelemetry Collector",
      "description": "OpenTelemetry Collector image tag, passed as a build arg.",
      "secret": false,
      "strategy": "default",
      "default": "0.139.0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "opentelemetry-collector"
      }
    },
    "cli": "railway deploy --template opentelemetry-collector",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "747905d9-82f1-4269-8706-6d3d6bc116b7",
            "serializedConfig": {
              "services": {
                "100b0ff2-e9c2-4544-885d-a1ed97d33776": {
                  "icon": "https://devicons.railway.app/opentelemetry",
                  "name": "OpenTelemetry Collector",
                  "deploy": {
                    "healthcheckPath": "/ready"
                  },
                  "source": {
                    "repo": "jratienza65/otel-lgtm-railway",
                    "branch": null,
                    "rootDirectory": "/otelcol/agent"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "OpenTelemetry Collector's healthcheck port.",
                      "defaultValue": "13133"
                    },
                    "VERSION": {
                      "isOptional": false,
                      "description": "OpenTelemetry Collector image tag, passed as a build arg.",
                      "defaultValue": "0.139.0"
                    },
                    "RAILWAY_OTEL_EXPORTER_OTLP_ENDPOINT": {
                      "isOptional": true,
                      "description": "The gateway this agent forwards everything to.",
                      "defaultValue": ""
                    },
                    "RAILWAY_OTEL_UPSTREAM_AUTHORIZATION": {
                      "isOptional": true,
                      "description": "`Basic <base64 user:password>` for that gateway. **Mark as secret.**",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4318": {
                        "port": 4318
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "OpenTelemetry Collector",
      "method": "GET",
      "path": "/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T12:27:18.207Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_0d4fd5d89a404400bb38",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
