You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was used micrometer:1.12.6 in Spring Boot application, but yesterday upgraded to 1.13.0. After that I get message on startup: Exposing 0 endpoint(s) beneath base path '/actuator'
I only changed version, but config stayed as it was.
Environment
Micrometer version: 1.13.0
Micrometer registry: prometheus
OS: macOS
Java version: 17
To Reproduce
My application.yaml file contains this config. I changed micrometer version from 1.12.6 to 1.13.0 and started to get 0 endpoints exposed
Expected behavior
I expected that I don't need to change configs because of minor version was changed and there are no corresponding messages in release notes.
The text was updated successfully, but these errors were encountered:
there are no corresponding messages in release notes.
We have the following entry in the Micrometer 1.13 release notes. Perhaps the migration guide could be made more clear on Spring Boot (and other frameworks') compatibility.
This issue is a duplicate of #5103. It's generally best practice to use to the version of dependencies managed by Spring Boot. From your provided pom.xml snippet, I can see you are doing that for spring-boot-starter-actuator but you are not doing that for micrometer-registry-prometheus (you are overriding the version Spring Boot is managing). If you let Spring Boot manage the version, you should not have an issue. Spring Boot 3.3.0 is scheduled to be released next week, which plans to upgrade the version of Micrometer to 1.13. Being on Spring Boot 3.3 will avoid the issue you are seeing. If you would like to use Micrometer 1.13 with Spring Boot 3.2 now, see #5103 (comment).
Describe the bug
I was used
micrometer:1.12.6
in Spring Boot application, but yesterday upgraded to1.13.0
. After that I get message on startup:Exposing 0 endpoint(s) beneath base path '/actuator'
I only changed version, but config stayed as it was.
Environment
To Reproduce
My
application.yaml
file contains this config. I changed micrometer version from1.12.6
to1.13.0
and started to get 0 endpoints exposedMy
pom.xml
file contains:Expected behavior
I expected that I don't need to change configs because of minor version was changed and there are no corresponding messages in release notes.
The text was updated successfully, but these errors were encountered: