Deploy OpenTelemetry LGTM
Deploy and Host the Grafana LGTM stack with Opentelemetry Collector
OpenTelemetry Collector
Just deployed
Just deployed
/data
Just deployed
/data
Just deployed
/data
Prometheus
Just deployed
/data
Deploy and Host OpenTelemetry LGTM on Railway
OpenTelemetry LGTM (Loki, Grafana, Tempo, Mimir/Prometheus) is a production-ready observability stack that unifies logs, metrics, traces, and visualization. It provides end-to-end visibility into modern distributed systems using open standards, enabling teams to monitor performance, troubleshoot issues, and understand system behavior at scale.
About Hosting OpenTelemetry LGTM
Hosting OpenTelemetry LGTM involves deploying and wiring together multiple observability components: an OpenTelemetry Collector for ingestion, Prometheus for metrics, Loki for logs, Tempo for traces, and Grafana for visualization.
On Railway, this template deploys all components with private service networking, preconfigured endpoints, and minimal manual setup. Railway handles service discovery, environment variable injection, scaling, and lifecycle management, allowing you to run a full observability platform without maintaining infrastructure. The result is a centralized, scalable telemetry backend ready to ingest OTLP data from any application.
Common Use Cases
- Full-stack observability for microservices (metrics, logs, and traces in one UI)
- Debugging latency and errors across distributed systems
- Monitoring infrastructure and application health with Prometheus metrics
- Centralized log aggregation and search with Loki
- Distributed tracing and request-level analysis with Tempo
Dependencies for OpenTelemetry LGTM Hosting
- OpenTelemetry Collector
- Grafana
- Prometheus
- Loki
- Tempo
Deployment Dependencies
- OpenTelemetry: https://opentelemetry.io/docs/
- OpenTelemetry Collector: https://opentelemetry.io/docs/collector/
- Grafana: https://grafana.com/docs/
- Prometheus: https://prometheus.io/docs/introduction/overview/
- Loki: https://grafana.com/docs/loki/latest/
- Tempo: https://grafana.com/docs/tempo/latest/
Implementation Details
OpenTelemetry Collector endpoints (internal Railway networking):
RAILWAY_LOKI_ENDPOINT="http://${{Loki.RAILWAY_PRIVATE_DOMAIN}}:3100/otlp"
RAILWAY_TEMPO_ENDPOINT="http://${{Tempo.RAILWAY_PRIVATE_DOMAIN}}:4318"
RAILWAY_PROMETHEUS_ENDPOINT="http://${{Prometheus.RAILWAY_PRIVATE_DOMAIN}}:9090/api/v1/otlp"
Grafana auto-wired data sources:
RAILWAY_LOKI_ENDPOINT="http://${{Loki.RAILWAY_PRIVATE_DOMAIN}}:3100"
RAILWAY_TEMPO_ENDPOINT="http://${{Tempo.RAILWAY_PRIVATE_DOMAIN}}:3200"
RAILWAY_PROMETHEUS_ENDPOINT="http://${{Prometheus.RAILWAY_PRIVATE_DOMAIN}}:9090"
Grafana boots with preinstalled plugins and a randomized admin password, making dashboards immediately accessible after deployment.
Why Deploy OpenTelemetry LGTM on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying OpenTelemetry LGTM on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
OpenTelemetry Collector
jratienza65/otel-lgtm-railwayGF_SECURITY_ADMIN_USER
Prometheus
jratienza65/otel-lgtm-railway
