29 Jun 2022 09:21 AM - last edited on 29 May 2023 02:37 AM by MaciejNeumann
I would like to do a web request naming rule in order to use a variable in the name of the web request. I explain an example:
The following requests are similar - the difference between them is an identifier:
Is there any way to have both request grouped by Dynatrace in a web request called like:
thanks in advanced
Solved! Go to Solution.
Did you checked for this Doc page already?
Have you tried? If yes, let us know the rules you have used already, then we can provide some help.
Sure there is. Actually, there are multiple ways to do that.
The easiest and most flexible is to define your own request naming rule using placeholders to be universal - I guess the prefix/postfix may differ. See the request naming rules docs .
Another option is use the cleanup rules but they just remove IDs, they don't replace them.
The third option is to use the global request naming rules, which are especially handy if you have multiple services where this can happen. See my post PRO TIP - Global request naming for REST services in the tips section. You can use service tags to apply this naming rule just for services you need.
Thanks a lot. your solution Julius has worked properly!,