handle no value in parameters in URL grouping configuration
search cancel

handle no value in parameters in URL grouping configuration

book

Article ID: 423933

calendar_today

Updated On:

Products

DX SaaS

Issue/Introduction

how to handle no value in URL grouping configuration? Example URLs:

 
http://<hostname>/A/execute1/report?get=generateReport&format=XLS
reports metrics under  generateReport_XLS
 
http://<hostname>/A/execute1/report?get=generateReport&format=PDF
reports metrics under  generateReport_PDF
 
http://<hostname>/A/execute1/report?get=Export&workflowId=*
reports metrics under  Export_<empty>
 
Needs the APM Agent to report URL frontend metrics like this:
report metrics under  Export instead of Export_<empty>
 

Resolution

In agent profile (IntroscopeAgent.profile) add/update the following:

introscope.agent.urlgroup.keys=report3,report4,default
introscope.agent.urlgroup.group.report3.pathprefix=/A/execute1/report?get=generateReport
introscope.agent.urlgroup.group.report3.format={query_param:dispatch}_{query_param:format}
introscope.agent.urlgroup.group.report4.pathprefix=/A/execute1/report?get=Export
introscope.agent.urlgroup.group.report4.format={query_param:dispatch}
introscope.agent.urlgroup.group.default.pathprefix=*
introscope.agent.urlgroup.group.default.format={path_delimited:/:0:5}