Agent Skills
› NeverSight/learn-skills.dev
› observability-railway-deploy
observability-railway-deploy
GitHub将Grafana、Loki等可观测性组件部署至Railway云。通过CLI验证、模板部署、环境变量配置及持久卷挂载,生成访问URL和Claude Code配置,实现团队云端监控。
Trigger Scenarios
需要部署可观测性堆栈到Railway
请求在云上托管Grafana和日志服务
Install
npx skills add NeverSight/learn-skills.dev --skill observability-railway-deploy -g -y
SKILL.md
Frontmatter
{
"name": "observability-railway-deploy",
"description": "Deploy LGTM observability stack to Railway cloud. Use when deploying cloud-hosted observability with team access."
}
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
✅ 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 deploymentscripts/get-railway-urls.sh- Fetch public URLs
Version History
- e0220ca Current 2026-07-05 23:12


