Deploy OpenTelemetry LGTM

Deploy and Host the Grafana LGTM stack with Opentelemetry Collector

Deploy OpenTelemetry LGTM

OpenTelemetry Collector

jratienza65/otel-lgtm-railway

Just deployed

/data

Just deployed

/data

/data

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

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

More templates in this category

View Template
OpenTelemetry Collector and Backend
OpenTelemetry Collector with Backend Stack

View Template
pgweb | Postgres UI
View and query your Postgres instance with a sleek and minimalistic UI.

View Template
Elasticsearch-Kibana
Elasticsearch is a search engine based on the Lucene library.