DX Application Performance Management

Expand all | Collapse all

Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)

Jump to Best Answer
  • 1.  Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)

    Posted 10-25-2017 08:08 PM

    Hello to All.

    I'm implementing an APM 10.5 with AXA (DXI SaaS), to capture the User Experience.

    In this step, I only want to insert the snippet directly using the Application Server (WebSphere) agent and capture the experiences to show it on AXA/DXI portal.

    At this moment, I configure the IntroscopeAgent.profile (activating browser agent) and the default.basnipppet with de AXA/DXI Web application definition.

    I restart the application server, use the customer application and checking the AXA portal, I’m note there is not any experience captured.

    Reviewing the 10.5 documentation, I note the configuration has some changes from the 10.3, but I found it confused with less real examples (my personal opinion).

    Has anyone did this configuration and share their experience with de configuration files?

    Regards,

    Guillermo



  • 2.  Re: Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)

    Posted 10-25-2017 08:21 PM

    Hi Guillermo,

    So you are also running APM in SaaS as well as AXA?

    This is a java agent you downloaded from the SaaS system?

    It sounds like you have on premise APM and DXI/AXA SaaS

    This check is still a good place to start:

    If you enable developer tools/F12 on browser is the javascript from the snippet injection visible?

    If not visible then there is a config problem and you can check ...

     

    Did you use agent installer and select the Browser Agent option or did you manually enable Browser Agent? If latter then something may be missing in the config.

    BrowserAgentExt.jar needs to be in AGENT_HOME/wily/cor/ext and these values are the main ones that need to be set in the agent profile

    introscope.agent.browseragent.autoInjectionEnabled=true

    introscope.agent.browseragent.autoInjection.appID=default

    introscope.agent.browseragent.autoInjection.default.snippetLocation=../config/default.basnippet

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*

     

    I have attached agent profile & DEBUG log from a Tomcat agent/Browser Agent I have working for corresponding "Web App" I defined in DXI using the generated snippet.

     

    Hope that helps

     

    Regards,

     

    Lynn

    Attachment(s)



  • 3.  Re: Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)

    Posted 10-26-2017 10:25 AM

    Hello Lynn,

    It’s correct, I’m using APM  OnPremise  and AXA/DXI SaaS

     

    The unique difference between your lines and my lines, is:

     

    You line

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*

    My line

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*/

     

    I used a Manual browser agent installation on Websphere.

    There are my configurations:

    At IntroscopeAgent.profile

    introscope.agent.browseragent.sustainabilityMetrics.enabled=true

    introscope.autoprobe.directivesFile=websphere-typical.pbl,browseragent.pbl,hotdeploy (recommended by the manual)

    introscope.agent.browseragent.autoInjectionEnabled=true

    introscope.agent.browseragent.autoInjection.appID=default

    introscope.agent.browseragent.autoInjection.default.snippetLocation=/opt/wily/core/config/default.basnippet

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*

    (changed using your recommendation)

     

    websphere-typical.pbl

    browseragent.pbl (not changed)

     

    default.basnippet

    COPY FROM THE FILE**<script type="text/javascript" id="ca_eum_ba" src="https://cloud.ca.com/mdo/v1/sdks/browser/BA.js" data-profileUrl="https://collector-axa.cloud.ca.com//api/1/urn:ca:tenantId:1511BF3E-6EE2-4D3E-A3F2-A9E4518634F9/urn:ca:appId:Banca-en-linea-personas/profile?agent=browser" data-tenantID="1511BF3E-6EE2-4D3E-A3F2-A9E4518634F9" data-appID="Banca-en-linea-personas" data-appKey="32bbc750-b9ac-11e7-b71f-15cad9d6c54d"></script>



  • 4.  Re: Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)
    Best Answer

    Posted 10-26-2017 10:59 AM

    Hello Lynn,

    It’s working using the following configuration:

     At IntroscopeAgent.profile

    introscope.agent.browseragent.sustainabilityMetrics.enabled=true

    introscope.autoprobe.directivesFile=websphere-typical.pbl,hotdeploy

    introscope.agent.browseragent.autoInjectionEnabled=true

    introscope.agent.browseragent.autoInjection.appID=default

    introscope.agent.browseragent.autoInjection.default.snippetLocation=/opt/wily/core/config/default.basnippet

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*

    Note:

    introscope.autoprobe.directivesFile=websphere-typical.pbl,browseragent.pbl,hotdeploy (NOT WORKING)

     

    Thanks

    Guillermo

     



  • 5.  Re: Installing Browser Agent (APM 10.5) with AXA (DXI SaaS)

    Posted 10-26-2017 05:45 PM

    Hi Guillermo,

    Good to hear that.

    So the only change you had to make was:
    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*/

    TO:

    introscope.agent.browseragent.autoInjection.default.includeURLsRegex=.*

     

    Thanks

     

    Lynn