You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to manually load this package instead of it always autoloading? We would like to prevent it from loading in non-production environments and only load it a percentage of the time in production.
The text was updated successfully, but these errors were encountered:
@andeewoodward hey! Great suggestion. Out the box, there's nothing automatic to only enable on %age of requests, but you could simulate that by changing the monitoring enabled environment variable SCOUT_MONITOR flag to true/false per request. If this flag is false, Scout APM will return immediately.
It would be great if this could be baked into the library though, so it's something we could consider for a future release 👍
asgrim
transferred this issue from scoutapp/scout-apm-laravel
Mar 30, 2022
asgrim
changed the title
Manual Loading
Per-request partial instrumentation
Mar 30, 2022
Is it possible to manually load this package instead of it always autoloading? We would like to prevent it from loading in non-production environments and only load it a percentage of the time in production.
The text was updated successfully, but these errors were encountered: