Comparisons & Migrations

How Grafana and Datadog compare on cost, architecture, and lock-in

Chris Churilo
August 2, 2026
 |  
7
min read
August 2, 2026
7
min read
Comparisons & Migrations

Grafana vs Datadog is a build-versus-buy decision. Grafana is the open-source LGTM stack: Loki for logs, Grafana for visualization, Tempo for traces, Mimir for metrics, available self-hosted under an Apache 2.0 license or as the managed Grafana Cloud service. Datadog is an integrated proprietary SaaS: one agent, 1,000+ integrations, and a usage-based bill that meters hosts, gigabytes, custom metrics, and indexed spans separately.

Engineering leaders feel that structural difference in every category below. Grafana gives you composability and open standards, and charges you in operational overhead: each LGTM component is a separate system to deploy, scale, patch, and put on call. Datadog gives you a working, correlated experience as soon as your team installs the agent and enables integrations, and charges a premium that grows with every signal you send, backed by switching costs that compound the longer you stay.

Grafana vs Datadog at a glance

Engineering teams usually evaluate the decision across seven dimensions:

Dimension Grafana Datadog
Pricing model OSS free to license (infra plus 0.1–1.5 FTE); Grafana Cloud usage-based ($6.50/1k active series, ~$0.55/GB logs on Pro) Per host plus per signal: $15–$27/host infrastructure, $31/host bundled annual APM, $36–$47 standalone, $0.10/GB log ingest, $5/100 custom metrics
Deployment Self-hosted (OSS free; Enterprise quote-based), Grafana Cloud Pro, or Cloud Enterprise (min $25,000/yr; BYOC at that tier only) SaaS delivery model for the core platform
Query language Open query languages across telemetry signals Proprietary metrics syntax plus DDSQL, neither portable
OpenTelemetry support Native; Alloy is an OpenTelemetry Collector distribution Supported via DDOT Collector; OTLP ingest off by default, gaps for profiles
Ops overhead 0.1 to 1.5 FTE self-hosted depending on scale; low on Grafana Cloud Low; unified agent with auto-discovery
Lock-in risk Low self-hosted (open formats); moderate on Cloud High: proprietary queries, agent, no PromQL export path
Best-fit team Platform teams with ops capacity and open-standards mandates Teams buying an integrated experience with budget for usage-based billing

The core trade-off: open-source stack vs integrated SaaS

For an engineering leader, the question is where the cost lives: on the invoice or on the payroll. Datadog puts it on the invoice. Its single agent auto-discovers services, ships pre-built dashboards the moment an integration is enabled, and correlates the core telemetry signals out of the box. In exchange, every signal has a meter, and the meters interact in ways that produce bill shock.

Coinbase reportedly paid $65 million to Datadog for 2021 services. Pragmatic Engineer reported the figure well afterward; it covers 2021 and reflects a scale most readers will never approach. It still marks the ceiling of what usage-based metering can produce.

Grafana puts the cost on the payroll. Self-hosting the LGTM stack means coordinating Loki, Mimir, Tempo, and Alloy as separate systems, each with its own deployment modes, configuration, and query language. The software is free; the engineers who run it are not.

A 2026 mid-market cost model puts Grafana Cloud between the two: managed operations with usage-based pricing that runs 40–60% below Datadog for the same usage profile.

How they compare, category by category

Datadog leads on integration polish, out-of-box correlation, and time to value. Grafana wins on cost control at volume, query language portability, and deployment flexibility. The deciding variables are your host count and how much engineering capacity you can dedicate to running observability infrastructure.

Pricing and total cost of ownership

Datadog list pricing

Datadog's list prices stack per product, so the invoice is a sum of separate meters rather than one line item:

  • Infrastructure Monitoring: Hosts cost $15/host/month on Pro annual ($18 month-to-month) and $23/host on Enterprise ($27 month-to-month).
  • APM: Adds $31/host/month bundled annually, or $36–$47/host standalone.
  • Logs: Costs $0.10/GB ingested plus $1.70 per million events indexed at 15-day retention. Datadog bills overages at +50% of the annual committed price.
  • Custom metrics: Pro includes 100 custom metrics per host and Enterprise 200, then $5 per 100 custom metrics/month at list price, with ingested-metric overage at $0.10 per 100 and indexed overage set by contract.
  • Database Monitoring: Runs $70–$84/host/month, one of Datadog's most expensive per-host products.

