DX Application Performance Management

 View Only
  • 1.  browser agent metrics dont display

    Posted Nov 24, 2017 11:12 AM

    Hi,

    i've installed DxC (and it's seen in the Investigator) and browser agent (snippet is injected into the html and seen in the browser), but the browser agent metrics dont show up in the APM.

    i've put the (java) introscope agent to debug logging mode, but dont see any information in the logs regarding the browser agent, when using the app, just in the beginning when the agent is loaded.

     

    what/where/how can i troubleshoot please? my issue is that actually i dont know what i should see and in which logs. thank you

     

     

    from the browser:

    <html>
    <head><script id="ca_eum_ba_ext" src="http://x.x.x.x:8090/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/extjs?agent=browser"></script>

    <script type="text/javascript" id="ca_eum_ba" src="http://x.x.x.x:8090/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/bajs?agent=browser" data-profileUrl="http://x.x.x.x:8090/api/1/urn:ca:tenantId:default-tenant/urn:ca:appId:default-app/profile?agent=browser" data-tenantID="default-tenant" data-appID="default-app" data-appKey="b0361800-4736-11e6-b8e5-bddc75280658"></script></head><body>

     

    from the agent logs:


    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables Auto Snippet Injection for Browser Agent (introscope.agent.browseragent.autoInjectionEnabled) set to "true"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.autoInjection.throttleResponseLimit) set to default value of "1000"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables head filter presence check for Browser Agent (introscope.agent.browseragent.checkHeadFilterPresence.enabled) set to default value of "true"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables tail filter presence check for Browser Agent (introscope.agent.browseragent.checkTailFilterPresence.enabled) set to default value of "true"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.autoInjection.snippet.maxSearchingLength) set to default value of "32768"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.searchingmethodhierarchy.max.depth) set to default value of "3"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables encoding support property for browser agent (introscope.agent.browseragent.contentencoding.enabled) set to default value of "false"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.instrumentclass.autoskip.depth) set to default value of "1"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables Response Cookie for Browser Agent (introscope.agent.browseragent.responseCookieEnabled) set to "true"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.responseCookie.expirationTime) set to default value of "3"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Configuration property (introscope.agent.browseragent.responseCookie.includeURLsRegex) set to ".*"
    11/24/17 11:52:45 AM CET [INFO] [IntroscopeAgent.Agent] Enables/Disables Sustainability Metrics for Browser Agent (introscope.agent.browseragent.sustainabilityMetrics.enabled) set to default value of "true"

     


    ec2/DigitalExperienceCollector-DxC-2.1-SNAPSHOT-2017_06_07_13_06/logs/systemMetrics.log:
    2017-11-24 16:46:12,317 [metrics-logger-reporter-thread-1] INFO systemMetrics - type=TIMER, name=com.ca.apm.cxc.integration.ws.rst.core.ProfileController.key, count=0, min=0.0, max=0.0, mean=0.0, stddev=0.0, median=0.0, p75=0.0, p95=0.0, p98=0.0, p99=0.0, p999=0.0, mean_rate=0.0, m1=0.0, m5=0.0, m15=0.0, rate_unit=events/second, duration_unit=milliseconds
    2017-11-24 16:46:12,317 [metrics-logger-reporter-thread-1] INFO systemMetrics - type=TIMER, name=com.ca.apm.cxc.integration.ws.rst.core.ProfileController.profile, count=44, min=0.042191, max=0.500768, mean=0.12734054545454546, stddev=0.12991082344236266, median=0.08985599999999999, p75=0.135102, p95=0.500768, p98=0.500768, p99=0.500768, p999=0.500768, mean_rate=2.284751624391253E-4, m1=0.0010222779128555373, m5=0.0019072283166965808, m15=9.22424950392928E-4, rate_unit=events/second, duration_unit=milliseconds



  • 2.  Re: browser agent metrics dont display
    Best Answer

    Broadcom Employee
    Posted Nov 26, 2017 10:14 PM

    Hi Stefan,

    There is some general advice here but no detail on log analysis

    Browser Metrics Do Not Appear - CA Experience Collector - CA Technologies Documentation 

     

    I have a working 10.5.2 java agent/DxC environment (DxC on port 8080) with agent DEBUG logging enabled and I also do not see any later references to browser agent after the startup. I am seeing the expected "Business Segment" node under the "DxC Agent" node. I note that on the DxC I can only find references to "Business Segment" in the .log files under "DxC-2.1/ec2/DigitalExperienceCollector-DxC-2.1-SNAPSHOT-2017_06_07_13_06/data/kafka-logs/analytics-0/"

    With DXC version 2.1 it looks like you are using 10.5.2?

    Are you seeing the expected "Business Segment" node under the "DxC Agent" node?

    In browser F12/Developer Tools->Network are you seeing successful postBrowserMetrics?

    Attaching my agent profile, log and default.snippet in case they may to highlight any agent side problem.

    Hope this is of some help.

     

    Regards,

     

    Lynn

    Attachment(s)

    zip
    IntroscopeAgent.log.zip   66 KB 1 version
    zip
    default.basnippet.zip   371 B 1 version


  • 3.  Re: browser agent metrics dont display

    Posted Nov 27, 2017 03:09 AM

    Hi Lynn,

    thank you for your helpful reply.

    yes, it's 10.5.2 APM/agent, but unfortunately neither postBrowserMetrics (in Developer Tools->Network) nor  "Business Segment" node under the "DxC Agent" node cant be seen/found.

    do you have some advice what the rootcause in this case could be? or what else to check to find it?

    thank you, stefan

     

     



  • 4.  Re: browser agent metrics dont display

    Posted Nov 27, 2017 06:00 AM

    Lynn,

    i've installed mathapp to be able to compare the output/config with you, but i cant see neither postBrowserMetrics (in Developer Tools->Network) nor  "Business Segment" node under the "DxC Agent".

    any idea what to compare/how to figure out the missing part from my installation.

    in addition, i noticed that i dont have either profile?agent=browser. where it is configured and loaded from please?

    thank you, stefan



  • 5.  Re: browser agent metrics dont display

    Posted Nov 27, 2017 06:31 AM

    sorry, i had chosen the JS tab instead of all. i can see the postBrowserMetrics now and it's failed because of incorrect IP. going to fix it and let you know. thank you