Open the IntroscopeAgent profile, reconfigure your frontends urlgroupings as below:
introscope.agent.urlgroup.keys=javascript,png,jpg,groupuserdata,default
introscope.agent.urlgroup.group.javascript.pathprefix=*.js
introscope.agent.urlgroup.group.javascript.format=/javascript
introscope.agent.urlgroup.group.png.pathprefix=*.png
introscope.agent.urlgroup.group.png.format=/images
introscope.agent.urlgroup.group.jpg.pathprefix=*.jpg
introscope.agent.urlgroup.group.jpg.format=/images
introscope.agent.urlgroup.group.groupuserdata.pathprefix=/portal/user/
introscope.agent.urlgroup.group.groupuserdata.format=/portal/*/{path_delimited:/:11:14}
introscope.agent.urlgroup.group.default.pathprefix=*
introscope.agent.urlgroup.group.default.format=Default
Explanation:
- javascript group will instruct the agent to include all *.js urls under a node “/javascript”
- png and jpg groups will include all *.png and *.jpg urls under a node “/images”
- groupuserdata group will include all urls that start with “/portal/user/” and report them in the format : “/portal/*/<your method>”
- {path_delimited:/:11:14} : the delimiter character in this example is the forward slash (/), the segments as delimited by the slash character, here is an example how to agent split the urls:
0 = /
1 = portal
2 = /
3 = user
4 = /
5 = ID
6 = /
7 = v__weiriwejsadjfaskdlf
8 = /
9 = -
10 = /
11 = vehicle-info
12 = /
13 = get-vehicle-details
Here is a screenshot of the result after applying the changes:
