Datadog¶
This section shows how to configure the chart to export telemetry to Datadog.
Requirements¶
A Datadog API token must be populated in the cluster (either by creating it
directly in the cluster or using an external secret provider, refer to the
External Secrets for DataRobot Kubernetes Installation section in the
installation guide). The secret must be named datarobot-datadog and the token
saved in the api_key key.
In case it’s being added directly to the cluster, it can be done with the following command:
kubectl create secret -n DR_CORE_NAMESPACE generic datarobot-datadog \
--from-literal=api-key="<DATADOG-API-KEY>"
Full chart configuration¶
A full working example of the configuration can be found in the
datarobot-prime/charts/datarobot-observability-core/examples/datadog.values.yaml
file in the DataRobot tarball.
In the minimal configuration without additional custom processors (see extending pipelines with custom processors), the values to update are the following:
DATADOG_ENDPOINT: the Datadog endpoint (e.g.<REALM>.datadoghq.com)
For additional exporter configuration, check the specific exporter definition where these values are referenced, where a link to the upstream exporter documentation is included.
Once the values are set, DataRobot can be installed/upgraded by specifying the
path to this file with the -f option to the helm command.
Datadog agent¶
Additionally, the Datadog agent can be installed in order to collect and export cluster level metrics to Datadog's Infrastructure Monitoring, which has out-of-the-box dashboards for Kubernetes metrics. Note that this is a completely independent component from DataRobot and that it's not distributed in the observability subcharts.
Refer to the Datadog dogs;
or perform a quick install with the following minimal values for its chart
(note the reference of the datarobot-datadog secret mentioned above):
datadog:
apiKeyExistingSecret: datarobot-datadog
site: "<DATADOG_ENDPOINT>"
And installing the chart:
helm repo add datadog https://helm.datadoghq.com
helm repo update
helm install datadog-agent datadog/datadog -f datadog-agent.yaml