Skip to main content

A simple DataDog Integration for Django

Project description

A simple DataDog Integration for Django. This app lets you set your integration settings in and just call the compatibility wrapper functions. All authentication is handled on your behalf.


To get started, setup your DataDog Agent, then configure this app:

pip install django-datadog-compatibility

Configure your with DataDog and StatsD:

  'ENABLED': True,
  'API_KEY': 'xxxx',
  'APP_KEY': 'xxxx',

STATSD_HOST = 'localhost'
STATSD_PORT = '12345'

You’re now able to call DataDog functions:

from django_datadog.compat import create_event, create_gauge

             fmt_text='Sample event %s',
             text_args=(, ),

create_gauge('', value=25)

And that’s it!


We don’t currently cover all of DataDog’s functionality. If you’d like to contribute, please open a Pull Request with the new function and a test case.

Add the function to django_datadog/


To setup your function, you usually want to initialize DataDog:

from datadog import some_function

from django_datadog.utils import init_datadog

def my_custom_function():
    if init_datadog():

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_datadog_compatibility-0.0.1-py3-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel py3
django-datadog-compatibility-0.0.1.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page