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
Description
When using application allow-listing to explicitly configure an app pool to be instrumented, and true is not set to all lowercase, we get a message in the profiler log that the app pool should be instrumented, but no agent log is created, no data is reported, and there is no message indicating an XML validation issue.
Expected Behavior
Either document casing requirements and log an error when they are violated, or accommodate multiple casing options.
Regardless, log XML validation errors from the Unmanaged Agent (profiler).
Steps to Reproduce
Add this to newrelic.config to enable allow-listing for app pool foo:
Send traffic to the app and note this message in the profiler log: This application pool (foo) is explicitly configured to be instrumented.
We see these DLLs loaded into the process (see image) but no other NR dlls are loaded:
NewRelic.Profiler.dll
NewRelic.Agent.Core.dll
NewRelic.Agent.Extensions.dll
No agent log is created and no errors indicate an issue with the config file.
When attempting to manually validate the config file we get:
element applicationPool: Schemas validity error : Element ‘{urn:newrelic-config}applicationPool’, attribute ‘instrument’: ‘TruE’ is not a valid value of the atomic type ‘xs:boolean’. test.config fails to validate
The text was updated successfully, but these errors were encountered:
tehbio
changed the title
Profiler log shows app pool is configured to be instrumented, but no agent logs or data
Agent fails to initialize and provides no logs when configured with capitalized booleans
Jun 25, 2021
Description
When using application allow-listing to explicitly configure an app pool to be instrumented, and
true
is not set to all lowercase, we get a message in the profiler log that the app pool should be instrumented, but no agent log is created, no data is reported, and there is no message indicating an XML validation issue.Expected Behavior
Either document casing requirements and log an error when they are violated, or accommodate multiple casing options.
Regardless, log XML validation errors from the Unmanaged Agent (profiler).
Steps to Reproduce
Add this to
newrelic.config
to enable allow-listing for app poolfoo
:Send traffic to the app and note this message in the profiler log:
This application pool (foo) is explicitly configured to be instrumented.
We see these DLLs loaded into the process (see image) but no other NR dlls are loaded:
No agent log is created and no errors indicate an issue with the config file.
When attempting to manually validate the config file we get:
element applicationPool: Schemas validity error : Element ‘{urn:newrelic-config}applicationPool’, attribute ‘instrument’: ‘TruE’ is not a valid value of the atomic type ‘xs:boolean’. test.config fails to validate
The text was updated successfully, but these errors were encountered: