cryostat-legacy icon indicating copy to clipboard operation
cryostat-legacy copied to clipboard

[Request] "Archive on Stop" for `-XX:StartFlightRecording`

Open andrewazores opened this issue 1 year ago • 1 comments

Describe the feature

See #252 and #71. When Cryostat detects a new target and observes that there are already running recordings on that target which Cryostat did not already know about (this requires knowing that this is really a new target, not an alias to an existing one), it should not only check if these recordings are fixed-duration and set timer events to update its own database at the expected duration, but it should also set up an event handler for an "archive on stop" the same way that can be done for recordings started by Cryostat itself.

There should also be a configuration option on Cryostat to enable or disable this "archive on stop externally-started recordings" feature, but we should probably default to turning it on.

Anything other information?

No response

andrewazores avatar Jan 22 '24 15:01 andrewazores