Data SourcePREMIUM

DataDog datasource

Premium plugins, along with support and assistance from the core team behind Grafana, are available with Grafana Enterprise.

Please sign up or log in to get started.

Sign Up

Datadog Grafana Datasource Plugin


Query Editor

query editor

It's easy - select aggregation and metric. If you want to filter result, select one or more tags.

DataDog datasource supports advanced functions. Select it from dropdown and arrange by clicking function name.

Alias by field usage possibilities:

  • Type in the alias into the "Alias by" field.
  • Use scoped variables:
    • $__metric = replaced with metric name
    • $__display_name = replaced with metric name
    • $__expression = replaced with full metric expression
    • $__aggr = replaced with metric aggregation function (e.g. avg, max, min, sum)
    • $__scope = replaced with metric scope (e.g. region, site, env, host)


  • Use regular expressions:
    • Type in your regular expression in /you regexp here/flags format.<br>Example with metric expression = datadog.dogstatsd.packet.count{*} :<br> Alias by field input: /DOGstatsd\.(.*)\.(.*)/i Result: packet,count{*}



annotations editor

Annotations allows to get events from DataDog and display it on graph. You can filter events by sources, tags and priority.


There are few options for getting values of tempate variable - metrics, tags and hosts. For fetching list of available metrics leave Query field blank or specify *. For tags type tag and for hosts use host. Filter results by using Regex field. Multi-value variables are supported for using in tags (selected values will be converted into comma separated list of tags).

Ad-hoc filters

There's new special type of template variable in Grafana called Ad-hoc filters. This variable will apply to all DataDog queries on dashboard (all with specified datasource). This alollows to use it like a quick filter. Ad-hoc variable for DataDog fetches all key-value pairs from tags, for example, region:east, region:west, and use it as queries tags. To create this variable, select Ad-hoc filters type and choose your DataDog datasource. You can set any name to this variable.



  • Improved Legend Formatting - The Alias By field in the Query Editor now allows you to specify which part of the metric name you want to use. It also now supports regexp for full control over the legend item/alias format.
Install Plugin


  • Grafana 3.x.x