Grafana on Railway

Grafana with Loki, Tempo, Prometheus and Alloy for logs, traces and metrics, on Railway.

Official site · License: AGPL-3.0 (Grafana, Loki, Tempo); Apache-2.0 (Alloy, Prometheus) · 21 Railway templates

Deploy Grafana on RailwayCompare templates

Grafana is an open-source tool for dashboards, alerting and exploring observability data. It reads from many data sources and is most often paired with Prometheus for metrics, Loki for logs and Tempo for traces. Together with Grafana Alloy as the collector, this set is commonly called the LGTM stack.

Developers use it to see how their services behave: jump from a slow trace to the logs and metrics of the same service, build dashboards, and set alerts. Apps send telemetry over OpenTelemetry (OTLP), so one endpoint can receive data from many services. It is a self-hosted alternative to paid observability SaaS products.

Grafana, Loki and Tempo are licensed under AGPL-3.0; Alloy and Prometheus are Apache-2.0.

What Grafana can do

  • Dashboards and alerting in Grafana
  • Loki for logs, Tempo for traces, Prometheus for metrics
  • Alloy as a single OpenTelemetry (OTLP) endpoint
  • Pre-provisioned, linked data sources
  • Object storage for logs and traces
  • Optional public ingest with a bearer token

What people use it for

  • Collecting traces, logs and metrics from apps through one OTLP endpoint
  • Jumping from a slow trace to the matching logs and metrics
  • Dashboards and alerts on service metrics
  • Receiving telemetry from apps hosted outside Railway

Videos

Grafana is the goat... Let's deploy the LGTM stack · Fireship
Server Monitoring // Prometheus and Grafana Tutorial · Christian Lempa
Understanding Dashboards in Grafana | Panels, Visualizations, Queries, and Transformations · Grafana

Running Grafana on Railway

The template deploys Grafana 13.2.3, Loki, Tempo, Prometheus and Alloy in one project. Datasources are provisioned and linked, Loki and Tempo keep data in two Railway Buckets, and Grafana, Prometheus and the write-ahead logs use volumes. Alloy receives OTLP on the private network, or publicly with a bearer token. It is a single-node stack. The template notes about 0.6 GB of RAM idle (measured locally, not on Railway); memory and bucket storage grow with ingest.

Grafana templates on Railway

Grafana 13 LGTM Observability StackMaintained by Tracklayer
Grafana's observability stack for logs, traces and metrics. This template deploys Grafana 13.2.3, Loki, Tempo, Prometheus and Grafana Alloy as a single OpenTelemetry endpoint, with
10 deployments
Deploy
Grafana by an independent creator
Self-hosted Grafana dashboards & alerts for Prometheus, Loki, InfluxDB, SQL
343 deployments
Deploy
Grafana Stack by an independent creator
One-click observability with Loki, Prometheus, Tempo, and Grafana
323 deployments
Deploy
Grafana by an independent creator
Open source analytics & monitoring solution for every database
96 deployments
Deploy
Grafana Persistent by an independent creator
Grafana, with a volume attached to keep your configurations around
28 deployments
Deploy
Grafana OpenTelemetry Stack by an independent creator
One-click Grafana/OTLP stack deployment
22 deployments
Deploy
Loki (Grafana) [Updated Nov ’26] by an independent creator
Loki (Grafana) [Nov ’26] (Real-time monitoring and observability) Self Host
15 deployments
Deploy
Grafana | Open-Source Observability Platform by an independent creator
Self Host Grafana: Metrics, logs, traces from 100+ data sources
14 deployments
Deploy
railway-grafana-alloy by an independent creator
Deploy and Host railway-grafana-alloy with Railway
10 deployments
Deploy
VictoriaLogs-Grafana by an independent creator
Bare bones Grafana provisioned with VictoriaLogs
8 deployments
Deploy
Grafana by an independent creator
Self-hosted Grafana dashboards with persistent storage and healthchecks.
7 deployments
Deploy
Grafana, Loki and Prometheus with OTEL Collector by an independent creator
Grafana, Loki and Prometheus with a centralized OTEL Collector
6 deployments
Deploy
Prometheus + Grafana by an independent creator
Deploy and Host Prometheus + Grafana with Railway
5 deployments
Deploy
Grafana by an independent creator
Datadog Alternative. Dashboards, alerts, PromQL, SQL, Loki, PNG export
2 deployments
Deploy
grafana by an independent creator
Beautiful dashboards and alerting for metrics, logs and traces
1 deployments
Deploy
Grafana by an independent creator
Dashboards and alerts for metrics, logs and traces from many sources
1 deployments
Deploy
Grafana by an independent creator
Grafana — observability dashboards for metrics, logs, and alerts
1 deployments
Deploy
Grafana Alloy LGTM by an independent creator
Deploy and Host the Grafana LGTM stack with Alloy and Faro RUM
1 deployments
Deploy
Beszel | (Just Updated) Self-Hosted Server Monitoring Hub, Uptime Kuma and Grafana Alternative, Admin Login Generated by an independent creator
Beszel self-hosted server monitoring hub, Docker stats, admin generated
0 deployments
Deploy
Grafana by an independent creator
Grafana 13.1.3 observability dashboards, logs, and alerts.
0 deployments
Deploy
Grafana + Loki + Prometheus | (Just Updated) Logs and Metrics That Scrape Your Apps by an independent creator
Grafana + Loki + Prometheus that scrape your apps and expire old data
0 deployments
Deploy

Tracklayer templates are listed first. Other Grafana templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about Grafana

How do I log in?

Open the Grafana public domain and sign in as admin with GF_SECURITY_ADMIN_PASSWORD from the Grafana service variables. The password applies on first start.

How do my apps send data?

Set OTEL_EXPORTER_OTLP_ENDPOINT to the Alloy value, use the http/protobuf protocol and set an OTEL_SERVICE_NAME. From outside Railway, use the Alloy public domain with the OTLP_PUBLIC_TOKEN bearer token.

How long is data kept?

Default retention is 31 days for logs, 14 days for traces and 15 days for metrics. Logs and traces live in Railway Buckets.

Can I run multiple replicas?

No. It is a single-node stack that scales vertically, and Grafana uses SQLite so it stays at one replica.

What does the AGPL mean for me?

Running it for yourself does not change the licence terms. If you modify Grafana, Loki or Tempo and offer them to others over a network, the AGPL requires you to share your modified source. This is not legal advice.

Guides

Similar apps

Tracklayer maintains the templates marked as such; Grafana is a trademark of its owners and this site is not affiliated with them.