Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-48223

PrometheusServlet does not work well with queryName in spark streaming metric names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.1, 3.3.4, 3.4.3
    • None
    • Spark Core
    • None

    Description

      PrometheusServlet does not work well with queryName in the metric name.

      For driver metrics, the configuration `spark.metrics.namespace` allows the user to remove the app id from the metric name to build reusable dashboards and metric queries in external systems.

      Similarly, we need a feature to replace the query name in the spark streaming metric names to make dashboards and metric queries reusable. Ideally, the query name would be generated as a tag, instead of part of the metric name.

      This can be enabled if a feature flag is enabled, to not break existing users who are dependent of the existing metric format.

      Attachments

        Activity

          People

            Unassigned Unassigned
            masc Mason Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: