Thanks for reaching out to Microsoft Q&A.
To monitor Spark Pool performance metrics in real time within Azure Synapse, you can use several tools and methods:
Synapse Studio:
- Monitor Apache Spark Applications: In Synapse Studio, navigate to the Monitor section and select Apache Spark applications. Here, you can view the status, issues, and progress of your Spark applications. You can also access detailed logs and diagnostics.
- Monitor Apache Spark Pools: In the same Monitor section, select Apache Spark pools to see the status of your pools, including vCore usage and other metrics.
for detailed explanation please refer:https://learn.microsoft.com/en-us/azure/synapse-analytics/monitoring/apache-spark-applications
https://learn.microsoft.com/en-us/azure/synapse-analytics/monitoring/how-to-monitor-spark-pools
Azure Log Analytics:
- Integration with Synapse: You can configure Azure Synapse to send telemetry data to Azure Log Analytics. This allows you to query Spark logs, set up alerts, and monitor performance metrics such as CPU, memory, and errors in real time
https://dustinvannoy.com/2022/05/12/monitor-synapse-spark-with-log-analytics/
Grafana:
- Using Azure Monitor: You can integrate Azure Monitor with Grafana to visualize real-time metrics. Azure Monitor collects data from your Synapse Spark jobs, which can then be displayed in Grafana dashboards.
Notebook Spark Code:
- Custom Metrics: You can write custom Spark code in your notebooks to collect and display performance metrics. This can include tracking memory usage, CPU utilization, and error rates within your Spark jobs.
It seems like the Streaming Job metrics you found in the Synapse workspace portal might not be directly related to Spark jobs. Instead, focus on the Apache Spark applications and Apache Spark pools sections for more relevant metrics.
Hope this helps. Please do let us know if you any further queries.