Vyacheslav Koptilin created IGNITE-27743:
--------------------------------------------

             Summary: Add support for metric units
                 Key: IGNITE-27743
                 URL: https://issues.apache.org/jira/browse/IGNITE-27743
             Project: Ignite
          Issue Type: Improvement
          Components: metrics framework ai3
            Reporter: Vyacheslav Koptilin
            Assignee: Vyacheslav Koptilin


Currently, metrics framework do not allow to specify metric units. I think it 
would significantly improve UX, especially when open telemetry exporter is used.

DoD:

 - introduce new enum, for example, that provides a common list of possible 
units like as `bytes`, `seconds`, `%`, `count`, `count per second` etc.
 - introduce a new method to `Metric` framework that allows getting the 
corresponding unit.

The next steps are the following:

 - update all existing metrics

 - update open-telemetry exporter to map our units to a specific ones 
https://ucum.org/ucum



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to