docs: clarify MultiGauge row registration#7548
Merged
shakuzen merged 1 commit intoJun 3, 2026
Merged
Conversation
shakuzen
reviewed
Jun 2, 2026
shakuzen
left a comment
Member
There was a problem hiding this comment.
Thank you for working on this. I left one piece of feedback. Could you also rebase onto 1.15.x and target the PR at that branch so we can include this in maintenance branches and merge forward from there?
e8ea4cd to
718dae1
Compare
Signed-off-by: Vinod Kumar <codingkiddo@gmail.com>
718dae1 to
8485d70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clarifies
MultiGaugerow registration behavior in both the reference documentation and JavaDoc.This adds more explanation around the
overwriteargument used byMultiGauge.register(...), including how rows with the same tags are handled across repeated registrations and what happens when rows are no longer present.Related issue
Fixes #4403
Notes
This is a documentation-only change. No runtime behavior is changed.
Validation
./gradlew :micrometer-core:compileJava./gradlew :micrometer-core:test --tests "*MultiGauge*"./gradlew :micrometer-core:javadoc./gradlew checkFormat