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

Migrate Jersey instrumentation into micrometer-core #2780

Merged
merged 2 commits into from
Sep 15, 2021

Conversation

shakuzen
Copy link
Member

This moves the code in the micrometer-jersey2 module to micrometer-core. Recently the code was updated so it can support Jersey 2 and Jersey 3. It is confusing to have Jersey 3 support in the micrometer-jersey2 module, and it is more in line with other instrumentation we have for it to be in core. The micrometer-jersey2 module is deprecated and users should update their imports to use the same classes now in the micrometer-core module.

The jersey3 sample is updated to show this being used.

The Jersey instrumentation has been updated to support both Jersey 2 and Jersey 3. It is confusing to have this in a micrometer-jersey2 module, and it would be more in line with our other instrumentation if it lived in micrometer-core.
Use the Jersey code in core rather than the deprecated micrometer-jersey2 module.
@shakuzen shakuzen added enhancement A general enhancement release notes Noteworthy change to call out in the release notes module: micrometer-core An issue that is related to our core module module: micrometer-jersey An issue that is related to our jersey module labels Sep 15, 2021
@shakuzen shakuzen added this to the 1.8.0-M3 milestone Sep 15, 2021
@jonatan-ivanov jonatan-ivanov merged commit e7b03bc into micrometer-metrics:main Sep 15, 2021
@shakuzen shakuzen deleted the jersey-into-core branch September 16, 2021 04:06
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-jersey An issue that is related to our jersey module release notes Noteworthy change to call out in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants