Skip to content

DataDog/dd-agent

Folders and files

NameName
Last commit message
Last commit date
Mar 18, 2021
Feb 5, 2025
Jul 29, 2020
Feb 3, 2020
Oct 6, 2017
Apr 20, 2016
Jun 20, 2024
Dec 29, 2020
Jul 29, 2020
Jul 29, 2020
Apr 18, 2018
Jul 28, 2016
Jul 29, 2020
Sep 7, 2023
Feb 24, 2017
May 22, 2019
Apr 20, 2016
Jan 23, 2019
Mar 18, 2021
Jul 29, 2020
Jan 31, 2018
Feb 3, 2020
Mar 16, 2021
Nov 13, 2017
May 30, 2020
Feb 13, 2019
Dec 5, 2017
Oct 16, 2017
Oct 3, 2017
Sep 8, 2016
Jul 29, 2020
Jun 16, 2015
May 21, 2020
Feb 3, 2020
Jul 29, 2020
Jun 1, 2020
Dec 19, 2017
Apr 21, 2015
Feb 15, 2018
Aug 22, 2017
Jul 29, 2020

Repository files navigation

Build Status

Important note

This repository contains the source code for the Datadog Agent up to and including major version 5. Although still supported, no major feature is planned for this release line and we encourage users and contributors to refer to the new Agent codebase, introduced with the release of version 6.0.0 and tracked in a different git repository.

Changes

Please refer to the Change log for more details about the changes introduced at each release.

How to contribute code

Before submitting any code, please read our contributing guidelines. We'll keep accepting contributions as long as the major version 5 is supported but please consider submitting new features to the new Agent codebase.

Please note that the Agent is licensed for simplicity's sake under a simplified BSD license, as indicated in the LICENSE file. Exceptions are marked with LICENSE-xxx where xxx is the component name. If you do not agree with the licensing terms and wish to contribute code nonetheless, please email us at info@datadoghq.com before submitting your pull request.

Setup your environment

Required:

  • python 2.7
  • bundler (to get it: gem install bundler)
# Clone the repository
git clone git@github.com:DataDog/dd-agent.git

# Create a virtual environment and install the dependencies:
cd dd-agent
bundle install
rake setup_env

# Activate the virtual environment
source venv/bin/activate

# Lint
bundle exec rake lint

# Run a flavored test
bundle exec rake ci:run[apache]

Integrations

All checks have been moved to the Integrations Core repo. Please look there to submit related issues, PRs, or review the latest changes.

Tests

More about how to write tests and run them here

How to configure the Agent

If you are using packages on linux, the main configuration file lives in /etc/dd-agent/datadog.conf. Per-check configuration files are in /etc/dd-agent/conf.d. We provide an example in the same directory that you can use as a template.

How to write your own checks

Writing your own checks is easy using our checks.d interface. Read more about how to use it on our Guide to Agent Checks.

Contributors

git log --all | grep 'Author' | sort -u