Integrating DataDog with Sisense Linux
Summary: Sisense User provides a detailed guide on integrating Datadog with Sisense on Linux. The article outlines the steps to configure Datadog monitoring for a Sisense Linux deployment, including the necessary prerequisites, such as basic Linux and Kubernetes knowledge. Instructions cover setting up the Datadog agent using Helm, verifying successful installation, and troubleshooting potential issues. For uninstalling or reinstalling the Datadog components in a different namespace, specific steps are provided. Users are advised to contact Sisense Support for further assistance if needed.
Integrating DataDog with Sisense Linux
This article covers how to quickly integrate Datadog for monitoring Sisense deployed on Linux.
What You’ll Learn:
How to configure Datadog monitoring for Sisense Linux
Use Cases For Applying What You Will Learn:
Check Sisense cluster health
Access logs for troubleshooting
Assess resource consumption and resource needs
Prerequisites:
Basic knowledge of Linux; basic knowledge of Kubernetes; access to Datadog instance
General Overview:
By default, Sisense will log all system information locally. This can be accessed by logging into the server and viewing the logs under /var/log/{namespace}/sisense. System information can be viewed in a visual manner by logging into Sisense as an administrator and accessing Grafana. However, if you wish to centralize data and log collection using Datadog, the following steps will explain how to configure it.
Integration Instructions
Step 1
Log into Datadog and ensure you have your API key readily available. This can be found in multiple places within your Datadog instance.
Step 2
If Sisense is deployed on a single node, log in directly to the server. If Sisense has been deployed into a multi-node cluster, log in to either the master node or bastion server that was used for installing Sisense.
Step 3
If you wish to install the Datadog agent under a specific namespace, please create that namespace using kubectl create ns <namespace>. Otherwise, the agent will be installed into the default namespace.
Step 4
Install the Datadog Helm repository:
Followed by:
Step 5
Copy the italicized text below to a yaml file on your server, such as
datadog-values.yaml. Please update the site, clusterName, and apiKey values appropriately where the site is the Datadog host (e.g. datadoghq.com).
Set the site value from the "Site Parameter" column that corresponds to the region where you have registered on DataDog:
https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site
targetSystem: "linux"
datadog:
site: <Datadog host>
clusterName: <cluster name>
apiKey: <api key>
logs:
enabled: true
containerCollectAll: true
apm:
portEnabled: true
socketPath: /var/run/datadog/apm.socket
hostSocketPath: /var/run/datadog/
processAgent:
enabled: true
processCollection: true
systemProbe:
enableTCPQueueLength: false
enableOOMKill: true
collectDNSStats: false
Step 6
To install the Datadog agent, execute helm install datadog-agent -f datadog-values.yaml datadog/datadog -n datadog, where “datadog-agent” is a chosen release name. This can be modified to a value of your choice.
Step 7
Check the installation using helm ls -A to ensure the installation is successful.
Finalization
Wait a few minutes after the installation completes before proceeding.
Execute:
If all pods are in a full running state, congratulations, Datadog monitoring is now integrated with Sisense. If not, try the steps in the Troubleshooting section below.
The Sisense logs can now be accessed directly from Datadog as shown in the screenshot below.
Deleting the DataDog integration
The following steps should also be followed if it's needed to reinstall the DataDog components in another namespace
Delete the DataDog agent:
Wait while all DataDog pods are terminated and delete the "datadog" namespace:
Delete all DataDog-related resources that will be found with the following commands:
Troubleshooting
Check the Datadog agent logs to see if any errors were captured:
You will need to find the correct pod name, but it should look similar to the example.
If you see 403 unauthorized errors, the issue is likely related to your API key or site value. Ensure both of these values are correct.
If this does not seem to be the issue, double-check that the text is in the appropriate YAML format. This can be double-checked with a text editor.
When logged into Datadog, further installation steps can be followed here:
https://<datadog host>/account/settings#agent/kubernetes.
Conclusion
If you need additional help, please contact Sisense Support.