[
https://issues.apache.org/jira/browse/HADOOP-19571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan resolved HADOOP-19571.
---------------------------------
Fix Version/s: 3.5.0
Hadoop Flags: Reviewed
Target Version/s: 3.5.0
Resolution: Fixed
> Improve PrometheusMetricsSink#normalizeName performance
> -------------------------------------------------------
>
> Key: HADOOP-19571
> URL: https://issues.apache.org/jira/browse/HADOOP-19571
> Project: Hadoop Common
> Issue Type: Improvement
> Components: metrics
> Reporter: Ivan Andika
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
> Attachments: TestPrometheusMetricsSinkPerformance.java
>
>
> This patch is similar from HDDS-13014. We can add a name normalization cache
> between the Hadoop metrics name and the Prometheus metrics name to prevent
> expensive regex matchings during the metric normalization conversion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]