DevOps.Academy
CoursesCurriculumInterview prepPricing
◔My learningSign in
DevOps.Academy

Free, hands-on DevOps lessons. Made with care in India.

System status

Learn

All coursesLinux roadmapCurriculumInterview questionsCheat sheetsMy learning

Academy

PricingCertificates

Legal

PrivacyTermsContact

devops.rajeev.pro

MonitoringLesson 9 of 9
Your progress · 0%
On this page
  1. What the platforms add
  2. Datadog
  3. New Relic
  4. Dynatrace
  5. Keep the choice reversible
  6. Decide: build, buy or mix
↖ Course roadmap
Lesson 9 · Hosted tools

Hosted monitoring: Datadog, New Relic and Dynatrace

What the paid observability platforms add on top of the open-source stack, how each one charges, what drives a surprise bill, and how to decide between running it yourself and paying someone else.

25 min read · intermediate · hands-on

By the end of this lesson you'll be able to

0 of 5 complete

The stack from this course costs nothing in licences, but someone has to run it: upgrades, storage, scaling and high availability. Hosted platforms run all of that for you and add features on top, and charge by how much data you send. In this lesson you'll see what Datadog, New Relic and Dynatrace add, how they charge, and how to decide.

Both sides collect the same three signals. The difference is who runs the machinery and how you pay.© Diagram: DevOps Academy

Both sides collect the same three signals. The difference is who runs the machinery and how you pay.© Diagram: DevOps Academy

What the platforms add

All three collect metrics, logs and traces. On top, they sell:

  • APM (application performance monitoring): automatic tracing and per-endpoint latency and error rates for your services, from an agent with little or no code change.
  • RUM (real user monitoring): a script in your web pages or mobile app that measures what real users experience: page load time, JavaScript errors, slow clicks.
  • Synthetic monitoring: robots that load your login page or call your API every minute from several countries, so you know it's down before users do.
  • Correlation: click from a slow endpoint to its traces, to the logs of that trace, to the host's CPU, without building derived fields and links yourself.
  • Anomaly detection and AI assistance: alerts on "unusual for this hour" rather than fixed thresholds, and suggested root causes.
  • Security products on the same agent: vulnerability scanning, runtime threat detection, SIEM.

Datadog

Datadog started as infrastructure monitoring for the cloud and grew into the broadest platform. You install the Datadog Agent on hosts (or as a DaemonSet on Kubernetes), and turn on integrations: there are hundreds, for AWS, PostgreSQL, Nginx, Kafka and so on, each with ready-made dashboards.

  • Strengths: very wide integrations, good dashboards and Kubernetes views, strong APM, logs, RUM and synthetics in one place, and security products on the same agent.
  • How it charges: mostly per product. Infrastructure and APM per host, logs by GB ingested plus by events indexed (kept searchable), and custom metrics by number of distinct series.
  • Watch out for: custom metric cardinality. A metric with a user_id tag becomes one billable series per user. Use Datadog's usage pages from day one, and decide which logs to index and which to only archive.

New Relic

New Relic began as an APM tool for application developers and is now a full platform on its own database, NRDB, queried with NRQL, a SQL-like language (SELECT average(duration) FROM Transaction FACET name SINCE 1 hour ago).

  • Strengths: deep APM for many languages, one query language across all data, and a usage-based model where all products are included rather than bought one by one.
  • How it charges: by data ingested (GB per month) plus users, with different user types (full platform users cost the most). There's a free tier with a limited amount of data and users, useful for learning and small projects.
  • Watch out for: full-platform users add up as a team grows, and noisy logs fill the data allowance. Decide who needs full access, and drop or sample low-value data before it's sent.

Dynatrace

Dynatrace is popular in large enterprises. Its OneAgent installs once per host and discovers processes, services and their connections automatically, building a live dependency map called Smartscape. Its AI engine, Davis, uses that map to group related problems and point at a likely root cause.

  • Strengths: very little manual setup, automatic discovery and topology, strong root-cause analysis, and a good fit for big, mixed estates (Kubernetes, VMs, mainframes, many languages).
  • How it charges: mainly by host size and time (memory per host per hour for full-stack monitoring) plus data volumes for logs and other features, usually under an annual commitment.
  • Watch out for: an enterprise sales process and commitments; it's rarely the first choice for a small team.

Others worth knowing

Grafana Cloud hosts the same Prometheus, Loki, Tempo and Grafana you learned in this course, so the skills carry over directly. Elastic Cloud hosts the Elastic Stack. Honeycomb focuses on tracing and high-cardinality questions. AWS CloudWatch, Azure Monitor and Google Cloud Monitoring come with their clouds and cover their own services first.

Keep the choice reversible

The single best decision is to instrument with OpenTelemetry, not with a vendor's own SDK. Datadog, New Relic and Dynatrace all accept OTLP. Your services send to an OpenTelemetry Collector, and the Collector's exporters decide where data goes:

# otel-collector.yaml (exporters only)
exporters:
  otlp/jaeger: # the self-hosted backend from lesson 6
    endpoint: jaeger:4317
    tls:
      insecure: true
  otlphttp/vendor: # any vendor that accepts OTLP over HTTP
    endpoint: https://otlp.vendor.example.com
    headers:
      api-key: ${env:VENDOR_API_KEY}

Trying a vendor, sending to two backends during a migration, or leaving one, becomes a Collector change. The application code doesn't move. The vendor's own agent may still be worth it for features such as RUM or automatic discovery; just keep your core instrumentation standard.

Decide: build, buy or mix

Ask these questions in order:

  1. Who would run it? No platform engineer with time for monitoring → hosted.
  2. How much data, and how fast is it growing? Estimate hosts, log GB per day and custom metric series, then price it. Self-hosted cost is mostly people; hosted cost is mostly volume.
  3. Where must data live? Strict data residency or regulations can rule out some vendors or regions.
  4. What do you need beyond the three signals? RUM, synthetics and security from one vendor can be worth more than the licence saving.
  5. What do you already know? A team fluent in PromQL and Grafana is productive on day one with self-hosted or Grafana Cloud.

Many teams mix: Prometheus and Grafana for infrastructure and Kubernetes metrics (huge volume, cheap to keep yourself), and a vendor for APM and RUM (hard to build, valuable). Whatever you choose, the bill follows data volume, so cut noise at the source: drop debug logs in production, keep metric labels low-cardinality, and sample traces.

Set budgets and alerts on the bill

Every vendor has usage dashboards and limits. Set a daily ingestion cap or a usage alert on the first day. Teams regularly find out about a runaway debug log or a new high-cardinality tag from the invoice, a month too late.

⌘
Mini mission

Make the build-or-buy case for your team

For one real or imagined team, write a one-page comparison of self-hosted (Prometheus, Grafana, Loki, Tempo) against one hosted vendor. Include estimated volumes (hosts, log GB per day, custom metric series), the main costs of each option (licence or people hours), what each gives you beyond the three signals, the data-location constraint, and your recommendation in two sentences.

Input: Your team's services, or: 30 hosts, 40 GB logs/day, 200k metric series, 6 engineersOutput: ~/build-vs-buy.md
Reveal one safe solution
Team: 6 engineers, 30 hosts on Kubernetes, 40 GB logs/day, ~200k series
Self-hosted:  no licence; ~1 engineer-day/week to run; skills already in team; data stays in-house
Hosted (X):   price 30 hosts + APM + 40 GB/day logs from the vendor's pricing page; zero ops; adds RUM, synthetics
Volumes to cut first: debug logs (~15 GB/day), a user_id label on 2 metrics
Recommendation: metrics and logs self-hosted on the existing stack; buy APM and RUM only.
                Instrument with OpenTelemetry so the APM vendor can change later.

There's no single right answer. A good case shows the volumes, the people cost and the reason for the choice. Use each vendor's current pricing page: prices change, and the units matter more than any number in a course.

Try it yourself

0 of 5 steps done

Run each task in your own account or terminal, then tick it off.

Knowledge check

Quick check

Question 1 of 4

What is the main thing you pay a hosted observability platform for?

Go deeper

Official reading for this lesson

  • DocsDatadog documentationDatadog ↗
  • GuideDatadog pricingDatadog ↗
  • DocsNew Relic documentationNew Relic ↗
  • GuideNew Relic pricingNew Relic ↗
  • DocsDynatrace documentationDynatrace ↗
  • GuideOpenTelemetry vendors that support OTLPOpenTelemetry ↗

Or get every quiz answer right and it completes itself.

Something unclear, wrong or out of date in this lesson? Tell me, and I'll fix it.

← PreviousSLOs, error budgets and on-callUp nextBack to the course roadmap