-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aspnet instrumentation zipkin exporter span name is router template #1782
Comments
when OnStartActivity |
I am having the same problem as @simhgd in an earlier version of ASP.NET . I am working around it like below in global.asax.cs (see OnStopActivity enrichment)
|
@simhgd If possible, could you add a couple of examples of the values you are seeing? In general, the spec is pretty clear about the names being low cardinality. Check out Semantic conventions for HTTP spans. It basically says incoming spans should be the generic route (eg /user/{userId} not /user/1234) and outgoing spans are even worse, usually "HTTP [METHOD]" because we don't have any template available. It does say we can add options to change the behavior, which we should do 😄 |
Question
Describe your environment.
.netfx 4.8
opentelemetry-dotnet 1.0.0-rc1.1
What are you trying to achieve?
current zipkin span name is router template
if use asp.net mvc default route template,
all span name is same, indistinguishable.
should it be "http.path" value?
Additional Context
The text was updated successfully, but these errors were encountered: