Skip to main content

Datadog

The unified observability platform for metrics, traces, logs, and security. Datadog's Agent runs on your infrastructure, its APM auto-instruments your services, and its dashboards correlate everything into a single pane of glass — from host CPU to individual database queries.

✓ Distributed APM tracing ✓ 800+ integrations ✓ Unified metrics, logs, traces ✓ ML-powered anomaly detection

What is Datadog?

Datadog is a SaaS observability platform that collects telemetry data — metrics, distributed traces, logs, events, and security signals — from every layer of your stack and surfaces it through unified dashboards, intelligent alerts, and AI-powered analysis. The Datadog Agent is a lightweight daemon you deploy on each host; it handles collection, enrichment, and forwarding.

Unlike open-source stacks where you compose Prometheus + Jaeger + ELK separately, Datadog provides a single agent, single backend, and single UI. The tradeoff is cost — Datadog is per-host SaaS, which becomes expensive at scale. The benefit is tight correlation: one click from a slow trace to the host metrics to the error logs from that exact request.

Key Capabilities

Agent Configuration

# /etc/datadog-agent/datadog.yaml (key settings)
api_key: 
site: datadoghq.com    # or datadoghq.eu for EU region

# Enable APM tracing
apm_config:
  enabled: true
  receiver_port: 8126

# Enable log collection
logs_enabled: true

# Enable process monitoring
process_config:
  process_collection:
    enabled: true

# Enable network performance monitoring
network_config:
  enabled: true

APM Auto-Instrumentation (Node.js)

// APM auto-instrumentation (Node.js)
// MUST be first import — before any other requires
import tracer from 'dd-trace';

tracer.init({
  service: 'payments-api',
  env: process.env.NODE_ENV,
  version: process.env.APP_VERSION,
  logInjection: true,         // correlate logs with traces
  runtimeMetrics: true,       // Node.js heap, GC, event loop metrics
  profiling: true,            // CPU/heap profiling
});

// Custom span
const span = tracer.startSpan('process-order', {
  childOf: tracer.scope().active(),
});
span.setTag('order.id', orderId);
span.setTag('order.value', amount);
try {
  await processOrder(orderId);
} catch (err) {
  span.setTag('error', err);
  throw err;
} finally {
  span.finish();
}

Agent Installation

# Ubuntu / Debian (one-liner)
DD_API_KEY= DD_SITE="datadoghq.com" \
  bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script_agent7.sh)"

# Kubernetes (Helm)
helm repo add datadog https://helm.datadoghq.com
helm install datadog datadog/datadog \
  --set datadog.apiKey= \
  --set datadog.apm.portEnabled=true \
  --set datadog.logs.enabled=true

# Docker
docker run -d \
  -e DD_API_KEY= \
  -e DD_SITE=datadoghq.com \
  -e DD_APM_ENABLED=true \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  -v /proc/:/host/proc/:ro \
  gcr.io/datadoghq/agent:7
Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →