Datadog → Grafana Stack
hardGrafana + Loki + Tempo + Mimir replaces Datadog's logs, traces, and metrics. Self-hosted or Grafana Cloud. Dramatically cheaper at scale.
Use Docker Compose or Helm. Grafana for dashboards, Loki for logs, Tempo for traces, Mimir for metrics.
docker compose -f docker-compose-grafana-stack.yml up -d
Replace Datadog Agent with Grafana Alloy (or Promtail) for log collection.
npm uninstall dd-trace
Expose Prometheus metrics from your app. Mimir scrapes and stores them. Replace Datadog StatsD with Prometheus client.
Replace dd-trace with OpenTelemetry SDK. Send traces to Tempo.
npm install @opentelemetry/sdk-node @opentelemetry/exporter-trace-otlp-http
Rebuild Datadog dashboards in Grafana. Import community dashboards for common services.
Configure Grafana alerting rules to replace Datadog monitors.
What this migration involves
Moving from Datadog to Grafana Stack is rated hard and takes about 8-16h on a typical project. The guide breaks it into 6 steps, 3 of which ship with runnable commands and 1 with a verification check.
Related migrations
FAQ
How long does migrating from Datadog to Grafana Stack take?
Around 8-16h for a typical project — 6 steps, difficulty rated hard, 3 of them with copy-paste commands.
Is moving from Datadog to Grafana Stack reversible?
No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Datadog data before you start.
What does Grafana Stack cost compared to Datadog?
Datadog: freemium from $15/mo, free plan available.