Apachespark Receiver
contrib
Maintainers: @Caleb-Hurshman, @mrsillydog
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
Purpose
The purpose of this component is to monitor Apache Spark clusters and the applications running on them through the collection of performance metrics like memory utilization, CPU utilization, shuffle operations, garbage collection time, I/O operations, and more.Prerequisites
This receiver supports Apache Spark versions:- 3.3.2+
Configuration
Note: This receiver was renamed fromThese configuration options are for connecting to an Apache Spark application. The following settings are optional:apachesparktoapache_sparkto match the snake_case naming convention. The deprecated component typeapachesparkis still accepted as an alias and will log a deprecation warning.
collection_interval: (default =60s): This receiver collects metrics on an interval. This value must be a string readable by Golang’s time.ParseDuration. Valid time units arens,us(orµs),ms,s,m,h.initial_delay(default =1s): defines how long this receiver waits before starting.endpoint: (default =http://localhost:4040): Apache Spark endpoint to connect to in the form of[http][://]{host}[:{port}]application_names: An array of Spark application names for which metrics should be collected. If no application names are specified, metrics will be collected for all Spark applications running on the cluster at the specified endpoint.
Example Configuration
Metrics
Details about the metrics produced by this receiver can be found in metadata.yamlMetrics
Attributes
Resource Attributes
Configuration
Example Configuration
Last generated: 2026-10-05