cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Regex for enabling end-to-end tracing

tarun_kumar_aga
Organizer

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

2 REPLIES 2

tarun_kumar_aga
Organizer

I have tried with the below regex,but still it's not allowing.

api.manage.com(\/products-and-services[^$]+$|\/product-deployment[^$]+$)

techean
Dynatrace Champion
Dynatrace Champion

^(.*?\/)[^\/]++\/?$

 

Try using from above !

Did you tried skipping regex and explore using the {Service:WebContextRoot} placeholder?

KG

Featured Posts