Hi,
We are trying to capture a long running custom transaction where the user might be inactive for a while, switch tabs/windows etc. We could not see these logs on kibana. so we turned on the debug log level and in such cases we can see that the transaction gets discarded with the message '[Elastic APM] transaction(xxx, xxx, custom) was discarded! The page was hidden during the transaction!'. How we can we disable this? Is there a config to control this behaviour?
We are using @elastic/apm-rum-angular: 2.0.0 and use chrome.
Thank you.
received a response on github
'This is the intended behaviour and there is no config to disable this functionality. The reason being When the tab is backgrounded, timers becomes throttled by the browser and the performance metrics will be incorrect
and would not be the accurate representation of what happens on the page. Page Visibility API - Web APIs | MDN'
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.