Grafana pricing paths

Grafana prices its three paths differently:

  • Grafana Cloud Pro: Pro charges a $19/month platform fee on top of the free-tier allowances, then $6.50 per 1,000 active series above the first 10,000 and roughly $0.55/GB all-in for logs, traces, and profiles at Tier 1 volumes, split across process, write, and retain charges. Billing is pay-as-you-go after the platform fee, so a cardinality spike lands on the next invoice.
  • Grafana Cloud Enterprise: Enterprise trades that pay-as-you-go model for a $25,000/year minimum commitment, and metrics fall to $3 per 1,000 active series at the floor rate.
  • Self-hosted LGTM: Self-hosting carries no license cost; you pay for compute, object storage for Loki chunks and long-term metric storage, and engineering time.

Published cost scenarios

Three 2025–2026 cost models estimate all three paths:

Scale Datadog Grafana Cloud Self-hosted LGTM
~30 hosts (2026 TCO model) $4,200/mo not published $1,450/mo, including a $1,200/mo engineering-time allowance at $150/hr
~100 hosts, 40 GB/day logs (mid-market cost model) $4,400–$4,700/mo $1,250–$1,500/mo $2,800–$4,200/mo
~200 hosts, 500 GB/day logs (2026 TCO model) $36,270/mo not published $4,900/mo plus 12–22 hrs/mo of SRE time
~500 hosts, 250 GB/day logs (mid-market cost model) $23,000–$30,000/mo $6,000–$7,000/mo $9,500–$13,000/mo
~2,000 hosts, 800 GB/day logs (mid-market cost model) $100,000–$120,000/mo $14,500–$22,000/mo $50,000–$77,500/mo, including $25,000–$40,000 infrastructure and 1–1.5 FTEs

Engineering leaders should evaluate two thresholds, each from a single 2026 model. The same mid-market cost model puts the floor below roughly 50 hosts, where the operational overhead of self-hosting outweighs the SaaS premium, and the savings crossover near 200 hosts. One 2026 TCO model sets the net-positive point for self-hosting where the annual SaaS premium exceeds $50,000–$75,000 per dedicated observability engineer on the team.

The verdict: across the 50–500 host range, Grafana Cloud runs 40–60% below Datadog at equivalent usage. Self-hosting pays back at larger scale only if you fund the engineers to run it.

Architecture: LGTM stack vs Datadog Agent

The LGTM stack is a set of independent distributed systems. Loki, Mimir, and Tempo each have their own deployment modes, scaling characteristics, and query language: LogQL, PromQL, and TraceQL.

Collection runs through Grafana Alloy, an OpenTelemetry Collector distribution with more than 120 pipeline components, Kubernetes discovery, and gossip-based clustering.

The Datadog Agent is one deployment: a main process plus optional APM and Process subprocesses, with a built-in Autodiscovery subsystem driven by pod annotations and auto_conf.yaml defaults, backed by more than 1,000 pre-built integrations.

On footprint, Alloy's maintainers estimate ~0.4 cores and ~11 GiB memory per 1 million active Prometheus series; Datadog's most recent official Agent benchmark (v7.34.0) shows ~0.08% CPU and ~130 MB RSS. Treat both numbers as directional, since each vendor published them under different workloads.

The verdict: Datadog's unified agent has a far lower assembly and maintenance cost. The LGTM stack's component independence buys scaling flexibility and vendor neutrality, and you pay for it in coordination work.

Metrics monitoring

Mimir is PromQL-native. Datadog's Metrics Explorer uses Datadog metrics syntax, not PromQL.

Cardinality is where the cost models diverge. Datadog bills each distinct metric name plus tag-value combination as a separate custom metric, and a DISTRIBUTION metric counts as 5 custom metrics by default. Wolt submitted an entity_id tag inadvertently, and that tag exploded a single metric into Wolt's incident of nearly 2 million unique time series.

Both vendors sell mitigation. Grafana's Adaptive Metrics aggregates unused series and reports a 20–50% average reduction across 150+ customer environments. Datadog's Metrics without Limits™ decouples ingestion from indexing, with up to 70% reduction for unqueried metrics, but configuring a metric with it triggers billing on both ingested and indexed volumes simultaneously.

The verdict: Grafana's active-series model is more predictable and its query language is portable. Datadog's metrics experience is more automated but carries the sharpest bill-shock risk on the platform.

Log management

Loki does not index log content. Loki groups log entries into label-indexed streams, with compressed chunks in object storage, so the index is 1–5% of raw log volume and ingestion consumes roughly 15% CPU at 21k lines/s versus ~75% at 20k lines/s for Elasticsearch-style inverted indexing, according to a Loki benchmark. Qonto's network observability platform runs ~$6,600–$7,600/month on Loki versus ~$12,600–$13,600 on Elasticsearch for the same ~30 TB compressed/month.

Datadog indexes full text and prices it accordingly: $0.10/GB ingested plus per-million-event indexing, with Logging without Limits to decouple the two. The payoff is query speed on arbitrary content. On Loki, a full-text search is a distributed grep, with expected production latencies of 10–30 seconds, and Norway's welfare agency NAV rejected Loki at 400 GB/day after a NAV case study found that developers struggled to use it for incident investigation.

The verdict: Loki's label-only index costs less per GB ingested and stored at volume. Engineers investigating an incident get faster arbitrary-content search on Datadog; teams that depend on ad-hoc full-text search face the hardest Loki migration.

Distributed tracing and APM

Datadog APM requires per-language SDK installation or Single Step Instrumentation. The cost is $31–$47 per APM host/month plus $0.10/GB of ingested spans and per-million indexed span charges.

Cross-signal correlation is the product's strongest feature. At least one migration retrospective describes Datadog APM as more intuitive than the Tempo-plus-Explore workflow.

Tempo ingests Jaeger, Zipkin, and OTel traces and queries them with TraceQL. Full APM on the Grafana stack still requires OTel SDK instrumentation per service; Grafana Beyla's eBPF auto-instrumentation captures only RED metrics and basic spans.

The verdict: Datadog delivers the stronger APM experience out of the box, at a premium per-host price. Tempo is credible for OTel-instrumented teams willing to build the correlation themselves.

Dashboarding and visualization

Grafana is the de-facto standard for infrastructure dashboards. In the Stack Overflow Developer Survey 2025, Grafana plus Prometheus led observability and monitoring tools at 43% among 2,689 respondents. The flexibility has a learning curve.

Datadog ships pre-built dashboards the moment you enable an integration. You trade customization depth for immediacy.

The verdict: Grafana for teams that build their own views and pull from many data sources; Datadog for teams that want defaults working on day one.

Alerting

Datadog offers composite monitors, Watchdog anomaly detection, and forecast alerts, with lower setup complexity than assembling Prometheus Alertmanager with Grafana. Grafana's Prometheus-style alerting works well but demands careful upgrade testing and migration planning.

The verdict: Datadog has the more integrated alerting experience of the two. Grafana alerting works well but demands more operational discipline.

Vendor lock-in and open standards

PromQL is portable across nearly every major metrics backend: Mimir, Thanos, VictoriaMetrics, AWS, GCP, Azure managed Prometheus offerings, and Chronosphere all run PromQL queries with little or no modification. Dashboards and alert rules written against it move with you.

Datadog's query languages do not. Its metrics syntax has no 1:1 mapping to PromQL, DDSQL only queries data inside Datadog, and Prometheus metrics ingested by the Agent are forwarded as custom metrics with no PromQL query or remote-write export path. OTel adoption faces documented friction: OTLP ingest is off by default, and OTel SDK-instrumented data is incompatible with App and API Protection, Continuous Profiler, and Ingestion Rules.

The verdict: self-hosted Grafana carries near-zero lock-in. Grafana Cloud sits in the middle, since dashboards and alerts live in Grafana's own format and consumption pricing creates switching friction, even though the queries themselves stay PromQL and LogQL. Datadog is structurally sticky by design.

Self-hosted vs Grafana Cloud vs Datadog SaaS

Running LGTM yourself means owning patching, scaling, capacity planning, and on-call for four or more distributed systems. Stribog's regulated-fintech case on a 20–50 node cluster required 0.25–0.5 FTE for setup and 0.1–0.2 FTE ongoing, cut observability spend 80%, and extended retention from 30 days to 13 months. The same source's threshold: teams with fewer than five engineers cannot afford 0.5 FTE for observability.

Grafana Cloud removes that burden, and its free tier covers 10,000 active series, 50 GB each of logs and traces, 14-day retention, and 3 users. Cardinality surprises are its most documented complaint: Grafana billed one developer $76.91 after they paid $0 for over a year, and a Hacker News user came back to 70k unique series, pushing the bill well over $1k. Datadog's free tier covers 5 hosts with 1-day metric retention, and its SaaS-only model means every non-log signal leaves your environment for Datadog's cloud.

The verdict: on the published numbers, we would default to Grafana Cloud in the 50–500 host range. Self-host only with dedicated capacity; choose Datadog SaaS when zero operations outweighs the premium and the data-residency trade.

Security, compliance, and enterprise features

Datadog includes security products such as Cloud SIEM and Cloud Security Management, alongside observability in its FedRAMP scope. For regulated buyers it offers a HIPAA BAA covering 2 core plus 30+ extended eligible services and FedRAMP High certification (May 2026).

Grafana Cloud holds:

  • SOC 2 Type II
  • ISO 27001
  • PCI DSS v4.0.1 Level 1 Service Provider status
  • FedRAMP High authorization (April 2025) with DoD IL5 compliance via the Palantir FedStart program

No HIPAA BAA or eligible-services list appears in Grafana's published documentation, and it has no equivalent security product line, so posture management and threat detection come from separate tools. Grafana Enterprise adds RBAC with custom roles, SAML, data source permissions, and multi-tenancy via X-Scope-OrgID headers across Mimir, Loki, and Tempo.

The verdict: Datadog for teams that want observability and security posture from one vendor, and for HIPAA workloads. Grafana Cloud holds FedRAMP High and DoD IL5; self-hosting adds full data locality that no SaaS can match.

Migrating from Datadog to Grafana

Grafana Labs has guided more than 50 customers through Datadog migrations, and the work breaks into three workstreams:

  1. Agent replacement: Swap the Datadog Agent for Alloy. Grafana's OpenTelemetry Datadog receiver (Alloy v1.2.0) translates Datadog metric formats into OTLP, and DD_ADDITIONAL_ENDPOINTS enables a parallel run of both pipelines for validation before cutover.
  2. Dashboard conversion: There is no clean automated path because the query languages lack 1:1 mapping. Grafana's Enterprise-only Dashboard Translator handles timeseries, group, image, notes, and check-status widgets but does not support heatmaps, hostmaps, SLOs, logs, or alarms. This phase accounts for 40% of total migration time, and one team rebuilt 40+ dashboards from scratch.
  3. Alert rule porting: Datadog composite monitors carry multi-condition logic that maps lossily to Prometheus alerting rules and Grafana alerting; expect manual reconstruction of complex monitors.

Typical timelines run 4–12 weeks, stretching to roughly 6 months with $50K–$200K in consulting fees for consulting-assisted enterprise migrations. No bulk export exists for historical Datadog data; the documented practice is keeping Datadog read-only for a 30–90 day retention tail after cutover.

A third option: full-fidelity data at a flat per-node price

Both paths above carry a tax. Datadog meters your data; the LGTM stack meters your engineers. For Kubernetes environments, groundcover changes the architecture instead of discounting the bill.

By groundcover's own product documentation, the Flora eBPF sensor deploys as a Kubernetes DaemonSet, one pod per node, and captures metrics, logs, traces, and profiles directly from the Linux kernel. That reduces the per-language SDK instrumentation work Datadog APM and OTel SDKs both require. Flora is OpenTelemetry-native, so services you have already instrumented keep sending what they send.

The deployment model is BYOC, Bring Your Own Cloud: your data plane runs in your own cloud account. groundcover documents ClickHouse for logs and traces and VictoriaMetrics for metrics running inside your VPC, with groundcover managing only the control plane, the UI and orchestration. That storage boundary matters because Datadog becomes stickier when telemetry resides in a vendor's storage.

Because groundcover's published pricing is flat per node rather than per gigabyte ingested, per custom metric, or per indexed span, nothing has to be sampled or dropped to protect the invoice. Traces arrive at full fidelity instead of being thinned by head-based sampling. Staging, dev, and load-test clusters stay observable without changing the unit economics of the contract. And node count is a number Finance can forecast a quarter out; log growth is not.

groundcover's published customer outcomes show the mechanism. BigBasket reduced observability costs by 50% while expanding coverage across production, dev, and testing environments because flat per-node pricing does not scale with data volume. Afida expanded from 10 to approximately 100 users without incremental cost because groundcover does not charge per seat. FlipCX extended access beyond engineering to Customer Success, Sales, and Leadership without changing the pricing unit.

You can buy groundcover through the AWS, Google Cloud, and Azure marketplaces, so the spend draws down existing cloud commit instead of opening a new procurement cycle. If you want to validate the model on your own cluster, deploy the free tier for one week and compare unsampled telemetry against your current bill. Start at groundcover.com.

Which should you choose?

Platform teams should decide based on host count, engineering capacity, compliance and data-residency requirements, and how much they value open standards over integrated convenience.

Choose Grafana if:

Three conditions have to hold together, and the first one is usually a policy constraint rather than a cost calculation.

  • Open standards are mandatory: PromQL and OpenTelemetry keep core queries and pipelines portable across backends; LogQL keeps logs portable within the Grafana ecosystem.
  • You have platform capacity: Running the LGTM stack takes 0.1–0.5 FTE at small scale, rising to 1–1.5 FTE around 2,000 hosts.
  • You operate at volume: From roughly 200 hosts up, self-hosting or Grafana Cloud's consumption pricing beats Datadog's per-host-plus-usage model.

Choose Datadog if:

The case is strongest when the observability team is the application team.

  • Zero-operations SaaS: You want a single agent and no observability infrastructure to run.
  • Bundled breadth: You need mature RUM, synthetics, and a security suite from one vendor, or a HIPAA BAA.
  • Correlation over predictability: Out-of-box correlation across metrics, traces, and logs matters more than cost predictability, and you have budget for usage-based billing at a premium.

FAQs

At roughly 2,000 hosts with 800 GB/day of logs, self-hosting pays back the engineering investment within 6–9 months, according to the mid-market cost model. The scenario table above gives the monthly spread at that scale across Datadog list pricing, Grafana Cloud, and self-hosted LGTM, with the self-hosted figure landing between the other two once infrastructure and 1–1.5 FTEs are counted.

It costs more than most teams budget for. One published model for a medium deployment lands at ~$8,540/month: roughly $2,200 in compute for Mimir, Loki, Tempo, and Grafana nodes, plus 0.5 FTE at $6,250/month. You also own upgrade risk across every component, from Mimir's new Kafka dependency to dashboard-breaking major releases.

Datadog locks you in more, structurally. The cost sits in rewriting queries, dashboards, and alert rules. Moving historical data is the least complex part. Self-hosted Grafana gets called zero lock-in because the formats are open, and the storage cost of leaving genuinely is near zero, but that framing misses the actual bill: an on-call rotation across four or more distributed systems, plus upgrade risk on every one of them. On Grafana Cloud your queries stay portable, though departure still means re-homing pipelines.

Every distinct combination of metric name and tag values is a billable timeseries. One unbounded tag multiplies everything: at Delivery Hero, a developer adding user IDs as metric labels caused a Delivery Hero spike from $2,000 to $20,000, and Indeed eliminated ~$100k in annual metric costs through a month of tag cleanup.

Datadog offers the deeper built-in security product line and a HIPAA program, but it is a SaaS that receives your telemetry. Grafana self-hosted keeps every byte in your infrastructure, and Grafana Cloud matches Datadog on FedRAMP High while lacking a documented HIPAA offering. Regulated teams that need both data locality and managed operations should also weigh BYOC architectures, where the data plane stays in your VPC.

You will lose some fidelity if your dashboards are complex. Chronosphere's converter reports 90% automated fidelity with 10% manual cleanup. One first-person account concluded that rebuilding from scratch was easier than fixing the converted dashboards. The open-source graang converter is scaffolding at best: it achieves an 87.5% success rate on structure and layout with no query translation.

Sign up for Updates

Keep up with all things cloud-native observability.

We care about data. Check out our privacy policy.

Observability
for what comes next.

Start in minutes. No migrations. No data leaving your infrastructure. No surprises on the bill.