Ivan Andika created HDDS-13014: ---------------------------------- Summary: Improve PrometheusMetricsSink#putMetrics performance Key: HDDS-13014 URL: https://issues.apache.org/jira/browse/HDDS-13014 Project: Apache Ozone Issue Type: Improvement Reporter: Ivan Andika Assignee: Ivan Andika Attachments: s3g-5m-flamegraph.html
>From the 5 minutes flamegraph of S3G, we see that nearly 40% of the CPU usage >are spent on PrometheusMetrics#putMetrics. Moreover, 30% of the CPU usage are attributed only for PrometheusMetricsSinkUtil#prometheusName. We see that most of the time are spent on regex matching. We need to find a way to improve the performance, possibly removing regex matching entirely. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org