I have created my own gauge metrics and exposed them. Below is the snapshot showing my code. Now I cannot set description and base unit of metrics using this way.
int rate = (int) ((finPoint - initPoint)/Constants.TIME_IN_MINS);
AtomicInteger n = meterRegistry.gauge("timeout.rate", atomicInteger);
n.set(rate);
Can anyone please point out that there is any way to add a description of metrics using the above meterRegistry object?