Observability Railway Deploy
Deploy Grafana, Loki, Tempo, Prometheus, and Alloy to Railway for cloud-hosted observability.
Workflow
- •Verify Railway CLI installed and authenticated
- •Deploy Template 8TLSQD (Grafana stack)
- •Configure Environment Variables (admin credentials, retention)
- •Attach Persistent Volumes (Grafana, Loki, Tempo, Prometheus data)
- •Get Public URLs (Grafana dashboard, Alloy OTLP endpoint)
- •Generate Claude Code Config for Railway endpoint
- •Verify Deployment (health checks, telemetry flow)
Output
code
✅ Railway Stack Deployed! Access URLs: Grafana: https://your-grafana-abc123.railway.app OTLP Endpoint: https://your-alloy-abc123.railway.app:443 Next: Use claude-code-telemetry-enable --mode railway --endpoint <OTLP_URL>
Cost Estimate
- •Free tier: $5 credit/month (testing)
- •Production: $15-25/month (5 services, 10GB volumes)
Scripts
- •
scripts/deploy-to-railway.sh- Automated Railway deployment - •
scripts/get-railway-urls.sh- Fetch public URLs