cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks Ganglia

Tahseen0354
Valued Contributor

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz_Fatma
Community Manager
Community Manager

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.

Source

View solution in original post

4 REPLIES 4

Hubert-Dudek
Esteemed Contributor III

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.

Thank you for your reply.

Kaniz_Fatma
Community Manager
Community Manager

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.

Source

Thank you for your reply.

Connect with Databricks Users in Your Area

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