[ 
https://issues.apache.org/jira/browse/SPARK-34405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281506#comment-17281506
 ] 

Apache Spark commented on SPARK-34405:
--------------------------------------

User '397090770' has created a pull request for this issue:
https://github.com/apache/spark/pull/31532

> 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
>            Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to