RousselTMLEARNING

TP · Datadog: from discovery to expertise

Lab: Install the Datadog agent and enable an integration

What you will learn in this TP
  • Install the agent
  • Check data collection
  • Enable an integration through autodiscovery

Introduction #

What you will learn in this section
  • Install the agent
  • Check data collection
  • Enable an integration through autodiscovery

Context. Your team is evaluating Datadog. You install the agent on a test server and connect a first service.

Prerequisites: Datadog account (14-day free trial), Docker  ·  Estimated time: 35 min

A host and a service visible in Datadog.

Hands-on #

Guided steps, with their solutions.

  1. 1. Prepare the keys

    Why? The API key authorises sending data; the site must match the account's site.

    Create a trial account (EU site), then get an API key (Organization Settings > API Keys).
  2. 2. Start the agent

    Why? The containerised agent sees the other containers through the Docker socket.

    Start the agent with log collection and APM enabled.
  3. 3. Check

    Why? The status command is the first diagnostic tool.

    Check the agent's status, then find the host in Infrastructure > Host Map.
  4. 4. Enable the Nginx integration

    Why? Autodiscovery applies the configuration to the container, with no file on the host.

    Start an Nginx with the status page and the autodiscovery labels.
  5. 5. Explore

    Why? The integration dashboard is created automatically.

    Generate some traffic and open the NGINX - Overview dashboard and the logs of the front service.

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 35 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

Datadog: the SaaS observability platform at a glance

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

Installing the Datadog agent and configuring integrations

Install the Datadog agent on Linux, Docker and Kubernetes (Datadog Operator), understand datadog....

Datadog on Kubernetes: Operator, Cluster Agent and Autodiscovery

Monitor Kubernetes with Datadog: the Datadog Operator and the DatadogAgent resource, Cluster Agen...

Advanced infrastructure with Datadog: network, cloud, containers and databases

Monitor infrastructure beyond hosts: Network Performance Monitoring, AWS, Azure and GCP integrati...

Datadog platform architecture: sites, organizations, keys and data model

Understand Datadog's architecture: data sources (agent, cloud integrations, SDKs, OpenTelemetry),...

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

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

RUM and Synthetic Monitoring with Datadog: synthetic transaction monitoring and user experience

Measure user experience with Datadog: browser and mobile RUM, Core Web Vitals, Session Replay, li...

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

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

Monitors, SLOs, dashboards and Datadog as code

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

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!