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

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

     [ https://issues.apache.org/jira/browse/SPARK-34405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-34405:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org