You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
This may be considered a bug in the agent. From the logs, we know that URI-based naming is taking place and then a subsequent instrumentation point changes the name to WebTransaction/ASP/.
bq. 2018-08-06 14:03:14,939 NewRelic FINEST: Setting transaction name to UriTransactionName{"Uri":"api/v3/users/detect","IsWeb":true} (priority 1) from WebTransactionName{"Category":"ASP","Name":"Integrated Pipeline","IsWeb":true} (priority 0)
bq. 2018-08-06 14:03:15,111 NewRelic FINEST: Setting transaction name to WebTransactionName{"Category":"ASP","Name":"","IsWeb":true} (priority 4) from UriTransactionName{"Uri":"api/v3/users/detect","IsWeb":true} (priority 1)
Expected Behavior
There is only one instrumentation point that uses priority 4 and that's our instrumentation for GetRouteData. This instrumentation point can be useful in some applications that are declaring their routes upon application startup using the ASP.NET routing RouteCollection.MapRoute method. Some applications (especially WebAPI apps) could use RouteCollection.MapRoute to define its routes but instead, use different ways of defining routes like attribute-based routing or convention-based routing. In apps like these GetRouteData is still invoked but the route at this instrumentation point is an empty string. When this happens, we set the transaction name after WebTransaction/ASP to an empty string. We probably should do something different here and this will require some research.
The text was updated successfully, but these errors were encountered:
Description
This may be considered a bug in the agent. From the logs, we know that URI-based naming is taking place and then a subsequent instrumentation point changes the name to WebTransaction/ASP/.
Expected Behavior
There is only one instrumentation point that uses priority 4 and that's our instrumentation for GetRouteData. This instrumentation point can be useful in some applications that are declaring their routes upon application startup using the ASP.NET routing RouteCollection.MapRoute method. Some applications (especially WebAPI apps) could use RouteCollection.MapRoute to define its routes but instead, use different ways of defining routes like attribute-based routing or convention-based routing. In apps like these GetRouteData is still invoked but the route at this instrumentation point is an empty string. When this happens, we set the transaction name after WebTransaction/ASP to an empty string. We probably should do something different here and this will require some research.
The text was updated successfully, but these errors were encountered: