-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Documentation of ObservationRestTemplateCustomizer as replacement of MetricsRestTemplateCustomizer #35918
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
Comments
Hi, |
Can you elaborate on why are you using this customizer in the first place? What type of customization are you applying here? I'm asking this because you are not required to define your own and this should be mostly a transparent change for Boot users. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
@wilkinsona we used
and now needed to replace it with
to access |
Given the use case, I'm not sure we need to add much more in the docs. You're not really supposed to use the customizers directly but rather inject a |
This issue #32484 with commit eac50a8#diff-4cdef5c5ee8ef10a5d751cbb07a000805bac055f8fa8a1620b0e219826e3eb74 removed
org.springframework.boot.actuate.metrics.web.client.MetricsRestTemplateCustomizer
and introducedorg.springframework.boot.actuate.metrics.web.client.ObservationRestTemplateCustomizer
. I assume the latter is a drop-in replacement, I don't know.IMHO this breaking change should be documented, maybe https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide or https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes.
The text was updated successfully, but these errors were encountered: