Skip to content

Conversation

jonatan-ivanov
Copy link
Member

TL;DR: this is a polishing PR as long as micrometer-metrics/micrometer#6700 is not merged (1.16.0). If that will happen, tests will break without this change.

Details:
The Micrometer team is considering some improvements in the Observation API which involves changing the behavior of Observation.NOOP: micrometer-metrics/micrometer#6700
Observation.NOOP is not truly no-op right now, it does context propagation, we are trying to make it truly no-op in the PR above. The non-truly no-op version will still be used in certain scenarios (see NoopButScopeHandlingObservation). observation.isNoop() should be used for checking if an Observation is no-op or not instead of Observation.NOOP.

@jonatan-ivanov jonatan-ivanov added the status: waiting-for-triage An issue we've not yet triaged label Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant