Document DefaultMeterObservationHandler#7261
Merged
shakuzen merged 1 commit intomicrometer-metrics:1.15.xfrom Mar 9, 2026
Merged
Document DefaultMeterObservationHandler#7261shakuzen merged 1 commit intomicrometer-metrics:1.15.xfrom
shakuzen merged 1 commit intomicrometer-metrics:1.15.xfrom
Conversation
shakuzen
approved these changes
Mar 9, 2026
Member
shakuzen
left a comment
There was a problem hiding this comment.
Looks good. Thank you very much. I'll rebase the PR on 1.15.x so we can include this in that documentation and merge it forward to other branches.
Add documentation for DefaultMeterObservationHandler to the Observation Components page, explaining the metrics it creates from Observations: - Timer (<name>) on stop, with low cardinality tags and error tag - LongTaskTimer (<name>.active) on start, tracking in-progress duration - Counter (<name>.<event>) on event signals Include code examples showing basic usage and how to disable LongTaskTimer via IgnoredMeters. Closes micrometer-metricsgh-6361 Signed-off-by: seonghyeoklee <[email protected]>
etrandafir93
pushed a commit
to etrandafir93/micrometer
that referenced
this pull request
Mar 21, 2026
Add documentation for DefaultMeterObservationHandler to the Observation Components page, explaining the metrics it creates from Observations: - Timer (<name>) on stop, with low cardinality tags and error tag - LongTaskTimer (<name>.active) on start, tracking in-progress duration - Counter (<name>.<event>) on event signals Include code examples showing basic usage and how to disable LongTaskTimer via IgnoredMeters. Closes micrometer-metricsgh-6361 Signed-off-by: seonghyeoklee <[email protected]>
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
DefaultMeterObservationHandlerto the Observation Components page<name>) - records duration on stop, with low cardinality tags + error tag<name>.active) - tracks in-progress duration from start<name>.<event>) - incremented on event signalsIgnoredMeters.LONG_TASK_TIMERconfigurationTest plan
checkFormat)Closes gh-6361