newrelic / newrelic-java-micronaut-http

New Relic Java Agent instrumentation for HTTP components of Micronaut
Apache License 2.0
1 stars 5 forks source link

fix: replaced regex pattern transaction name with url template format #6

Closed haihongren closed 1 year ago

haihongren commented 1 year ago

Updated the transaction naming for url routing.

Here is an example.

Replaced:

Original Transaction Name WebTransaction/Routing/\Q/\E(([^\/\?#&;+]+?))\Q/health\E

With:

New Transaction Name WebTransaction/Routing/{-admin}/health