โ03-02-2022 12:45 AM
Hi, is there any way to get alert automatically from databricks ganglia ? That means that a developer donโt need to review the logs manually but would get notification that resources are underutilized for example.
โ03-02-2022 11:28 PM
Hi @Md Tahseen Anamโ , You can install Datadog agents on cluster nodes to send Datadog metrics to your Datadog account. The following notebook demonstrates how to install a Datadog agent on a cluster using a cluster-scoped init script.
To install the Datadog agent on all clusters, use a global init script after testing the cluster-scoped init script.
Init Script: Install Datadog Agent for Spark and System Monitoring
This init script installs the Datadog agent to collect system metrics on every node in a cluster. It also configures the cluster for Spark monitoring.
Configure <init-script-folder> with the location to put the init script.
Replace <your-api-key> in the DD_API_KEY parameter with your Datadog account key.
Run this notebook to create the script datadog-install-driver-only.sh.
Configure a cluster with the datadog-install-driver-only.sh cluster-scoped init script using the UI, Databricks CLI, or by invoking the Clusters API.
โ03-02-2022 06:12 AM
Databricks implementation of ganglia is so limited that it makes me laughing (png snapshots and not working tabs) so I think no ๐
You can go with datadog installation via global init script and get stats in datadog accounts.
โ03-08-2022 09:32 AM
Thank you for your reply.
โ03-02-2022 11:28 PM
Hi @Md Tahseen Anamโ , You can install Datadog agents on cluster nodes to send Datadog metrics to your Datadog account. The following notebook demonstrates how to install a Datadog agent on a cluster using a cluster-scoped init script.
To install the Datadog agent on all clusters, use a global init script after testing the cluster-scoped init script.
Init Script: Install Datadog Agent for Spark and System Monitoring
This init script installs the Datadog agent to collect system metrics on every node in a cluster. It also configures the cluster for Spark monitoring.
Configure <init-script-folder> with the location to put the init script.
Replace <your-api-key> in the DD_API_KEY parameter with your Datadog account key.
Run this notebook to create the script datadog-install-driver-only.sh.
Configure a cluster with the datadog-install-driver-only.sh cluster-scoped init script using the UI, Databricks CLI, or by invoking the Clusters API.
โ03-08-2022 09:32 AM
Thank you for your reply.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group