Python Ruby Shell HTML Nginx ApacheConf Other
Pull request Compare This branch is 2743 commits behind DataDog:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
checks.d
checks
ci
conf.d
dogstream
packaging
resources
tests
utils
win32
.gitignore
.pylintrc
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
MANIFEST.in
README.markdown
Rakefile
Vagrantfile
agent.py
aggregator.py
config.py
daemon.py
datadog-cert.pem
datadog.conf.example
ddagent.py
dogstatsd.py
emitter.py
ez_setup.py
graphite.py
jmxfetch.py
modules.py
requirements.txt
setup.py
source-optional-requirements.txt
source-requirements.txt
supervisord.dev.conf
test-requirements.txt
transaction.py
util.py

README.markdown

Build Status

The Datadog Agent faithfully collects events and metrics and brings them to Datadog on your behalf so that you can do something useful with your monitoring and performance data.

You're looking at the source code right now. We provide a number of pre-packaged binaries for your convenience.

Change log

How to contribute code

First of all and most importantly, thank you for sharing.

If you want to submit code, please fork this repository and submit pull requests against the master branch.

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.6 or 2.7
  • bundler
# Clone the repository
git clone git@github.com:DataDog/dd-agent.git

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

# Activate the virtual environment
source venv/bin/activate

# Lint
rake lint

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

Test suite

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 | gawk '/Author/ {print}' | sort | uniq