mrclneumann opened a new pull request #33592: URL: https://github.com/apache/spark/pull/33592
### What changes were proposed in this pull request? The `MetricsSystem` takes care of proper naming of all metrics. By default, the root namespace is the value of `spark.app.id`. A custom namespace can be specified for metrics reporting using `spark.metrics.namespace` configuration property. A `StreamingSource` gets registered in the `MetricsSystem`, however, it additionally includes the `appName` in its `sourceName`. This makes it impossible to configure a common namespace excluding the `appName`. This pull request proposes to exclude the appName from the sourceName in StreamingSource following the example of the other sources, e.g. `ExecutorMetricsSource`. ### Why are the changes needed? Homogeneous naming scheme across all metrics. ### Does this PR introduce _any_ user-facing change? The proposed change conforms to the documentation. See [here](https://spark.apache.org/docs/latest/monitoring.html#metrics). ### How was this patch tested? No tests added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
