ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kuznetsov <akuznet...@apache.org>
Subject Lets add measure units for metrics
Date Wed, 06 Nov 2019 09:37:36 GMT
Hi, All!

I'm working on a tool for metrics monitoring.
And found that Metric interface [1] has a name and description, but has not
measurement units.

When you are working on a tool that collects all metrics and shows it in
human readable format it is a very important piece of information.

Because we have a lot of different metrics, some of them in bytes, some of
them in percents, some of them are simple counters and so on and so forth.

How about to add Enum with all possible measurement units to  Metric
interface [1] ?

Thoughts?

[1]
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/spi/metric/Metric.java

-- 
Alexey Kuznetsov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message