Skip to content

Trace span longer than invocation #10

@liveFreeOrCode

Description

@liveFreeOrCode

I don't know if this is supposed to be this way or not, but when I have my lambdas hooked up to the v8 extension my traces look something like this. This is with x-ray merging in place as well. The green and yellow trace spans are from xray, and everything in orange is from the datadog-lambda-extension

image

  1. Why are there varying span lengths for Invoke? (I assume this is just aws nonsense, and less of a concern than the next question)
  2. Why does the first span from datadog-lambda-extension go far beyond the invocation spans?

The lambda has the following layers:
image

with the following environment variables (api_key not shown):
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions