-
Notifications
You must be signed in to change notification settings - Fork 174
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
HTTP client spans: how to represent operation name/route and how to break things #923
Comments
Discussed at SemConv SIG:
|
Do server and client HTTP span names have to be in the same format? Following up on the "HTTP client span names are not so useful" from the SemConv SIG, I think adding something like host to client side span name would make it more useful. Currently #675 suggests:
This is fine, but I think in reality
|
Based on the offline discussion with @trask:
So Between As a result, from HTTP semconv perspective, we'd like to use |
Breaking things was discussed at the 4/22 SemConv SIG:
|
Area(s)
area:http
Is your change request related to a problem? Please describe.
See the original discussion in #675 (comment)
Describe the solution you'd like
Option 1:
http.route
GET
->GET user/{id}
) - breakingOption 2:
url.template
- client route would not match server one, so it should probably be recorded with a different attributeGET
->GET user/{id}
) - breakingOption 3:
http.client.operation.name
- not necessarily a route, can be OpenAPI operation nameGET
->getUserById
) - breakingIdeally we want to emit the attribute on metrics by default since it would improve HTTP client metrics significantly in a small amount of cases when route is available.
The text was updated successfully, but these errors were encountered: