URL grouping not working as expected - string with number in it not being matched
search cancel

URL grouping not working as expected - string with number in it not being matched

book

Article ID: 235524

calendar_today

Updated On:

Products

DX Application Performance Management CA Application Performance Management (APM / Wily / Introscope) CA Application Performance Management Agent (APM / Wily / Introscope) DX APM SaaS

Issue/Introduction

We have defined a URL grouping parameter in the agent profile but this is not working as expected


introscope.agent.urlgroup.group.GenericV3.pathprefix=/mywebservice/SOAP/GenericV3/Services*
introscope.agent.urlgroup.group.GenericV3.format=GenericV3

 

The string is not being matched and the URL drops in to the default group

 

Environment

Release : 21.3

Component : Introscope

Cause

The match is defined has GenericV3 in the string but the pre-processor is changing that the GenericV{number} so as that is not a matched pattern drops into default.

 

Resolution

Disabling that part of the preprocessor by commenting the following property

introscope.agent.urlgroup.preprocessor.path.2=s/\\/([a-zA-Z_]*)[0-9\\.-]+(?\=\\/|$)/\\/$1{number}/g

allowed the expected match to be made.