-
Notifications
You must be signed in to change notification settings - Fork 31
"/actuator/wavefront" does not work with Spring Reactive Web #121
Comments
@yogendra thanks for the report, I've reproduced a problem where with WebFlux I get a 404 instead of the redirection:
I suspect a bug outside of this project so I'll experiment a bit more and report when I know more. Thanks again. |
Yeah. I suspect need to put GetMapping annotation on the url. Thanks for responding |
The infrastructure relies on |
I was trying to understand the code myself. Then I looked at the actuator project for reference. Perhaps a conditional configuration will be better. So we can setup one or the other. |
This doesn't actually affect the use of Spring Reactive Web, right? |
No. |
Wavefront dashboard url redirection does not work on Spring Reactive Web project.
I created 2 projects (see links below) and added
management.endpoints.web.exposure.include=health,info,wavefront
toapplication.propoerties
on both project. On accessting/actuator/wavefront
location, on reactive web project, I am not redirected to Wavefront dashboard.Reactive Web Project Starter:
https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.5.1.RELEASE&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=catalog&name=catalog&description=Spring%20Boot%20Metrics%20and%20Tracing%20%2F%2F%20Catalog%20Service&packageName=com.example.catalog&dependencies=actuator,lombok,cloud-starter-sleuth,wavefront,devtools,webflux
Web Starter Project:
https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.5.1.RELEASE&packaging=jar&jvmVersion=11&groupId=com.example&artifactId=catalogweb&name=catalogweb&description=Spring%20Boot%20Metrics%20and%20Tracing%20%2F%2F%20Catalog%20Service&packageName=com.example.catalogweb&dependencies=actuator,lombok,cloud-starter-sleuth,wavefront,devtools,web
The text was updated successfully, but these errors were encountered: