---
title: "Deploy OpenTelemetry LGTM"
description: "Deploy and Host the Grafana LGTM stack with Opentelemetry Collector"
category: "Observability"
url: https://railway.com/deploy/opentelemetry-lgtm
---

# Deploy OpenTelemetry LGTM

Deploy and Host the Grafana LGTM stack with Opentelemetry Collector

**[Deploy OpenTelemetry LGTM on Railway](https://railway.com/template/opentelemetry-lgtm)**

- **Creator:** Jonas Atienza's Projects
- **Category:** Observability
- **Total deploys:** 5

## Template content

### OpenTelemetry Collector https://devicons.railway.app/opentelemetry

- **Source:** jratienza65/otel-lgtm-railway
- **Public domain:** Yes

### Tempo https://grafana.com/static/assets/img/logos/grafana-tempo.svg

- **Source:** jratienza65/otel-lgtm-railway

### Grafana https://devicons.railway.app/grafana

- **Source:** jratienza65/otel-lgtm-railway
- **Public domain:** Yes

### Loki https://grafana.com/media/docs/loki/logo-grafana-loki.png

- **Source:** jratienza65/otel-lgtm-railway

### Prometheus https://devicons.railway.app/prom

- **Source:** jratienza65/otel-lgtm-railway

## Documentation

# 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.


## Similar templates

- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.
- [SigOnly](https://railway.com/deploy/sigonly) — Deploy SigNoz with a working demo app & config in one click
- [Unwrapped Spotify Music Stats](https://railway.com/deploy/wide-bold) — Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Open this page in a browser: https://railway.com/deploy/opentelemetry-lgtm
