whatisgithub

What is datadog-agent?

datadog/datadog-agent — explained in plain English

Analysis updated 2026-05-18

3,612GoAudience · ops devopsComplexity · 4/5Setup · hard

In one sentence

The Datadog Agent collects metrics, logs, and traces from your servers and sends them to the Datadog monitoring platform for dashboards and alerts.

Mindmap

mindmap
  root((Datadog Agent))
    What it does
      Collects metrics
      Collects logs
      Collects traces
    Tech stack
      Go
      eBPF
    Use cases
      Server monitoring
      Application tracing
      Infra alerting
    Audience
      Ops and DevOps teams
      Datadog contributors

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Collect CPU, memory, and request metrics from production servers.

USE CASE 2

Ship application logs and distributed traces into Datadog dashboards.

USE CASE 3

Study or extend how Datadog's own monitoring agent is built internally.

What is it built with?

GoeBPF

How does it compare?

datadog/datadog-agentkiali/kialigo-oauth2/oauth2
Stars3,6123,6113,615
LanguageGoGoGo
Setup difficultyhardhardmoderate
Complexity4/55/53/5
Audienceops devopsops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Most users should install a pre-built package rather than build this repository from source.

No license information is stated in the README, some low-level components use a different license than the rest of the code.

So what is it?

This is the main source code repository for the Datadog Agent, a piece of software that runs on your servers or cloud infrastructure and collects data about what is happening there. It gathers metrics (numbers like CPU usage, memory consumption, and request counts), logs (text records of events), and distributed traces (records of how requests flow through different parts of an application). All of that information gets sent to Datadog, a monitoring platform, where teams can view dashboards, set up alerts, and investigate problems. The repository covers Agent versions 6 and 7, which are the current major versions. An older version 5 existed previously with a different architecture, and the official documentation explains what changed across those versions if you need to compare them. For teams using Datadog today, they typically install the Agent using pre-built packages that Datadog provides for common operating systems, rather than building it from this source code themselves. This repository is primarily useful for Datadog's own engineers and open-source contributors who want to understand or modify how the Agent works. The Agent is written in Go, a programming language commonly used for infrastructure tooling because it compiles to fast, self-contained binaries. Some lower-level components use a Linux kernel technology called eBPF, which allows the Agent to observe system activity at a deep level without much overhead. Those components are covered by a different open-source license than the rest of the code. If you are evaluating Datadog or trying to get it running on your infrastructure, the right starting point is Datadog's user-facing documentation rather than this repository, which is focused on how the Agent is developed internally.

Copy-paste prompts

Prompt 1
Explain what metrics, logs, and traces the Datadog Agent collects and why each matters.
Prompt 2
What is the difference between Datadog Agent version 5 and versions 6 and 7?
Prompt 3
How does the Datadog Agent use eBPF to observe system activity with low overhead?
Prompt 4
Should I install a pre-built Datadog Agent package or build this repository from source?

Frequently asked questions

What is datadog-agent?

The Datadog Agent collects metrics, logs, and traces from your servers and sends them to the Datadog monitoring platform for dashboards and alerts.

What language is datadog-agent written in?

Mainly Go. The stack also includes Go, eBPF.

What license does datadog-agent use?

No license information is stated in the README, some low-level components use a different license than the rest of the code.

How hard is datadog-agent to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is datadog-agent for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.