Combine with datadog #506
Replies: 4 comments 3 replies
-
I'm converting this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
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_HANDLER
env-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?
Beta Was this translation helpful? Give feedback.
All reactions