Skip to content
Tutorials Center
My learning

Topics

Datadog Tutorial

Learn Datadog step by step: 37 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is Datadog? Observability Platform Overview Learn what Datadog is, which problems it solves, and how metrics, logs, traces, monitors and dashboards fit together in one SaaS observability platform.
  2. 2 Datadog Accounts, Sites, Organizations and API Keys Understand Datadog sites (US1, EU1 and others), organizations, roles, API keys versus application keys, and how to keep keys safe when you automate.
  3. 3 Your First Host: Installing the Datadog Agent Step by Step Install the Datadog Agent on a Linux host with the one-line script, check its status, find the host in Infrastructure List, and see your first system metrics.
  4. 4 Datadog UI Tour: Navigation, Products and Key Concepts A guided tour of the Datadog interface: Infrastructure, Metrics, Logs, APM, Dashboards, Monitors, Notebooks, Service Catalog and the key concepts behind them.

Agent and Integrations

  1. 5 Datadog Agent Architecture: Collector, Forwarder, DogStatsD and Ports How the Datadog Agent works inside: collector and checks, forwarder, DogStatsD, trace agent, process and system probe, default ports, intervals and what leaves your network.
  2. 6 Installing the Datadog Agent on Linux, Windows, Docker and Kubernetes Install the Datadog Agent in every common way: package manager, Windows MSI, a Docker container, Helm on Kubernetes, and configuration management such as Ansible and Terraform.
  3. 7 Configuring the Datadog Agent: datadog.yaml, Tags, Proxy and Secrets Configure the Datadog Agent with datadog.yaml: site, API key, hostname, host tags, proxy, log and APM switches, environment variables, secrets management and config validation.
  4. 8 Datadog Integrations and Checks: conf.d, nginx, PostgreSQL and More Turn on Datadog integrations: conf.d layout, conf.yaml and conf.yaml.example, init_config and instances, service checks, nginx and PostgreSQL examples, and testing a check.
  5. 9 Writing Custom Datadog Agent Checks in Python Write a custom Datadog Agent check in Python: the AgentCheck class, checks.d and conf.d files, gauge, count, rate, service checks, error handling, and a local test harness.
  6. 10 Monitoring Containers and Kubernetes with Datadog: Autodiscovery and Tags Monitor Docker and Kubernetes with Datadog: container metrics, Live Containers, Autodiscovery annotations, label-based tags, Cluster Agent, and unified service tagging on pods.
  7. 11 Datadog Cloud Integrations: AWS, Azure and Google Cloud Setup Connect Datadog to AWS, Azure and Google Cloud: cross-account IAM roles, CloudWatch polling versus metric streams, log forwarding, tag collection, and keeping costs in check.

Metrics and Tags

  1. 12 Datadog Metric Types: Count, Rate, Gauge, Histogram, Distribution Understand Datadog metric types and aggregation: gauge, count, rate, histogram and distribution, time versus space aggregation, rollups, and why averaging percentiles is wrong.
  2. 13 Datadog Tags: Rules, Unified Service Tagging and Cardinality Learn Datadog tag syntax and rules, host versus metric tags, unified service tagging with env, service and version, tag policies, and how high cardinality drives cost.
  3. 14 DogStatsD and Custom Metrics: Send Your Own Metrics to Datadog Send custom metrics with DogStatsD: the datagram format, counters, gauges, histograms, distributions and sets, sampling, client libraries, the 8125 port, and custom metrics billing.
  4. 15 Datadog Metrics Explorer and Query Language: Scope, Group By, Functions Write Datadog metric queries: aggregator, metric, scope, by {group}, formulas, rollup, as_count and as_rate, rate and derivative functions, moving averages and top lists.

Logs

  1. 16 Datadog Log Collection: Tail Files, Containers, HTTP and Processing Rules Collect logs with Datadog: enable logs_enabled, tail files with conf.yaml, container logs, HTTP intake, multi-line rules, exclude and mask rules, source and service, and file permissions.
  2. 17 Datadog Log Pipelines: Grok Parser, Remappers and Processors Turn raw log lines into searchable fields with Datadog log pipelines: filters, the Grok parser, date, status and service remappers, trace ID remapper, and other processors.
  3. 18 Datadog Log Explorer: Search Syntax, Facets, Patterns and Analytics Master the Datadog Log Explorer: search syntax with tags, attributes and wildcards, boolean logic, facets, list/timeseries/top list views, group by, patterns and saved views.
  4. 19 Datadog Log Indexes, Exclusion Filters, Archives and Log-Based Metrics Control log cost and retention in Datadog: ingestion versus indexing, indexes with retention, exclusion filters, archives and rehydration, generate metrics from logs, and sensitive data scanning.

APM and Tracing

  1. 20 APM Overview Learn what Datadog APM does, how a request becomes a trace made of spans, and how to read latency, error rate and throughput for each service.
  2. 21 Instrumenting an Application Add Datadog tracing to a Python, Node.js or Java service with the tracer library, unified service tags, auto-instrumentation, custom spans and log correlation.
  3. 22 Traces, Spans and the Service Map Search traces in Datadog, read a flame graph, follow distributed tracing across services with context headers, and use the service map to find dependencies.
  4. 23 Sampling, Retention and Profiling Understand ingestion sampling, retention filters and trace metrics in Datadog APM, plus how the continuous profiler finds slow code in production.

Dashboards and Monitors

  1. 24 Dashboards and Widgets Build useful Datadog dashboards: timeseries, query value, top list and heatmap widgets, the metric query format, template variables, and layout rules that work.
  2. 25 Monitor Types and Thresholds Create Datadog monitors that fire when they should: metric, anomaly, forecast, composite, log and APM monitors, thresholds, recovery, no-data and evaluation delay.
  3. 26 Notifications and SLOs Write monitor messages with handles and conditional variables, route alerts to Slack and PagerDuty, and define SLOs with error budgets and burn rate alerts.
  4. 27 Downtimes and Alert Hygiene Schedule Datadog downtimes, mute noisy monitors safely, measure alert quality with simple statistics, and run a monthly clean-up that reduces alert fatigue.

Synthetics and Security

  1. 28 Synthetic Tests Probe your service from outside with Datadog Synthetic tests: HTTP and multistep API tests, browser tests, locations, assertions, retries and CI integration.
  2. 29 Real User Monitoring Add Datadog Real User Monitoring to a web app: sessions, views, actions, Core Web Vitals (LCP, INP, CLS), privacy settings and linking frontend to backend traces.
  3. 30 Security Monitoring Tour Datadog's security products: Cloud SIEM detection rules, App and API Protection, Cloud Security posture, vulnerability management and Sensitive Data Scanner.

Cost and Operations

  1. 31 Cost Management and Custom Metrics Keep your Datadog bill predictable: understand custom metric cardinality, log ingestion versus indexing, usage metrics, Metrics without Limits and cost-aware tagging.
  2. 32 API, Terraform and Automation Manage Datadog as code: API and application keys, submitting metrics and events, the Terraform provider for monitors and dashboards, and a safe review workflow.
  3. 33 Incident Management and On-Call Run incidents with Datadog: declare incidents from monitors, severity levels, roles, timelines, paging with on-call schedules, and blameless postmortems.

Projects and Practice

  1. 34 Project: Observability for a Web Service Plan end-to-end observability for a small web service: tags, tracing, logs, a dashboard, monitors and a readiness checker you can run and extend yourself.
  2. 35 Project: SLOs and an Alerting Plan Design SLIs, SLOs, error budgets and a multi-window burn rate alerting plan for a service, and test it against simulated traffic with a runnable simulator.
  3. 36 Project: Incident Drill Practice a realistic incident: read metrics, traces and logs from a prepared dataset, find the root cause with a runnable investigation script, and write a postmortem.
  4. 37 Practice Questions and Next Steps Test what you learned about Datadog APM, monitors, SLOs, synthetics, security and cost with a practice quiz, a cheat sheet, a query drill and a learning path.