You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by wu shaoj <sh...@gmail.com> on 2021/10/25 08:13:45 UTC
SQLMetric & MetricsSystem
Hi, folks,
I’m creating a new sink extended org.apache.spark.metrics.sink.Sink referring to https://spark.apache.org/docs/latest/monitoring.html
But I find that there are not any query plan metrics at all. SQLMetric is used in a SQL query plan, So my questions are
1. how can I get the query plan metrics in my new sink?
2. What’s the difference between SQLMetric and MetricsSystem?