What this module does

It brokers commits between bitbucket and Datadog.

What you need

  • dogapi

To install dogapi, simply run easy_install dogapi

What it expects

A payload with a broker name of "datadog" and 3 service entries:

  1. your account's api_key, to be obtained here
  2. an app_key specific to this service, which you can create here
  3. comma-separated tags

The test has an example of well-formed payload.

Running tests

Make sure tests is in your PYTHONPATH so that the brokers module can be picked up. Also export 2 variables: DATADOG_API_KEY and DATADOG_APP_KEY with proper values.

Then run:

python tests/

and you should see something like this in your Datadog feed: