Note
It is an unofficial Datadog plugin utilising Datadog API for metrics queries. There is also official Datadog plugin available for Enterprise Grafana subscriptions. This is also the reason why this plugin probably won't be available on official Grafana plugins site... :/
- Does not support logs nor traces, only metrics
- Supports:
- Explore
- Dashboard variables
- Most of visualisations, at least stock ones
- Custom graph series names/labels (including variables), e.g.
$host
or{{host}}
- Inline comments in query field: lines starting with
#
+ toggling usingcmd+/
orctrl+/
- Requirements:
- Site name i.e.
datadoghq.eu
- (Probably) paid Datadog subscription in order to get:
- API key
- Application key (it worked for me with "not scoped" Application key)
- Site name i.e.
-
Add this plugin to "trusted" using i.e. env variable:
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=wasilak-datadog-datasource"
-
Install either by unpacking to plugin dir or by using env variable i.e.:
GF_INSTALL_PLUGINS=https://github.com/wasilak/grafana-datadog-datasource/releases/download/0.1.0/wasilak-datadog-datasource-0.1.0.zip;Datadog
Or
-
You can checkout plugin code and sign it yourself with so-called private signature level as descibed here.
-
Install plugin code
You can test it out e.g. with following:
-
query:
sum:datadog.apis.usage.per_user{*} by {rate_limit_status,limit_name}
-
label:
{{limit_name}}: {{rate_limit_status}}