Python Shell Ruby HTML
Switch branches/tags
Latest commit 3b1e4b4 Dec 19, 2017 @truthbk truthbk [wheels] allow running checks packaged as wheels (#3555)
* poc for wheel packages

* [toolkit] keep toolkit setup in dedicated file for now, despite setup.py being unused.

* [wheels] handle manifest for the checks as wheels.

* [wheels] only try to load from site-packages when we want to.

[wheels] refactor variable.

* [wheels] we can deprecate non-sdk check loading code.

* [sdk] we still need to be able to load checksd overrides for tests.

* [wheels] base namespace will be called datadog_checks

* [wheels] get version straight from module attr

[config] fixing hasattr parameter dyslexia
Permalink
Failed to load latest commit information.
.github [integrations] [core] removes final checks and tests (#3215) Feb 24, 2017
checks [filehandles] include allocated, unused, used, and max file handler m… Dec 13, 2017
ci Revert "make windows happy" Oct 11, 2017
conf.d [conf][skip ci] adding canonical_rate to jmx.yaml (#3494) Oct 6, 2017
dogstream License file clean up and updated copyright dates Apr 20, 2016
packaging Bump default version in the source install script Dec 6, 2017
tests [wheels] allow running checks packaged as wheels (#3555) Dec 19, 2017
utils [wheels] allow running checks packaged as wheels (#3555) Dec 19, 2017
win32 [Windows] allow the gui to start w/o an API key. Otherwise, there's no ( Nov 21, 2017
.gitignore [jmxfetch] prepare source script for post jmxfetch repo bundle. (#3220) May 30, 2017
.pylintrc [windows] 💚 CI Jul 28, 2016
.rubocop.yml ignore windows shenaningans Oct 11, 2017
.travis.yml [win] fixing flakes, stubbing WinPDHCounter (#3596) Nov 29, 2017
CHANGELOG.md Updates changelog for 5.20.2 Dec 7, 2017
CONTRIBUTING.md [integrations] [core] removes final checks and tests (#3215) Feb 24, 2017
Gemfile Revert "make windows happy" Oct 11, 2017
LICENSE License file clean up and updated copyright dates Apr 20, 2016
README.md Updated README.md Nov 7, 2017
Rakefile Revert "make windows happy" Oct 11, 2017
agent.py [Windows] Check to validate API key occurs before the agent updates the Oct 14, 2017
aggregator.py [dogstatsd] Parse distribution metrics and ignore them Jul 31, 2017
appveyor.yml Avoid conflict when installing bundler Nov 29, 2017
config.py [wheels] allow running checks packaged as wheels (#3555) Dec 19, 2017
daemon.py Remove check for pidfile on windows. (#3574) Nov 13, 2017
datadog-cert.pem Adding the ssl certificate to the packaging for proxy support Feb 13, 2013
datadog.conf.example Merge branch 'master' into benjamin/clean-trace-docs Dec 18, 2017
ddagent.py Adds an option to disable IPv6. Dec 5, 2017
dogstatsd.py Change logs to warning Oct 16, 2017
emitter.py Fix potential leak of API key in collector.log and dogstatsd.log (#3537) Oct 3, 2017
graphite.py [core] Hostname logic refactoring (#2822) Sep 8, 2016
jmxfetch.py [jmxfetch] add `list_jvms` command (#2962) Aug 21, 2017
modules.py [flake8] enforce sane defaults for import order Jun 16, 2015
requirements-opt.txt remove all checks.d optionals requirements Mar 27, 2017
requirements-test.txt [test] bump requirements to match integrations repos. (#3195) Feb 15, 2017
requirements.txt Remove pywin32; should be included elsewhere Oct 4, 2017
setup.py [windows] address review comments Feb 7, 2017
setup_tk.py [wheels] allow running checks packaged as wheels (#3555) Dec 19, 2017
supervisord.dev.conf [jmxfetch] fix windows bootloop 🐛 Apr 21, 2015
tox.ini [flake8] Fix F841 Jan 5, 2016
transaction.py [forwarder] Make payload rejection log entry more explicit (#3486) Aug 22, 2017
util.py [util] Move `Timer` to its own `utils.timer` module (#3391) Jun 16, 2017

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.

Note: this repository does not contain the sources of the Trace Agent that collects traces for the APM feature. If you choose the installation from source or the Windows and Mac OS X builds you will need to install the Trace Agent separately. See dd-trace-agent for instructions.

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. For more information, please read our contributing guidelines.

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.

Integration SDK

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

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]

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 | grep 'Author' | sort -u