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

Use bus-refresh endpoint if enabled / Allow refresh on multiple instances #1187

Open
ditdajou opened this issue Jun 25, 2019 · 3 comments
Open

Comments

@ditdajou
Copy link

ditdajou commented Jun 25, 2019

Based on the current SBA front-end design, we can click on an instance and refresh the context of a particular property to our liking.

However, when there are too many instances (imagine there are 30 of them), we need to manually refresh the property in each instance and repeating it for 30 times can be cumbersome.

I would like to know if Spring Boot Admin supports the property propagation for all other instances of the same name if a property is refreshed on one instance, i.e. through "actuator/bus-refresh". Else, I would like this to be a feature request.

@steve-oakey
Copy link
Contributor

If the bus-refresh JMX Endpoint is enabled for your Admin Server, you should be able to achieve this using the JVM/JMX page, under the org.springframework.boot domain and executing the busRefresh or busRefreshWithDestination operations.

@joshiste joshiste changed the title A new button to trigger bus-refresh for all instances. A new button to trigger refresh for all instances. Jul 1, 2019
@joshiste joshiste changed the title A new button to trigger refresh for all instances. Use bus-refresh endpoint if enabled / Allow refresh on multiple instances Jul 1, 2019
@joshiste
Copy link
Collaborator

joshiste commented Jul 1, 2019

Imho there are two (additive?) solutions to this:

  • Trigger the refresh endpoint on all instances with the same name (like for the loggers)
  • Trigger the bus-refresh endpoint if available

@ditdajou
Copy link
Author

ditdajou commented Jul 2, 2019

If the bus-refresh JMX Endpoint is enabled for your Admin Server, you should be able to achieve this using the JVM/JMX page, under the org.springframework.boot domain and executing the busRefresh or busRefreshWithDestination operations.

Yes ,we can trigger it manually using cURL , but we would like to trigger it on Spring Boot Admin Web UI, currently the button "Refresh Context" will only trigger actuator/refresh.

If there is a new button that can trigger actuator/bus-refresh , will be more convenient to people especially when they don't know how to trigger at JVM page / Fire the request themselves.

skosijer added a commit to levinine/spring-boot-admin that referenced this issue Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants