[ https://issues.apache.org/jira/browse/IGNITE-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Gura updated IGNITE-12028: --------------------------------- Description: {{HitRateMetric}} allows to get only counter value while it would be useful to get also {{rateTimeInterval}} in order to export this value as part of metric name. For example look at cache metric {{RebalancingKeysRate}}. Value of this measurement could be exported as smth like this: {{cache.<cacheName>.RebalancingKeysRate.<rateTimeInterval> = <value>}}. So {{HitRateMetric}} should implement {{ObjectMetric}} interface instead of {{LongMetric}} interface. was: {{HitRateMetric}} allows to get only counter value while it would be useful to get also {{rateTimeInterval}} in order to export this value as part of metric name. For example look at cache metric {{RebalancingKeysRate}}. Value of this measurement could be exported as smth like this: {{cache.<cacheName>.RebalancingKeysRate.<reteTimeINterval> = <value>}}. So {{HitRateMetric}} should implement {{ObjectMetric}} interface instead of {{LongMetric}} interface. > [IEP-35] HitRateMetric should provide rateTimeInterval value to metrics > exporter > -------------------------------------------------------------------------------- > > Key: IGNITE-12028 > URL: https://issues.apache.org/jira/browse/IGNITE-12028 > Project: Ignite > Issue Type: Improvement > Reporter: Andrey Gura > Priority: Major > Labels: IEP-35 > Fix For: 2.8 > > > {{HitRateMetric}} allows to get only counter value while it would be useful > to get also {{rateTimeInterval}} in order to export this value as part of > metric name. > For example look at cache metric {{RebalancingKeysRate}}. Value of this > measurement could be exported as smth like this: > {{cache.<cacheName>.RebalancingKeysRate.<rateTimeInterval> = <value>}}. > So {{HitRateMetric}} should implement {{ObjectMetric}} interface instead of > {{LongMetric}} interface. -- This message was sent by Atlassian JIRA (v7.6.14#76016)