More on introscope.agent.browseragent.autoInjection.deep.check

Document ID : KB000117839
Last Modified Date : 18/10/2018
Show Technical Document Details
Question:
Can you give me more details on the agent setting introscope.agent.browseragent.autoInjection.deep.check?
Environment:
APM 10.7
Answer:
introscope.agent.browseragent.autoInjection.deep.check enables and disables automatic snippet injection deep searching when the content length is not set in the response.This is useful when doing transfer-encoding instead of content-encoding. See  https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding  for more details.
 

When FALSE, the Java agent checks the snippet injection location in individual response packet.

When TRUE, the Java agent checks the snippet injection location between the multiple response packets.

Values: TRUE/FALSE

Default: FALSE

Additional Information:
Enable if seeing this message with Browser Agent TRACE/DEBUG logging enabled.

When the "introscope.agent.browseragent.autoInjection.deep.check" property is set to false, but the Java Agent can't find the snippet injection in the resources when content-length is not set.

Agent will log the message to suggest that the user enable the property.

[WARN] [IntroscopeAgent.BrowserAgent] Please enable the introscope.agent.browseragent.autoInjection.deep.check property if the auto snippet injection is not working.
 
This will help in adding the browser auto-injection snippet to teh response header.