[jira] [Created] (IGNITE-12768) MetricRegistryMBean doesn't show histogram values in case when histogram name contains underscore character

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12768) MetricRegistryMBean doesn't show histogram values in case when histogram name contains underscore character

Anton Vinogradov (Jira)
Andrey N. Gura created IGNITE-12768:
---------------------------------------

             Summary: MetricRegistryMBean doesn't show histogram values in case when histogram name contains underscore character
                 Key: IGNITE-12768
                 URL: https://issues.apache.org/jira/browse/IGNITE-12768
             Project: Ignite
          Issue Type: Bug
            Reporter: Andrey N. Gura
             Fix For: 2.8.1


{{MetricRegistryMBean}} doesn't show histogram values in case when histogram name contains underscore character.

The problem in {{MetricRegistryMBean.searchHistogram()}} method which relies on first underscore character in the fully qualified metric name. This method also use relatively old and not effective API for string parsing (this API implementation is synchronized). It should be replaced by simple {{String.lastIndexOf()}} for example.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)