grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.79k stars 583 forks source link

Create lambda layer to send profiling data from a lambda function to a pyroscope server #1083

Closed petethepig closed 2 years ago

petethepig commented 2 years ago

AWS Lambda has this concept of layers. We should create a pyroscope layer that would allow people to relay data from lambdas to pyroscope.

I created a repo here

Rough plan

I haven't spent too much time researching lambda layers, but it seems to me that we could do something like:

Reference Materials

lizthegrey commented 2 years ago

oooh I am very keenly interested in this. however, discovering all currently running lambdas likely won't work; you'll want to push, not pull.

eh-am commented 2 years ago

Implemented here https://github.com/pyroscope-io/pyroscope-lambda-extension