open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
270 stars 174 forks source link

Lambda Span is not explicitly defined #237

Open rackerWard opened 1 year ago

rackerWard commented 1 year ago

In the https://github.com/open-telemetry/semantic-conventions/blob/main/docs/faas/aws-lambda.md API Gateway section, it describes the Lambda Span name and attributes to be assigned. The All triggers section does not introduce a Lambda span.

The specification should be more explicit in describing the part of the Lambda invocation that the span is created as the Lambda Invoke. AWS makes Lambda-specific spans that the invoke inherits in the X-Ray trace context. The span created in the invoke is not a root-level Lambda span.

Is this specification section describing the very first span that can be created during a Lambda invoke a Lambda span?

rackerWard commented 1 year ago

The SQS section references the function invocation span

joaopgrassi commented 8 months ago

This was closed by mistake by the stale bot. Re-opening