Replies: 1 comment
-
@wzl-bxg - It is not a bug. Activity.DisplayName by default gets set to http method if the route information is not available. This is as per the specification Using the instrumentation library with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it a bug that the assignment of activity.DisplayName is changed from HttpRequest.Path to HttpRequest.Method when I use the netstandard2.0 version of OpenTelemetry.Instrumentation.AspNetCore, while in the older version before1.6 it was obtained from HttpRequest.Path?
When I use this library in my .NET Core 3.1 project, all exported activities have DisplayName set as Post and Get, which is not what I want.
before1.6:

1.7 and newer:

Beta Was this translation helpful? Give feedback.
All reactions