Mark deprecations for Micrometer integration component #9085
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.
Description
Resolves #8946
Releases before 4.x provided some convenient ways developers could use Micrometer in their applications, including some configuration help and CDI injection and interceptor support for the Micrometer annotations and meter types. Using those tools, the Micrometer meters were completely separate from the Helidon metrics managed using the Helidon metrics API.
Now that Helidon 4 uses Micrometer for its own metrics implementation, the former approach is obsolete, inefficient, and unneeded.
As one step of providing even better integration with Micrometer, this PR marks as deprecated-for-removal the public types of the integration component; we plan to remove them in a future major release of Helidon.
Documentation
There are existing files in our docs area for Micrometer integration, but there are no links to them on our 4.x doc pages. So there are no doc updates needed as part of this PR.