-
Notifications
You must be signed in to change notification settings - Fork 888
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
Span name for http server spans should include http.method. #2998
Comments
I support this proposal as REST architectures rely on the verb ( |
I'm also supportive of this change. |
if we make this change, does it makes sense to also change the fallback (when there's no this would have the nice symmetry:
|
I support this change too. It also happens many times that the route is |
👍🏼 👍🏼 👍🏼 in favor! |
Implements open-telemetry/opentelemetry-specification#2998 --------- Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
We consider faas handlers servers, but typically they use handler name as span name. How does this specification apply to faas?
OR
I'm currently working on open-telemetry/opentelemetry-python-contrib#1757 and this is something I came across when working on python aws-lambda instrumentation. I would really appreciate clarification in this matter. |
The term "handler name" for faas is ambiguous, do you mean the name of the handler method in code or the logical FaaS function name? Also, what is faas.invocation_name? In general, I think the span name is sometimes not 100% clear and this is one such case. I think either the FaaS conventions or the HTTP conventions, if applicable, are valid. In doubt, I would stick to the FaaS conventions, since that is probably the more natural implementation. |
I meant It make sense to apply FaaS conventions in those cases. Thanks! |
@macieyng if there's still an issue/concern, can you open a new issue so it doesn't get lost? thx |
Current spec defines the span name as the route, for example,
/users/:userID?
.But having the
http.method
in the span name helps a lot, imo:GET /users/:userID?
.Prompted by open-telemetry/opentelemetry-go-contrib#3040
The text was updated successfully, but these errors were encountered: