Softwr

Web Development · head to head

Datadog APM vs Preact

Datadog APM logo

Datadog APM

Web Development

Per-host distributed tracing and continuous profiling inside the Datadog platform

From
$31/month
Free plan
No
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes

The short version

  • Preact is free; Datadog APM starts at $31/mo.
  • Only Datadog APM lists distributed tracing; only Preact lists 3kB runtime.
  • Where Datadog APM falls short: billing is per APM host with span allotments, so an autoscaling cluster that spikes in size produces a bill that is hard to forecast.
  • Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.

How do Datadog APM and Preact differ?

Datadog APM and Preact differ on starting price ($31/month against Free), pricing model and free tier (No against Yes). Only the attributes on which Datadog APM and Preact actually diverge.

Attributes where Datadog APM and Preact differ
AttributeDatadog APMPreact
Starting price$31/monthFree
Pricing modelPer APM host per monthOpen source, no licence fee
Free tierNoYes
PlatformsWeb, Linux, Windows, macOSWeb

Not yet recorded: category for Datadog APM.

Which features does each one have?

They share no listed features; 6 appear only for Datadog APM and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Datadog APM

  • Distributed tracing
  • Trace retention filters
  • Continuous Profiler
  • Data Streams Monitoring
  • Dynamic Instrumentation
  • Cross-product correlation

Only in Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

What is each one used for?

Datadog APM is most often brought in for comparing CPU and memory profiles across deployments to cut cloud compute spend; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.

Datadog APM

  • Finding the slow service in a microservice request path that already reports metrics to Datadognot Preact
  • Comparing CPU and memory profiles across deployments to cut cloud compute spendnot Preact
  • Tracing message latency and consumer lag across Kafka or SQS pipelinesnot Preact
  • Linking a failing trace to the exact log lines and host metrics in one viewnot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Datadog APM
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Datadog APM
  • Applications targeting low-bandwidth or low-powered devicesnot Datadog APM

Where do Datadog APM and Preact fall short?

Preact's most cited limit: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Datadog APM

  • Billing is per APM host with span allotments, so an autoscaling cluster that spikes in size produces a bill that is hard to forecast
  • The published APM rates assume Infrastructure monitoring is attached, so the true cost of tracing includes a separate per-host Infrastructure licence
  • Spans above the included ingestion and indexed-span allotments are billed separately, which penalises high-throughput services with verbose traces
  • Profiling and Data Streams Monitoring are locked to the higher tiers, so getting code-level insight costs roughly 30 percent more per host than basic tracing
  • It is tightly coupled to the Datadog agent and platform, so moving to another vendor later means re-instrumenting dashboards, monitors and retention rules

Preact

  • Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • Behavioural differences from React exist in edge cases, particularly around event handling
  • A much smaller community, so unusual problems have fewer existing answers than React

How much do Datadog APM and Preact cost?

Datadog APM starts at $31/mo; Preact is free to use. Plan by plan below, from each vendor's own pricing page.

Datadog APM

$31/month
  • APM$31/mo
    • $31 per host per month billed annually, with Infrastructure monitoring attached ($36 on-demand)
    • Distributed tracing and service dependency mapping
    • 15-day historical trace search
  • APM Pro$35/mo
    • $35 per host per month billed annually ($42 on-demand with Infrastructure attached)
    • Everything in APM
    • Data Streams Monitoring
  • APM Enterprise$40/mo
    • $40 per host per month billed annually ($48 on-demand with Infrastructure attached)
    • Everything in APM Pro
    • Continuous Profiler

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • No usage limits

Which should you pick?

Choose Datadog APM if

  • You need distributed tracing.
  • You work on Web, Linux, Windows, macOS.
  • You also want trace retention filters.

Choose Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Questions people ask

Is Datadog APM or Preact better?
It depends on the job. Datadog APM fits finding the slow service in a microservice request path that already reports metrics to Datadog; Preact fits embedded widgets that load inside someone else’s page and must stay small. Datadog APM starts at $31/month and Preact at Free.
Which is cheaper, Datadog APM or Preact?
Preact has a free tier; the other does not. Paid plans start at $31/month for Datadog APM and Free for Preact.
Does Datadog APM or Preact run on more platforms?
Datadog APM runs on Web, Linux, Windows, macOS. Preact runs on Web.
Can I use Preact for free?
Yes. Preact has a free tier, so you can try it without paying. Datadog APM starts at $31/month.
What is Datadog APM best used for?
Datadog APM is most often used for finding the slow service in a microservice request path that already reports metrics to datadog, comparing cpu and memory profiles across deployments to cut cloud compute spend, tracing message latency and consumer lag across kafka or sqs pipelines, linking a failing trace to the exact log lines and host metrics in one view. Of those, finding the slow service in a microservice request path that already reports metrics to datadog and comparing cpu and memory profiles across deployments to cut cloud compute spend are not what Preact is typically brought in for.
What can Datadog APM do that Preact cannot?
Datadog APM covers Distributed tracing, Trace retention filters, Continuous Profiler, Data Streams Monitoring. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Datadog APM: How much does Datadog APM cost?

Datadog lists APM at $31 per host per month billed annually, APM Pro at $35 and APM Enterprise at $40, with Infrastructure monitoring attached. On-demand rates are higher, at $36, $42 and $48.

Preact: Is Preact free?

Yes, open source under the MIT licence.

Datadog APM: Does Datadog APM work with OpenTelemetry?

Yes, Datadog ingests OpenTelemetry traces. It also sells OTLP APM Ingest as a separate priced product for teams sending OTLP data.

Preact: Can I use React libraries with Preact?

Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.

Datadog APM: What is the difference between Datadog APM and Datadog Infrastructure?

Infrastructure monitors hosts, containers and cloud services with metrics. APM adds request traces, service maps and profiling, and is licensed per APM host on top of Infrastructure.

Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Datadog APM: Can I buy APM without Infrastructure monitoring?

Datadog quotes the lowest APM rates with Infrastructure attached; without it the on-demand rate listed on its pricing page applies, so check the quote before committing.

Share

Related pages

Other head to heads