AnsweredAssumed Answered

String Truncation

Question asked by Nkota on Jul 30, 2012
Latest reply on Mar 20, 2014 by Hiko_Davis
Hi,

We have a custom pbd which is generating the below metrics.

adjustRoomCountsPageForm_adjustRoomCountTableId_10_rsrvtnLinkId
adjustRoomCountsPageForm_adjustRoomCountTableId_11_rsrvtnLinkId
adjustRoomCountsPageForm_adjustRoomCountTableId_12_rsrvtnLinkId
adjustRoomCountsPageForm_adjustRoomCountTableId_13_rsrvtnLinkId
...
...
pbd : TraceOneMethodWithParametersIfFlagged: xxxxxxxxxxxxxxxx *************** BlamePointTracer "xxxx|xxxxx|{classname}|{method}|{0}"

We have a requirement to keep the parameters but everything needs to be truncated after the 2nd underscore.

Can you guys suggest me how to group all these metrics as "adjustRoomCountsPageForm_adjustRoomCountTableId".

Thanks,
Nikhil

Outcomes