skip to content
Alvin Lucillo

Basic setup for lgtm

/ 1 min read

To easily work on observability, we can try the Docker OpenTelemetry LGTM, which is composed of Loki, Grafana, Tempo, and Mimir. This just creates a container out of the lgtm docker image.

services:
  lgtm:
    image: grafana/otel-lgtm:latest
    ports:
      # Grafana dashboard
      - "127.0.0.1:3000:3000"
      # Collectors
      - "127.0.0.1:4317:4317"
      - "127.0.0.1:4318:4318"
docker compose up -d 
[+] up 2/2
 ✔ Network observability_default  Created                                                                             0.0s
 ✔ Container observability-lgtm-1 Started 

Access the dashboard via http://localhost:3000