Self-host Grafana OTel LGTM on a VPS

An all-in-one OpenTelemetry backend with an OTLP collector, Loki logs, Tempo traces, Prometheus metrics and Grafana in one container. The Grafana admin password is generated at install. OTLP ports are not published on the host, so send telemetry from other services in this project to otel-lgtm:4317 (gRPC) or otel-lgtm:4318 (HTTP).

levelrail-cli templates install otel-lgtm --name my-otel-lgtm

Specification

Status
Listed
Category
Monitoring
Services
otel-lgtm
Ports
3000, 4317, 4318
Volumes
1
Memory
about 1 GiB
arm64
unknown
amd64
unknown
Settings to fill in
none
Listing
Community template

About Grafana OTel LGTM

An all-in-one OpenTelemetry backend with an OTLP collector, Loki logs, Tempo traces, Prometheus metrics and Grafana in one container. The Grafana admin password is generated at install. OTLP ports are not published on the host, so send telemetry from other services in this project to otel-lgtm:4317 (gRPC) or otel-lgtm:4318 (HTTP).

What it deploys

Grafana OTel LGTM runs as one service in a single Compose app, listening on ports 3000, 4317, 4318, with 1 named volume mount.

ServiceImageTagPortsVolumes
otel-lgtm grafana/otel-lgtm 0.40.0 3000, 4317, 4318 otel_lgtm_data -> /data

Before you install

  • CPU architecture. arm64 unknown. The scan could not read a manifest or the tag is chosen at install time. This is not a claim either way.
  • Listed. It is in the catalog. Back up the data volume before changing an image tag.

Settings and environment

You do not have to fill in anything. 1 secret is generated at deploy and stored encrypted. Values are never shown here.

ServiceVariableValue
otel-lgtmGF_SECURITY_ADMIN_PASSWORDGenerated at deploy
otel-lgtmGF_SECURITY_ADMIN_USERPreset by the template
otel-lgtmTZPreset by the template

First run

  1. Sign in to Grafana as admin with the generated password from the app secrets.

Install Grafana OTel LGTM on a VPS

  1. Install Levelrail on a fresh VPS

    Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.

    curl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Sign in

    Open the setup link, choose a password, then log the CLI in. The CLI install command is curl -fsSL https://levelrail.com/install-cli.sh | sh if the machine does not have it. See Getting started.

    levelrail-cli login --device
  3. Read the template

    Shows the entry, including its full compose.yaml.

    levelrail-cli templates get otel-lgtm
  4. Install it

    This template has an install form, so the CLI fills each setting from --env, a generated secret or its default.

    levelrail-cli templates install otel-lgtm --name my-otel-lgtm

    To put a service behind a domain at install, add --domain SERVICE=HOST:

    levelrail-cli templates install otel-lgtm --name my-otel-lgtm --domain otel-lgtm=otel-lgtm.example.com

Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Grafana OTel LGTM.

More in Monitoring

All Monitoring templates