Combine with datadog #506
Replies: 7 comments 66 replies
|
I'm converting this into a discussion. |
|
With Lambda Web Adapter, the app runs as a standalone web server in Lambda. So for monitoring, it should be monitored as a web server. Please consult Datadog docs for how to monitor a web server. One thing to note for tracing: if you want to capture x-ray traces, LWA forwards the x-ray trace id in the http header 'X-Amzn-Trace-Id', which can be extracted and used for tracing. |
|
Hey @KnisterPeter - thanks for opening this discussion. (Thanks for the ping @bnusunny!) We have some work to do on our end to support this project. Our instrumentation mostly expects the full Lambda payload as a struct in basically each language, so it's not super straightforward. We're prioritizing this work soon and I can update folks when it's ready. Thanks! |
|
@bnusunny We'll probably need to proxy the Lambda Runtime API environment variable, but since wrapper scripts only apply to the function process (not other extensions), we couldn't do it automatically. Would you merge a PR which honors an |
|
This PR has the change to support Datadog |
|
The support for Datadog is going to be released soon. |
|
@alexgallotta It seems that it's not working with the lambda function-url |
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
we would like to integrate the lambda-adapter with a datadog agent.
According to their docs (https://docs.datadoghq.com/serverless/aws_lambda/installation/nodejs/?tab=containerimage) we have to set the
DD_LAMBDA_HANDLERenv-var to the original handler.When using the lambda-adapter, there is no real handler, can you give guidance on what to do in this case?
All reactions