You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "iteblog (Jira)" <ji...@apache.org> on 2021/02/09 03:43:00 UTC

[jira] [Created] (SPARK-34405) The getMetricsSnapshot method of the PrometheusServlet class has a wrong value

iteblog created SPARK-34405:
-------------------------------

             Summary: The getMetricsSnapshot method of the PrometheusServlet class has a wrong value
                 Key: SPARK-34405
                 URL: https://issues.apache.org/jira/browse/SPARK-34405
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.0.1
            Reporter: iteblog


The mean value of timersLabels in the PrometheusServlet class is wrong, You can look at line 105 of this class: [L105.|https://github.com/apache/spark/blob/37fe8c6d3cd1c5aae3a61fb9b32ca4595267f1bb/core/src/main/scala/org/apache/spark/metrics/sink/PrometheusServlet.scala#L105]
{code:java}
// code placeholder
sb.append(s"${prefix}Mean$timersLabels ${snapshot.getMax}\n"){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org