Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common ResponseContext interface for interacting with the response #3362

Merged
merged 1 commit into from Aug 19, 2022

Conversation

shakuzen
Copy link
Member

Without this, we need to check two different types (currently) that have the same getter/setter methods for response. This allows us to use a common interface as shown by the changes in ObservationOrTimerCompatibleInstrumentation.

This is a follow-up to #3357 (comment)

@shakuzen shakuzen added enhancement A general enhancement module: micrometer-core An issue that is related to our core module module: micrometer-observation labels Aug 19, 2022
@shakuzen shakuzen added this to the 1.10.0-M5 milestone Aug 19, 2022
Without this, we need to check two different types (currently) that have the same getter/setter methods for response. This allows us to use a common interface as shown by the changes in ObservationOrTimerCompatibleInstrumentation.
@jonatan-ivanov jonatan-ivanov merged commit 3599198 into micrometer-metrics:main Aug 19, 2022
@shakuzen shakuzen deleted the response-context branch August 22, 2022 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement module: micrometer-core An issue that is related to our core module module: micrometer-observation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants