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

The getMetricsSnapshot method of the PrometheusServlet class has a wrong value

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.1, 3.1.0, 3.1.1, 3.2.0
    • 3.0.2, 3.1.1
    • Spark Core
    • None

    Description

      The mean value of timersLabels in the PrometheusServlet class is wrong, You can look at line 105 of this class: L105.

      // code placeholder
      sb.append(s"${prefix}Mean$timersLabels ${snapshot.getMax}\n")

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            397090770 iteblog
            397090770 iteblog
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment