Skip to content

Instantly share code, notes, and snippets.

@noemi-dresden
Created March 28, 2019 19:10
Show Gist options
  • Save noemi-dresden/a78775432684d624a0002da0c59c30a5 to your computer and use it in GitHub Desktop.
Save noemi-dresden/a78775432684d624a0002da0c59c30a5 to your computer and use it in GitHub Desktop.
spark properties file allowing to sink to graphite
*.sink.graphite.class=org.apache.spark.metrics.sink.GraphiteSink
*.sink.graphite.host=graphite_exporter
*.sink.graphite.port=9109
*.sink.graphite.period=10
*.sink.graphite.unit=seconds
# Enable JvmSource for instance master, worker, driver and executor
master.source.jvm.class=org.apache.spark.metrics.source.JvmSource
worker.source.jvm.class=org.apache.spark.metrics.source.JvmSource
driver.source.jvm.class=org.apache.spark.metrics.source.JvmSource
executor.source.jvm.class=org.apache.spark.metrics.source.JvmSource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment