title: Push Spark metrics to Prometheus
body: <p>How can I set Spark to push metrics to Prometheus?
  like it sends to Graphite for example.</p>
  <p>Of course, I don't care about using the Prometheus push getaway but how do I get Spark to send those metrics (and not just expose them at an endpoint)?</p>