[
https://issues.apache.org/jira/browse/SPARK-34405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun reassigned SPARK-34405:
-------------------------------------
Assignee: iteblog
> 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, 3.1.0, 3.2.0, 3.1.1
> Reporter: iteblog
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]