Make ANALYZE_TIMEOUT_MILLIS in rocks.inspectit.agent.java.analyzer.impl.ByteCodeAnalyzer configurable
I have recently encountered an issue that the InspectIT instrumentation didn't work for some key transactions due to a timeout in the ByteCodeAnalyzer:
I was only able to work around the issue by patching the following line to increase the timeout:
It would be helpful if you would provide a system property that can be used to configure this value to avoid any code patches for such value changes. What I envision is something like:
This way nobody will be impacted by the change as you will always fall back to 2000 if nothing is configured.
Thanks for your consideration