Install and upgrade the Datadog data source plugin
This document covers how to install, upgrade, and verify the Datadog data source plugin across different Grafana deployment environments. After you install the plugin, refer to Configure the Datadog data source to set up a connection.
Before you begin
Verify the following requirements before you install:
Install the plugin
Choose the installation method that matches your Grafana deployment.
Grafana Cloud
Enterprise plugins must be enabled for your organization before they appear as installable in the plugin catalog.
- Go to the Grafana account portal and sign in with your Grafana Cloud account.
- Select your organization.
- Navigate to the Plugins tab and verify that the Datadog plugin is enabled. If it isn’t listed, confirm that your Cloud plan includes Enterprise plugins.
- In your Grafana Cloud instance, navigate to Administration > Plugins and data > Plugins.
- Search for Datadog and click Install.
Note
If the Install button doesn’t appear, verify that the plugin is enabled for your organization at the Grafana account portal and that your Cloud plan includes Enterprise plugins.
Self-managed Grafana (CLI)
grafana cli plugins install grafana-datadog-datasourceRestart Grafana after installation:
sudo systemctl restart grafana-serverDocker
Set the GF_INSTALL_PLUGINS environment variable:
environment:
- GF_INSTALL_PLUGINS=grafana-datadog-datasource
- GF_ENTERPRISE_LICENSE_TEXT=<YOUR_LICENSE>Kubernetes (Helm chart)
Add the plugin to your Helm values:
plugins:
- grafana-datadog-datasource
envFromSecret: grafana-license-secretOr use the GF_INSTALL_PLUGINS environment variable in your deployment spec:
env:
- name: GF_INSTALL_PLUGINS
value: "grafana-datadog-datasource"
- name: GF_ENTERPRISE_LICENSE_TEXT
valueFrom:
secretKeyRef:
name: grafana-license
key: license.jwtKubernetes (init container)
If you don’t control the Helm chart, for example on a shared platform cluster, use an init container to download the plugin before Grafana starts:
initContainers:
- name: install-plugins
image: curlimages/curl:latest
command:
- sh
- -c
- |
curl -sL https://grafana.com/api/plugins/grafana-datadog-datasource/versions/latest/download \
-o /plugins/grafana-datadog-datasource.zip && \
unzip /plugins/grafana-datadog-datasource.zip -d /plugins/
volumeMounts:
- name: plugins
mountPath: /pluginsMount the same volume at /var/lib/grafana/plugins in the Grafana container.
Air-gapped (offline) installation
For environments without internet access:
Download the plugin ZIP file from your Grafana account portal on a machine with internet access.
Transfer the ZIP file to the Grafana server.
Extract it to the plugins directory:
unzip grafana-datadog-datasource-<version>.linux_amd64.zip -d /var/lib/grafana/plugins/Set ownership:
chown -R grafana:grafana /var/lib/grafana/plugins/grafana-datadog-datasourceRestart Grafana.
If Grafana reports an “unsigned plugin” error, add the following to grafana.ini:
[plugins]
allow_loading_unsigned_plugins = grafana-datadog-datasourceCaution
Only allow unsigned plugins if you trust the source of the ZIP file. Official downloads from Grafana are signed.
Verify the installation
After you install the plugin, confirm that it loaded:
- Navigate to Administration > Plugins and data > Plugins.
- Search for Datadog and verify that the plugin appears with a status of Installed.
- Navigate to Connections > Add new connection and search for Datadog to confirm that it’s available as a data source.
- If the plugin doesn’t appear, check the Grafana server logs for errors and refer to Troubleshoot installation issues.
Upgrade the plugin
Upgrade steps depend on your Grafana deployment environment.
Grafana Cloud
Plugins update automatically on Grafana Cloud, and no manual action is required. If you experience issues after an automatic update, contact Grafana Support.
Self-managed Grafana
Update the plugin:
grafana cli plugins update grafana-datadog-datasourceRestart Grafana.
Verify each data source connection with Save & test.
To install a specific version:
grafana cli plugins install grafana-datadog-datasource <version>For Docker or Kubernetes, append the version to the plugin name:
environment:
- GF_INSTALL_PLUGINS=grafana-datadog-datasource <version>Roll back to a previous version
If an upgrade causes issues on a self-managed instance, pin a specific plugin version:
grafana cli plugins install grafana-datadog-datasource <version>Restart Grafana after the rollback.
Note
Rollback isn’t available on Grafana Cloud. If you experience issues after an automatic update, contact Grafana Support.
Uninstall the plugin
To remove the Datadog plugin from a self-managed Grafana instance:
grafana cli plugins remove grafana-datadog-datasourceRestart Grafana after you uninstall the plugin. Existing data source configurations are preserved in the Grafana database but stop working until you reinstall the plugin.
For Docker or Kubernetes, remove grafana-datadog-datasource from the GF_INSTALL_PLUGINS variable and redeploy.
Troubleshoot installation issues
The following sections address common installation problems.
Plugin doesn’t appear in the catalog (Grafana Cloud)
Cause: The Enterprise plugin isn’t enabled for your organization.
Solution:
- Go to the Grafana account portal.
- Select your organization and navigate to the Plugins tab.
- Verify that the Datadog plugin is listed and enabled.
- Confirm that your Cloud plan includes Enterprise plugins. For details, refer to Grafana Cloud features.
Install button missing or “Plugin not found”
Cause: Your Grafana instance doesn’t have access to the Enterprise plugin repository.
Solution:
- Grafana Cloud: Verify that the plugin is enabled at the Grafana account portal.
- Self-managed: Verify that your Grafana Enterprise license is active. Set the license with the
GF_ENTERPRISE_LICENSE_TEXTenvironment variable or the license path. Refer to Grafana Enterprise license.
License errors (self-managed)
Cause: The GF_ENTERPRISE_LICENSE_TEXT environment variable contains an invalid or malformed license key.
Solution:
- Verify that the license key doesn’t contain extra whitespace, line breaks, or truncated characters.
- Confirm that the key is for the correct Grafana instance URL.
- Check that the license hasn’t expired at the Grafana account portal.
- For more details about license errors, refer to License issues.
“Unsigned plugin” error (air-gapped installs)
Cause: You installed the plugin from a ZIP file and Grafana can’t verify its signature.
Solution:
- Make sure you downloaded the ZIP file from the official Grafana account portal. Official downloads are signed.
- If the error persists, add
allow_loading_unsigned_plugins = grafana-datadog-datasourcetografana.iniunder[plugins]. - Restart Grafana.


