DataDog/datadog-agent
Reference
Configuration, build tags, and dependencies. The detail that doesn't fit on the conceptual pages.
| Page | Contents |
|---|---|
| Configuration | datadog.yaml, system-probe.yaml, environment variables, runtime-changeable settings. |
| Dependencies | Build tags, Go modules, third-party licenses, language ecosystems. |
Source-of-truth files
If you need authoritative information, these files in the repo are the canonical sources:
| File | What it contains |
|---|---|
pkg/config/setup/config.go |
Default values for every datadog.yaml key. |
pkg/config/setup/system_probe.go |
System Probe defaults. |
tasks/build_tags.py |
Computed build tags per binary, per platform. |
modules.yml |
List of Go modules in the repo. |
release.json |
Release version metadata. |
flakes.yaml |
Known-flaky tests excluded from CI. |
LICENSE-3rdparty.csv |
Every direct and indirect dependency, with license. |
.golangci.yml |
Go linting configuration. |
.copyright-overrides.yml |
Copyright header exemptions. |
mkdocs.yml |
Developer documentation site configuration. |
Generated artifacts
Many parts of the codebase are generated. The relevant generators:
| Generator | Output | How to run |
|---|---|---|
comp/README.md |
Component catalog | dda inv collector.generate |
*_mock.go |
Test mocks | per-task; .mockery.yaml config |
*.pb.go |
Protobuf | dda inv protobuf.generate |
*_easyjson.go |
JSON encoders | go generate in the directory |
pkg/ebpf/.../*_linux.go |
cgo godefs types | bazel run //pkg/ebpf:types_godefs |
agent createschema |
Config schema dump | ./bin/agent/agent createschema |
Where to find things
Quick lookup table for things people regularly want to find:
| Looking for… | Look in… |
|---|---|
All agent <subcommand> implementations |
cmd/agent/subcommands/ |
| Component definitions and Fx wiring | comp/<bundle>/<component>/ |
| The list of build tags | tasks/build_tags.py |
| Default config values | pkg/config/setup/ |
| CWS rules and SECL grammar | pkg/security/secl/ |
| eBPF C source | pkg/ebpf/c/, pkg/network/ebpf/c/, pkg/security/ebpf/c/ |
| Bazel rules | bazel/rules/, BUILD.bazel files |
| Invoke tasks | tasks/<module>.py |
| GitHub Actions | .github/workflows/ |
| GitLab CI | .gitlab-ci.yml, .gitlab/ |
| Release notes | releasenotes/notes/, releasenotes-dca/notes/ |
| Public docs (rendered to datadoghq.dev) | docs/public/ |
| Internal/dev docs | docs/dev/ |
| Skills for AI agents | .claude/skills/ |
| Bundled Python integrations | cmd/agent/dist/checks/ |
| The CHANGELOG | CHANGELOG.rst (~730 KB) |
Related pages
- Configuration — config knobs.
- Dependencies — build tags and modules.
- How to contribute: Tooling —
dda invand Bazel.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.