Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python Ruby Shell HTML Nginx ApacheConf Other
branch: master
Failed to load latest commit information.
checks.d Merge pull request #1715 from ulich/master
checks [flare] Redirect root logger's output to tar
ci [ci] Windows CI with Appveyor
conf.d [event_viewer] Improve comments in example configuration
dogstream [flake8] enforce sane defaults for import order
packaging [packaging][osx] add install script
resources [flake8] enforce sane defaults for import order
tests Merge pull request #1743 from sebest/improve_tests_doc
utils Merge pull request #1726 from DataDog/olivielpeau/jmx-flare
win32 [jmxfetch] Remove get_os() as a parameter of get_confd_path
.gitignore [tests] split tests/ into two subdirectories
.rubocop.yml [lint] add rubocop run in the `lint` code
.travis.yml [elastic] update CI ES versions + fix cleanup
CHANGELOG.md [changelog] 5.4.2 release
CONTRIBUTING.md Fix typos in CONTRIBUTING.md
Gemfile [lint] add rubocop run in the `lint` code
LICENSE Split httplib2 license from agent license.
MANIFEST.in [jmxfetch] update to 0.7.0
README.md Merge branch 'quentin/contributing'
Rakefile [ci] Windows CI with Appveyor
agent.py [flare] Add JMXFetch beans lists and status files to tar
aggregator.py [flake8] enable & fix E127
appveyor.yml [ci] use appveyor cache
config.py [flake8] enforce sane defaults for import order
daemon.py [flake8] enforce sane defaults for import order
datadog-cert.pem Adding the ssl certificate to the packaging for proxy support
datadog.conf.example [dev] Add an Agent Developer Mode for collecting fine-grained perform…
ddagent.py [flake8] enforce sane defaults for import order
dogstatsd.py [flake8] enforce sane defaults for import order
emitter.py [metadata] integration metadata collection
graphite.py [flake8] enforce sane defaults for import order
jmxfetch.py [jmxfetch] Remove get_os() as a parameter of get_confd_path
modules.py [flake8] enforce sane defaults for import order
requirements-opt.txt [ci] win32_event_log integration test
requirements-test.txt [flake8] enforce sane defaults for import order
requirements.txt [mesos] Support multiple versions and Updates for the review
setup.py [ci] AgentCheckTest: test for events
supervisord.dev.conf [jmxfetch] fix windows bootloop :bug:
tox.ini [flake8] enforce sane defaults for import order
transaction.py [flake8] enforce sane defaults for import order
util.py [flake8] enforce sane defaults for import order

README.md

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

# 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
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
Something went wrong with that request. Please try again.