DX Application Performance Management

 View Only
Expand all | Collapse all

URL Details under Frontends

  • 1.  URL Details under Frontends

    Posted Nov 23, 2015 05:43 AM

    Team,

    Not sure from where to start with.

    Actually there are certain transactions say -

    https://XYZ.com/accounts

    https://XYZ.com/signon

    etc

     

    When I run the trace, under description of a trace, I get these values like '/accounts' OR '/signon' etc. But under frontends node in Inverstigtor, these are not getting displayed.

    Please suggest related configs to be done.

     

    Regards,

    Vaibhav



  • 2.  Re: URL Details under Frontends

    Posted Nov 23, 2015 06:06 AM

    I know that explicitly it could be brought using below changes in Agent config. But how to make wily capture those details automatically. ?

     

    introscope.agent.urlgroup.keys=default

    introscope.agent.urlgroup.group.default.pathprefix=*

    introscope.agent.urlgroup.group.default.format=Default



  • 3.  Re: URL Details under Frontends

    Posted Nov 23, 2015 01:37 PM

    No you have to configure URL grouping to get that information displayed under Frontends, there is no automatic metric generation as it could lead to metric explosion scenario.

     

    Regards,

    Kulbir.



  • 4.  Re: URL Details under Frontends

    Posted Nov 24, 2015 01:32 AM

    Thanks Kulbir for confirming.

    Second help on the same note needed is -

    I have only static URL's say as http://XYZ.com/accounts where URI will change but not dynamic one. So what would be the best configuration which will list out all transactions ?

     

    Regards,

    Vaibhav



  • 5.  Re: URL Details under Frontends
    Best Answer

    Posted Nov 24, 2015 04:00 AM

    Hi,

     

    https://support.ca.com/cadocs/0/CA%20Application%20Performance%20Management%209%206-ENU/Bookshelf_Files/HTML/APM--Java%20Agent%20Implementation%20Guide/index.htm?toc.htm?1479953.html?intcmp=searchresultclick&resultnum=2478

    introscope.agent.urlgroup.group.default.format={path_delimited:/:0:2}

     

    =>  This will give you everything between the first “/” character in the url and the second one.

     

    introscope.agent.urlgroup.group.default.format={path_delimited:/:0:999}

     

    => If you have more path levels, this will give you everything.

     

    Regs,

     

    Florian.



  • 6.  Re: URL Details under Frontends

    Posted Nov 27, 2015 07:04 AM

    Thanks Florian.

    But could you please re-type the format to be used ?

    For me its showing some non-identifiable characters. Could you please attach snapshot which are visible at your end ?

     

    Regards,

    Vaibhav



  • 7.  Re: URL Details under Frontends

    Posted Nov 27, 2015 07:49 AM

    Hi Vaibhav,

     

    I've just updated my previous post with the entries. Sorry for the inconvenience, I posted my reply via email, it seems it doesn't like stuff beween {}.

     

    Regs,

     

    Florian.



  • 8.  Re: URL Details under Frontends

    Posted Nov 29, 2015 09:58 AM

    This really helps



  • 9.  Re: URL Details under Frontends

    Posted Dec 08, 2015 07:32 AM

    Florian_Cheval
    One more help required, I see five basic metrics of blamepointtracer is coming under URL's.

     

    Is there a simple way to bring only response time metric out of all ?

     

    Regards,

    Vaibhav



  • 10.  Re: URL Details under Frontends

    Posted Dec 08, 2015 09:14 AM

    Hi Vaibhav,

     

    No, there are unfortunately no easy way to show only the response time metric.

     

    To do that you would have to edit the PBDs and change all lines looking like this:

     

    SetTracerClassMapping: ApacheHTTPCommonsClientDetailTracer com.wily.introscope.agent.trace.backend.http.tracer.BaseAggregatorHttpBackendTracer com.wily.introscope.probebuilder.validate.ResourceNameValidator

     

    Into:

     

    SetTracerClassMapping: ApacheHTTPCommonsClientDetailTracer com.wily.introscope.agent.trace.hc2.MethodTimer com.wily.introscope.probebuilder.validate.MetricNameValidator

    SetTracerParameter: useblame true

     

    And then you would have to change lines such as:

     

    TraceOneMethodWithParametersIfFlagged: ApacheHTTPClientBackend executeMethod(Lorg/apache/commons/httpclient/HostConfiguration;Lorg/apache/commons/httpclient/HttpMethod;Lorg/apache/commons/httpclient/HttpState;)I; ApacheHTTPCommonsClientDetailTracer "Backends|WebService at //|Paths|" Into TraceOneMethodWithParametersIfFlagged: ApacheHTTPClientBackend executeMethod(Lorg/apache/commons/httpclient/HostConfiguration;Lorg/apache/commons/httpclient/HttpMethod;Lorg/apache/commons/httpclient/HttpState;)I; ApacheHTTPCommonsClientDetailTracer "Backends|WebService at _//_|Paths|:Average Response Time (ms)"

     

     

    And you would also have to comment out all lines ending with “:Errors Per Interval”

     

    So it’s possible, but not very easy, and will be a challenge to maintain in the long run as you would basically have to redo your changes everytime you upgrade.

     

    Regs,

     

    Florian.



  • 11.  Re: URL Details under Frontends

    Posted Dec 22, 2015 12:38 PM

    Hi Florian,

    Need one more help.

     

    Could you please help me to exclude one URI from the rest of all ?

    Actually I have been using the below syntax to get URL details as required.

    introscope.agent.urlgroup.group.default.format={path_delimited:/:0:4}

     

    I need url's which are satisfying above condition. But there are certain URL's which are generating random no.s (or say Account No.s) as part of URI making it dynamic.

    As a result, I am getting too many metrics under URL.

     

    To elaborate, consider I am getting below scenario -

    1. /test/alpha/123

    2. /test/alpha/1234

    3. /test/alpha/123456

    4. /beta/check

    5. /gamma/check2/check3

    etc

     

    So currently my requirement is to get (4), (5) and "/test/alpha" (excluding dynamic URI)under same frontend.

     

    Could you please throw some light on this ?

     

    Regards,

    vaibhav



  • 12.  Re: URL Details under Frontends

    Posted Dec 23, 2015 06:59 AM

    Hi Team,

     

    Any help ?

     

    regards,

    vaibhav



  • 13.  Re: URL Details under Frontends

    Posted Dec 29, 2015 04:37 AM

    Hi Vaibhav,

     

    As you have found out, you will not be able do this with just one urlgroup. You will need to create several urlgroups to do what you want.

     

    Regs,

     

    Florian.



  • 14.  Re: URL Details under Frontends

    Broadcom Employee
    Posted Jul 30, 2018 03:41 PM

    To be a bit more specific..

     

    In the wily/core/config/IntroscopeAgent.profile

     

    Replace these lines..

     

    introscope.agent.urlgroup.keys=default

    introscope.agent.urlgroup.group.default.pathprefix=*

    introscope.agent.urlgroup.group.default.format=Default

     

    With these lines…

     

    introscope.agent.urlgroup.keys=default

    introscope.agent.urlgroup.group.default.pathprefix=*

    introscope.agent.urlgroup.group.default.format={path_delimited:/:0:5}

     

    The 0:5 counts starting from zero and includes the slashes..

     

    so /unfit/home/mypage.html

    Would give URL grouping /unfit/home/mypage.html for 0:5

    and

    /unfit/home for 0:3



  • 15.  Re: URL Details under Frontends

    Broadcom Employee
    Posted Sep 14, 2018 01:22 PM

    With 10.7 there is now also a clamp parameter that will need adjusting.

     

    introscope.agent.urlgroup.keys=default

    introscope.agent.urlgroup.group.default.pathprefix=*

    introscope.agent.{path_delimited:/:0:5}.group.default.format={path_delimited:/:0:5}

    introscope.agent.urlgroup.frontend.url.clamp=5

     

    This will need to be increased to the number of URL groups that you want to collect.



  • 16.  Re: URL Details under Frontends

    Broadcom Employee
    Posted Nov 20, 2018 04:40 AM

    Interesting conversation. Useful information, Thank You all.