micrometer icon indicating copy to clipboard operation
micrometer copied to clipboard

Log delta count in addition to throughput in LoggingMeterRegistry

Open fstaudt opened this issue 1 year ago • 8 comments

Closes #5548

fstaudt avatar Oct 14 '24 10:10 fstaudt

What do you think about calling it delta instead of delta_count?

jonatan-ivanov avatar Oct 16 '24 05:10 jonatan-ivanov

Thanks for the pull request and quick action on review. This looks good to me. We'll have to wait to merge until we start 1.15 development on main.

Thanks for your quick review.

I was hoping that this change could still be part of 1.14.0 GA.
What is the reason that it should wait for 1.15 ?

fstaudt avatar Oct 16 '24 07:10 fstaudt

What do you think about calling it delta instead of delta_count?

I woud keep delta_count in the logs.
The internal field is named count, it feels right to keep count in the logs.
If we only keep delta, it would make it less clear for users that it is a indeed a count.

fstaudt avatar Oct 16 '24 07:10 fstaudt

I was hoping that this change could still be part of 1.14.0 GA. What is the reason that it should wait for 1.15 ?

Our general policy is that we do not merge enhancements after a release candidate is released. 1.14.0-RC1 was released yesterday, so the next opportunity for enhancements is 1.15.0-M1.

shakuzen avatar Oct 16 '24 08:10 shakuzen

I've noticed a discrepancy in logs for counters between delta_count and throughput when baseUnit is set.
I've added an extra commit with updated unit tests to fix this.

fstaudt avatar Oct 16 '24 09:10 fstaudt

Our general policy is that we do not merge enhancements after a release candidate is released. 1.14.0-RC1 was released yesterday, so the next opportunity for enhancements is 1.15.0-M1.

OK, clear.

Do you already have an estimation of release date for 1.15.0 GA ?
It would help me for internal communication.

fstaudt avatar Oct 16 '24 10:10 fstaudt

We have a 6 months minor release cycle, based on our current release schedule, 1.15.0 should go GA around the second Monday of May (12th) but you might be able to use 1.15.0-M1 in January.

jonatan-ivanov avatar Oct 16 '24 21:10 jonatan-ivanov

I've gone ahead and added tentative dates for 1.15 to our support page: https://micrometer.io/support/

shakuzen avatar Oct 22 '24 09:10 shakuzen