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?