Support exporting Spark metrics to various backends #88
Description
For doing troubleshooting, health checking, and performance analysis of Spark applications, delivering Spark metrics to a dedicated metrics system is a frequently used paradigm. Frequently, dedicated metrics systems (e.g. time series databases) allow query modes that the built-in Spark UI does not show. (perhaps very flexible, longitudinal, or with a different presentation, etc)
It's desirable to not hardcode one true metrics backend into the project, but rather allow flexibility of delivery of metrics to various backends. The core Spark project allows this (for example, with a configurable metrics sink object).
There are unique challenges in the on-Kubernetes implementation of a metrics backend because of backend discovery, network connectivity, etc, that are appropriate for discussion and Kubernetes-specific implementation.