You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andrey N. Gura (Jira)" <ji...@apache.org> on 2020/03/10 16:42:00 UTC

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

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)