Configure Pulse to Monitor Spark
This page describes how to configure Pulse to monitor Apache Spark applications, performance, and resource utilization.
Before You Begin
Before deploying the Core Connector (ad-core-connectors) add-on service, which consists of ad-sparkstats, and configuring the Spark details in Pulse, ensure that:
- Your Spark environment is configured for Spark observability.
- Spark History Server is accessible from the Pulse server.
- If you are using the hook-based collection method, the Spark hook is installed and configured. For more information, see Configure ODP Spark 2 and 3.
Deploy the Core Connector Add-on
Deploy the Core Connector add-on service to collect Spark application metrics from the configured Spark environment.
The connector periodically collects:
- Spark application information
- Jobs, stages, and task metrics
- Application execution status
- Executor and driver metrics
- Resource utilization
- Spark application performance metrics
Pulse uses this information to provide Spark dashboards, analytics, health monitoring, and alerts.
Docker-Based Pulse Deployment
If you have deployed Pulse with Docker, follow these steps to deploy the add-on service.
- On a Pulse node, run the following command:
accelo deploy addons
The list of available Pulse add-on services appears.
- Select the Core Connector along with any other components or services that you want to deploy.
? Select the components you would like to install:
[ ] QUERY ROUTER DB
[ ] Recommendation Service
[ ] SHARD SERVER DB
[ ] Solr Connector
[x] Core Connector
[ ] StandAlone Connector
[ ] Trino Connector
[Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
The Core Connector, which includes Sparkstats, is deployed and automatically starts collecting Spark application metrics after a Spark job completes.
The ad-sparkstats is part of the ad-core-connectors configuration.
Path:
/data01/acceldata/config/docker/addons/ad-core-connectors.yml
ad-sparkstats:
...
environment:
...
- NATS_SERVER_HOST_LIST=ad-events:4222
- SPARKSTATS_EVENTS_FROM_HOOK=true
Kubernetes-Based Pulse Deployment
If you have deployed Pulse on Kubernetes, see Deploy Pulse Add-on Services to deploy the Core Connector add-on service.

Have a suggestion?