<?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 Re: How to access Spark UI metrics in an automated way (API) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-access-spark-ui-metrics-in-an-automated-way-api/m-p/64973#M32717</link>
    <description>&lt;P&gt;Thanks for the response. This enables the event logs. But the event logs seem to be empty. Would you know where I can get the spark metrics as seen from the spark ui.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 21:45:23 GMT</pubDate>
    <dc:creator>superspan</dc:creator>
    <dc:date>2024-03-28T21:45:23Z</dc:date>
    <item>
      <title>How to access Spark UI metrics in an automated way (API)</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-spark-ui-metrics-in-an-automated-way-api/m-p/64947#M32708</link>
      <description>&lt;P&gt;I am doing some automated testing; and would like ultimately to access per job/stage/task metrics as shown in the UI (e.g. spark UI -&amp;gt; sql dataframe) -&amp;gt; plan visualization in an automated way (API is ideal; but some ad-hoc metrics pipelines from local -&amp;gt; s3 also solves the problem).&lt;/P&gt;&lt;P&gt;I have followed this tutorial (&lt;A href="https://kb.databricks.com/clusters/persist-metrics-csv-sink-dbfs" target="_blank"&gt;https://kb.databricks.com/clusters/persist-metrics-csv-sink-dbfs&lt;/A&gt;) to set up metrics; but these are raw metrics arranged by timestamp; without any breakdown e.g. by tasks etc.&lt;/P&gt;&lt;P&gt;It seems I may need to enable eventLog; but when I set the following; my cluster fails to come up:&lt;/P&gt;&lt;P&gt;spark.eventLog.dir dbfs:/databricks/unravel/eventLogs/&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 17:57:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-spark-ui-metrics-in-an-automated-way-api/m-p/64947#M32708</guid>
      <dc:creator>superspan</dc:creator>
      <dc:date>2024-03-28T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Spark UI metrics in an automated way (API)</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-access-spark-ui-metrics-in-an-automated-way-api/m-p/64973#M32717</link>
      <description>&lt;P&gt;Thanks for the response. This enables the event logs. But the event logs seem to be empty. Would you know where I can get the spark metrics as seen from the spark ui.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 21:45:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-access-spark-ui-metrics-in-an-automated-way-api/m-p/64973#M32717</guid>
      <dc:creator>superspan</dc:creator>
      <dc:date>2024-03-28T21:45:23Z</dc:date>
    </item>
  </channel>
</rss>

