03 Aug 2022 02:03 AM - last edited on 04 Aug 2022 03:12 PM by AgataWlodarczyk
I want to set up end-to-end tracing for serverless applications. As part of that, I need to provide the domain in the Dynatrace frontend settings.
My requests are in the below format and I want to match any requests as shown below.
api.manage.com/products-and-services/v1/products/en-US/2HNVR4HSMF2Z/
api.manage.com/product-deployments/v/products/en-US/2HNVR4HSMF2Z/
When I tested in regex 101 it worked with the below regex.
api.manage.com(\/products-and-services\/(.*)|\/product-deployment\/(.*))
But in Dynatrace it's not allowing with this regex. Can someone please help to fix this?
Thanks,
Tarun
03 Aug 2022 07:45 PM
I have tried with the below regex,but still it's not allowing.
api.manage.com(\/products-and-services[^$]+$|\/product-deployment[^$]+$)
05 Aug 2022 12:22 PM
^(.*?\/)[^\/]++\/?$
Try using from above !
Did you tried skipping regex and explore using the {Service:WebContextRoot} placeholder?