Libraries

API and DogStatsD Client Libraries

The following table lists Datadog-official and community contributed API and DogStatsD client libraries. A few libraries support both the API and DogStatsD, but most focus on one or the other.

LanguageLibraryOfficialAPIDogStatsDNotes
C#dogstatsd-csharp-client
DatadogSharpAlso supports APM.
metrics.net-datadogA .NET translation of the metrics-datadog Java adapter.
Crystalstatsd.crWritten by Mike Fiedler
Delphidatadog-delphi
ElixirExStatsDWritten by CargoSense
dogstatsd-elixirWritten by Adam Kittelson
mtx
Godatadog-go
godspeedWritten by PagerDuty
go-dogstatsd
xstatsWritten by Olivier Poitrey
go-datadog-apiWritten by Mark Smith from Dropbox
Javajava-dogstatsd-clientWritten by Indeed, Datadog
LassieOnly for creating screenboards.
java-dogstatsd-clientA fork of Indeed's java-dogstatsd-client; supports events and blocking metrics.
metrics-datadogWritten by CourseraA reporting bridge between Dropwizard metrics and Datadog.
dogstatd-clientWritten by chonton
Node.jshot-shotsWritten by Brightcove
node-dogstatsdWritten by Young Han Lee
node-datadogWritten by HashGo
node-dogapiWritten by Brett Langdon
datadog-metricsWritten by Daniel Bader
Perlwebservice-datadogWritten by Jennifer Pinkham
dogstatsd-perlWritten by Stefan Goethals
PHPphp-datadogstatsdWritten by Alex Corley
dog-statsdA fork of thephpleague/statsd with additional Datadog features by Graze.
PythondatadogpyAlso includes an API client CLI tool, 'dog'.
RdatadogrA simple R package to query for metrics.
rdogAn R package to analyze Datadog metrics into R.
RubyDogApi
dogstatsd-ruby
Scaladatadog-scalaWritten by Cory Watson

APM (Tracing) Client Libraries

The following table lists Datadog-official and community contributed Trace client libraries.

LanguageLibraryOfficialNotes
C#DatadogSharpAlso supports DogStatsD.
Elixirspandex
Godd-trace-goGo package 'tracer'.
dd-go-opentracingOpenTracing Tracer implementation for Datadog in Go.
Javaapm-client
Javascriptdatadog-tracer-jsOpenTracing API implementation in Javascript (both Node and browser).
PHPdd-trace-php
Pythondd-trace-pypip package is called 'ddtrace'.
Rubydd-trace-rbgem is called 'ddtrace'.

Community Integrations

Ansible

In addition to the official Ansible integration, the monitoring section of the ansible-modules-extras repository contains modules that interact with Datadog.

Consul

Publish consul service counts into Datadog via dogstatsd with this library.

Dogscaler

Scale up auto-scale groups based on the results of a datadog query with Dogscaler.

FreeSwitch

This is for a FreeSwitch ESL application to export statistics to DataDog using the dogstatsd API and is written by WiMacTel.

Google Analytics

You can get data into Datadog from Google Analytics using our API with this library.

Logstash Output

NGINX LUA

  • Emit custom metrics directly from NGINX configurations using the nginx_lua_datadog module in your LUA scripts.
  • lua-resty-dogstatsd is an extension developed by mediba inc, which enables emiting metrics, events, and service checks to DogStatsD protocol. lua-resty-dogstatsd is released as GPLv3 and relies on the nginx cosocket API.

Phusion Passenger

Send health metrics from Phusion’s Passenger server using the passenger-datadog-monitor written by Stevenson Jean-Pierre

Pid-stats

This library will allow you to generate process information from StatsD, given pid files. It was created by GitterHQ.

Saltstack

Community Agent Ports

FreeBSD

NixOS

If you’ve written a Datadog library and would like to add it to this page, write us at code@datadoghq.com.