Skip to content
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

ERROR "Could not notify the extension" #6518

Open
necosta opened this issue Jan 18, 2024 · 3 comments
Open

ERROR "Could not notify the extension" #6518

necosta opened this issue Jan 18, 2024 · 3 comments
Assignees
Labels
tag: serverless Serverless support

Comments

@necosta
Copy link

necosta commented Jan 18, 2024

Seeing error:

ERROR datadog.trace.lambda.LambdaHandler - could not notify the extension as the lambda span is null or no sampling priority has been found

continuously showing on Datadog live filter.
Note that it does not seem to have side effects (we see tracing, spans, ...), but given its logged as ERROR, a deeper investigation would be appreciated.

Version:

  • dd-trace-java -> v1.27.0
  • datadog-lambda-extension -> v52
  • java -> v17

References:

@duncanista
Copy link

Hey @necosta, thanks for reaching us out – I'm from the Serverless APM team.

I'll make sure to track this with our team so we can do a more deep research and reproduce it.

In the meantime, would it be possible for you to share more information how you set up your Java handler?
You don't have to share any sensitive information. Anything that could help us get this same set up would be appreciated.

Thanks in advance!

@duncanista duncanista self-assigned this Jan 18, 2024
@duncanista duncanista added the tag: serverless Serverless support label Jan 18, 2024
@necosta
Copy link
Author

necosta commented Jan 23, 2024

Sure @duncanista , we have a simple setup with:

    "AWS_LAMBDA_EXEC_WRAPPER"    -> "/opt/datadog_wrapper",
    "DD_SITE"                    -> "datadoghq.com",
    "DD_PROFILING_ENABLED"       -> "true",
    "DD_TRACE_PROPAGATION_STYLE" -> "datadog,b3multi"

@necosta
Copy link
Author

necosta commented Jan 23, 2024

Also tested with java agent version 1.28.0-RC3, same outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: serverless Serverless support
Projects
None yet
Development

No branches or pull requests

2 participants