[
https://issues.apache.org/jira/browse/HADOOP-19571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17953009#comment-17953009
]
ASF GitHub Bot commented on HADOOP-19571:
-----------------------------------------
slfan1989 commented on PR #7692:
URL: https://github.com/apache/hadoop/pull/7692#issuecomment-2896271271
@ivandika3 Thanks for the contribution! if there are no other comments, I
will merge this PR tomorrow.
cc: @aajisaka
> 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
> 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]