MigrationMigrate from grafana to openobserve

Migrate from Grafana (LGTM Stack) to OpenObserve

Updated View MarkdownOpen in ChatGPTOpen in Claude

Many teams run their observability stack on LGTM. That means Loki for logs, Grafana for dashboards, Tempo for traces, and Mimir (or Prometheus) for metrics. If you want to move to OpenObserve, this guide walks you through the whole migration. It goes signal by signal and data source by data source.

Table of Contents

  1. Overview: Why migrate and what changes.
  2. Architecture & Terminology: How the stack maps across.
  3. Migrating Metrics: Move from Mimir or Prometheus remote write.
  4. Migrating Traces: Move from Tempo.
  5. Migrating Logs: Move from Loki.
  6. Migrating Dashboards & Alerts: Move Grafana dashboards and Alertmanager rules.

Why Migrate?

The LGTM stack is a solid observability setup. But running it means you operate 4–6 separate distributed systems. Each has its own storage, scaling model, config format, and upgrade cycle. Over time, that work adds up.

Multiple systems, multiple problems

Each component in the LGTM stack is its own distributed system:

  • Loki: Stores logs in chunks with a custom index.
  • Mimir: A horizontally-scaled Prometheus backend with its own series cardinality model.
  • Tempo: Uses a completely different storage layout for traces.

Each one needs its own capacity planning, tuning, and monitoring. Yes, you need to monitor your monitoring. When something breaks at 3am, you need to know which of four systems is the culprit.

Storage fragmentation

Your logs, metrics, and traces live in three different backends. To link data across signals, you must switch query languages:

SignalQuery Language
LogsLogQL
MetricsPromQL
TracesTraceQL

You can jump from a log line to its trace and then to the related metric spike. But it is clunky. Each step has a different UI, a different syntax, and a different mental model.

Scaling is per-component

Each system scales in a completely different way:

  • Loki: Bottlenecks on ingestion streams and chunk storage.
  • Mimir: Bottlenecks on series cardinality and query concurrency.
  • Tempo: Bottlenecks on trace storage and block compaction.

You end up as an unwilling expert in four different distributed systems.

What OpenObserve Changes

Migrate from LGTM to OpenObserve

OpenObserve replaces the separate systems with one. The table below compares the two setups.

LGTM StackOpenObserve
Components to run4–6 (Loki + Mimir + Tempo + Grafana + Alloy + object storage)1 binary or 1 Helm chart
Storage backendsSeparate per signalSingle unified store (local disk, S3, GCS, Azure Blob)
Storage costHigh — separate storage per signalUp to 140x lower storage costs
Query languagesLogQL + PromQL + TraceQLSQL + PromQL (for metrics)
Built-in visualizationNo — Grafana is a separate deploymentYes — UI included
OpenTelemetry supportRequires per-component configNative single OTLP endpoint for all signals
Operational complexityHigh — each component has its own failure modesLow — one system to monitor, upgrade, and scale

Before You Start

Before changing any configs, note what you're running:

  • Data sources: What is sending data? Examples include OTel Collector, Prometheus, Grafana Agent/Alloy, Telegraf, Fluent Bit, Vector, app SDKs, and cloud integrations.
  • Active signals: Which signals are in use? For example: metrics to Mimir, logs to Loki, and traces to Tempo.

Set Up OpenObserve

Before you migrate each signal, get OpenObserve running:

Sign up at cloud.openobserve.ai. There is no infrastructure to manage.

After you log in, go to Data > Data sources. There you'll find your ingestion credentials and endpoint URLs.

Data sources, Custom, Logs, Curl with the ingestion command

Download OpenObserve for your platform from the downloads page.

After you install it, open the UI at http://localhost:5080. Go to Data > Data sources to find your ingestion credentials and ready-to-use config snippets.

Next Steps

Was this page helpful?