Skip to content

Commit

Permalink
feat(export prometheus metrics via metrics.properties) (#450)
Browse files Browse the repository at this point in the history
Co-authored-by: Golan Kiviti <[email protected]>
  • Loading branch information
golankiviti and Golan Kiviti authored Sep 22, 2021
1 parent c3893e8 commit 52d1873
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/spark/k8s/metrics/metrics.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# limitations under the License.
#

*.sink.jmx.class=org.apache.spark.metrics.sink.JmxSink
driver.source.jvm.class=org.apache.spark.metrics.source.JvmSource
executor.source.jvm.class=org.apache.spark.metrics.source.JvmSource
executor.source.jvm.class=org.apache.spark.metrics.source.JvmSource
*.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

0 comments on commit 52d1873

Please sign in to comment.