-
Notifications
You must be signed in to change notification settings - Fork 214
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
Clarify FaaS span name #1858
Comments
cc @open-telemetry/lambda-extension-approvers |
I'd rather see a clear distinction rather than mixing FaaS and HTTP semantics if we'd mix the Either have it just the Personally I'd like to have the HTTP Server span semantics apply when |
As far as I see in the docs, using function name in span name is expressed with "SHOULD", not "MUST".
and here
So, this got me thinking like:
So in summary, for Lambda span names, my opinion is
|
Reading
semantic-conventions/docs/faas/faas-spans.md
Line 35 in fa19325
and
semantic-conventions/docs/faas/faas-spans.md
Line 276 in fa19325
It's not clear if the span name should be a function name or, according to HTTP semconv,
{method} {route}
.Given that function can be called over HTTP using different methods, it makes sense to use HTTP server span name, but presence of route is not guaranteed.
Perhaps, the best approach would be to report HTTP function span name as
{method} {function name}
and route, if available, would remain as an attribute.The text was updated successfully, but these errors were encountered: