logfire icon indicating copy to clipboard operation
logfire copied to clipboard

AWS Lambda Integration

Open raunakdoesdev opened this issue 1 year ago • 3 comments

Description

Datadog gives me the following dashboard for AWS lambda invocations: CleanShot 2024-05-04 at 09 55 48@2x

It's very helpful for debugging issues with my lambda running out of time, having very high cold starts, or running out of memory.

I imagine a logfire span-esque visualization for the Lambda invocations. This, combined with the existing FastAPI integration would be godly. Would be able to see all of the logs I want in one place :)

The issue is the implementation for this may not be that easy. Datadog installs some kind of additional binary and a handler that wraps the default Lambda handler to make this work: https://docs.datadoghq.com/serverless/aws_lambda/installation/python/?tab=terraform

Best of luck and let me know if I can help with this in any way!

raunakdoesdev avatar May 04 '24 16:05 raunakdoesdev

Thanks so much, I'll discuss with the team.

samuelcolvin avatar May 04 '24 19:05 samuelcolvin