Do not call scoutapm_enable_instrumentation
unless monitoring is enabled
#275
Labels
enhancement
New feature or request
heroku/heroku-buildpack-php#390 (comment)
In responding to this query, I noticed that as soon as
\Scoutapm\Extension\PotentiallyAvailableExtensionCapabilities
is created, thescoutapm_enable_instrumentation(true);
call is made, regardless of whether monitoring is enabled.If monitoring is disabled (e.g.
SCOUT_MONITOR=false
) then the ext should NOT be enabled.The text was updated successfully, but these errors were encountered: