Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (39 sloc) 1.72 KB
init_config:
instances:
#
# The Spark check can retrieve metrics from Standalone Spark, YARN and
# Mesos. All methods require the `spark_url` to be configured.
#
# For Spark Standalone, `spark_url` must be set to the Spark master's web
# UI. This is "http://localhost:8080" by default.
#
# For YARN, `spark_url` must be set to YARN's resource manager address. The
# ResourceManager host name can be found in the yarn-site.xml conf file
# under the `property yarn.resourcemanager.address` The ResourceManager port
# can be found in the yarn-site.xml conf file under the property
# `yarn.resourcemanager.webapp.address`. This is "http://localhost:8088"
# by default.
#
# For Mesos, `spark_url` must be set to the Mesos master's web UI. This is
# "http://<master_ip>:5050" by default, where `<master_ip>` is the IP
# address or resolvable host name for the Mesos master.
#
# The use of `resourcemanager_uri` has been deprecated, but is still functional.
- spark_url: http://localhost:8088
# To enable monitoring of a Standalone Spark cluster, the spark cluster
# mode must be set. Uncomment the cluster mode that applies.
# spark_cluster_mode: spark_yarn_mode
# spark_cluster_mode: spark_standalone_mode
# spark_cluster_mode: spark_mesos_mode
# To use an older (versions prior to 2.0) Standalone Spark cluster,
# the 'spark_pre_20_mode' must be set
# spark_pre_20_mode: true
#
# If you have enabled the spark UI proxy, you may set this to `true`
# spark_proxy_enabled: false
# A Required friendly name for the cluster.
# cluster_name: MySparkCluster
# Optional tags to be applied to every emitted metric.
# tags:
# - key:value
# - instance:production