RousselTMLEARNING

Article · Datadog: from discovery to expertise

Datadog best practices

1. Foundation #

Getting started right.

Principles #

  • Site chosen according to data location (EU for GDPR).
  • Unified tagging env, service, version everywhere, plus team.
  • Agent deployed by the Kubernetes operator or configuration management, with a controlled version.
  • API keys per use case, named and revocable application keys.

2. Costs #

The bill can be managed.

Levers #

ItemLever
Hosts and containersDo not install the full agent where it is not needed
LogsFilter in the agent, exclusion filters, short-retention indexes, archives
Custom metricsNo high-cardinality tags, Metrics without Limits
APMSampling and retention filters
TrackingUsage page, alerts on usage metrics (datadog.estimated_usage.*)
Good practice: Create monitors on datadog.estimated_usage.logs.ingested_bytes and datadog.estimated_usage.metrics.custom: a drift is detected within hours, not on the bill.

3. Alerts and governance #

Sustainable and shared.

Rules #

  • Multi-alert monitors per service, with a runbook and a recipient team.
  • SLOs for critical journeys, burn rate for on-call.
  • Monitors, dashboards and SLOs in Terraform, reviewed in pull requests.
  • OpenTelemetry instrumentation when possible, to keep freedom of choice.

Reference diagram and quick check #

Checklist.

Checklist #

  1. Site and keys configured
  2. Unified tagging verified
  3. Log pipelines and indexes under control
  4. APM with logs-traces correlation
  5. Monitors and SLOs in Terraform
  6. Usage alerts

📄 Datadog best practices: tags, costs, alerts and governance →

My progress

  • ⏱ Estimated time : ≈ 4 min

Sign in to track your progress and take notes. Sign in

💬 Recent discussions about this course

Ask a question about this lesson →See all discussions about this course

Recommended Articles

Monitors, SLOs, dashboards and Datadog as code

Create effective monitors (metrics, logs, APM, composites, anomalies), SLOs, dashboards, and mana...

Datadog costs and governance: usage, attribution, RBAC and tag policies

Control the bill and govern Datadog: tracking usage and estimates, cost attribution per team, usa...

Metrics and tags in Datadog: unified tagging, DogStatsD and cardinality

Use Datadog metrics: unified tagging (env, service, version), queries and aggregations, custom me...

Datadog APM and OpenTelemetry: traces, services and correlation with logs

Instrument applications for Datadog APM (dd-trace, single step instrumentation, OpenTelemetry), u...

Datadog: the SaaS observability platform at a glance

What Datadog is, its products (infrastructure, logs, APM, RUM, synthetics, security), its concept...

Advanced Datadog metrics: types, aggregations, cardinality and Metrics without Limits

Master Datadog metrics: types (count, rate, gauge, histogram, distribution), time and space aggre...

Incidents and automation with Datadog: On-Call, Incident Management and Workflow Automation

Manage incidents in Datadog: well-designed monitors, on-call with On-Call, declaring and tracking...

Advanced Datadog logs: indexes, exclusion filters, Flex Logs, archives and Sensitive Data Scanner

Control the cost and compliance of Datadog logs: pipelines and processors, indexes and retention,...

Advanced Datadog APM: sampling, retention, profiler and Software Catalog

Go further with Datadog APM: ingestion control and sampling, retention filters, trace metrics, Co...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!