Migrated from NovaTec Jira. Original ticket: INSPECTIT-294
The idea is to have a mechanism that can automatically persist invocation sequences when an event is triggered. The event here can be maybe just a user interaction, but it is much more interesting if an event is sent from some kind of invocation sequence analyzer. This means that the analyzer can, for example, track the average duration of incoming invocations, and when invocation has, again for example, 50% greater duration than the average, the persistence is done.
However, the mechanism has to be flexible, so that later on we can define even more advanced persistence options. Maybe it could be useful to the user to automatically persist all invocations that have an exception (for example). Or where all SQL statements took X time.. And so on, the possibilities are endless.