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

[Request] Shut down Agent without exiting host JVM #404

Open
andrewazores opened this issue May 23, 2024 · 0 comments
Open

[Request] Shut down Agent without exiting host JVM #404

andrewazores opened this issue May 23, 2024 · 0 comments
Labels
feat New feature or request

Comments

@andrewazores
Copy link
Member

Related #233

It should be possible to shut down the Agent cleanly without exiting the host JVM. This could be useful in one-off troubleshooting cases where the Agent functionality is only desired for a relatively short period of time, or in case the Agent causes some disruption to the host application JVM.

The first most obvious way to do this would be to use the existing SignalHandler to catch some user-configurable signal that the OpenJDK JVM does not already respond to by default. It could also be done by an authenticated WebServer request. In any case, the event should initiate an orderly shutdown of the Agent's webserver, harvester, and any other threads.

@andrewazores andrewazores added the feat New feature or request label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant