<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get spark streaming metrics like input rows, processed rows and batch duration to Prometheus for monitoring in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-get-spark-streaming-metrics-like-input-rows-processed/m-p/20759#M14053</link>
    <description>&lt;P&gt;I have been reading this article &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0" alt="https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0" target="_blank"&gt;https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0&lt;/A&gt;&amp;nbsp;and it has been mentioned that we can get the spark streaming metrics like input rows, processing rate and batch duration into prometheus.&lt;/P&gt;&lt;P&gt;I was able to get host/infra metrics like memory, disk etc via below API.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://eastus-c3.databricks.net/driver-proxy-api/o/&amp;lt;org-id&amp;gt;/&amp;lt;cluster-id&amp;gt;/40001/metrics/executors/prometheus" target="test_blank"&gt;https://eastus-c3.databricks.net/driver-proxy-api/o/&amp;lt;org-id&amp;gt;/&amp;lt;cluster-id&amp;gt;/40001/metrics/executors/prometheus&lt;/A&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldnt find any apis or references to get the streaming metrics, processing info etc. Any help on how to get those streaming UI metrics to prometheus ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spark configs being set on cluster:&lt;/P&gt;&lt;P&gt;spark.ui.prometheus.enabled true&lt;/P&gt;&lt;P&gt;spark.sql.streaming.metricsEnabled true&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 14:22:13 GMT</pubDate>
    <dc:creator>Shiva_Dsouz</dc:creator>
    <dc:date>2022-11-24T14:22:13Z</dc:date>
    <item>
      <title>How to get spark streaming metrics like input rows, processed rows and batch duration to Prometheus for monitoring</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-spark-streaming-metrics-like-input-rows-processed/m-p/20759#M14053</link>
      <description>&lt;P&gt;I have been reading this article &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0" alt="https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0" target="_blank"&gt;https://www.databricks.com/session_na20/native-support-of-prometheus-monitoring-in-apache-spark-3-0&lt;/A&gt;&amp;nbsp;and it has been mentioned that we can get the spark streaming metrics like input rows, processing rate and batch duration into prometheus.&lt;/P&gt;&lt;P&gt;I was able to get host/infra metrics like memory, disk etc via below API.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://eastus-c3.databricks.net/driver-proxy-api/o/&amp;lt;org-id&amp;gt;/&amp;lt;cluster-id&amp;gt;/40001/metrics/executors/prometheus" target="test_blank"&gt;https://eastus-c3.databricks.net/driver-proxy-api/o/&amp;lt;org-id&amp;gt;/&amp;lt;cluster-id&amp;gt;/40001/metrics/executors/prometheus&lt;/A&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldnt find any apis or references to get the streaming metrics, processing info etc. Any help on how to get those streaming UI metrics to prometheus ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spark configs being set on cluster:&lt;/P&gt;&lt;P&gt;spark.ui.prometheus.enabled true&lt;/P&gt;&lt;P&gt;spark.sql.streaming.metricsEnabled true&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 14:22:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-spark-streaming-metrics-like-input-rows-processed/m-p/20759#M14053</guid>
      <dc:creator>Shiva_Dsouz</dc:creator>
      <dc:date>2022-11-24T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spark streaming metrics like input rows, processed rows and batch duration to Prometheus for monitoring</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-spark-streaming-metrics-like-input-rows-processed/m-p/20760#M14054</link>
      <description>&lt;P&gt;I think you can use spark UI to see deep level details ​&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:37:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-spark-streaming-metrics-like-input-rows-processed/m-p/20760#M14054</guid>
      <dc:creator>SS2</dc:creator>
      <dc:date>2022-11-29T19:37:37Z</dc:date>
    </item>
  </channel>
</rss>

