Skip to content

Instantly share code, notes, and snippets.

@dimastatz
Last active May 6, 2021 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimastatz/7154c651fe31ab0a7ffecaa51424c0dd to your computer and use it in GitHub Desktop.
Save dimastatz/7154c651fe31ab0a7ffecaa51424c0dd to your computer and use it in GitHub Desktop.
# Example configuration for PrometheusServlet
# Master metrics - http://localhost:8080/metrics/master/prometheus/
# Worker metrics - http://localhost:8081/metrics/prometheus/
# Driver metrics - http://localhost:4040/metrics/prometheus/
# Executors metrics - http://localhost:4040/metrics/executors/prometheus
*.sink.prometheusServlet.class=org.apache.spark.metrics.sink.PrometheusServlet
*.sink.prometheusServlet.path=/metrics/prometheus
master.sink.prometheusServlet.path=/metrics/master/prometheus
applications.sink.prometheusServlet.path=/metrics/applications/prometheus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment