question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[META 352] AWS Lambda support

See original GitHub issue

I’m currently building a serverless architecture and was hoping to use elastic cloud as a one-stop repository for logs and metrics. Per elastic/apm-agent-python#320 it seems that Lambda is not a supported environment for Elastic-APM.

I’d be happy to put in some work to make this happen, but I’m not entirely clear on where the problems lie. Is there a reason why this is more complex than calling collect on the metric repository and flush on the transport?

If I had a MetricRegistry with a collect_interval of 0ms, and an unthreaded transport that flushed only on demand, I could flush explicitly at the end of the lambda invocation. It would be simple to extend that to a decorator that flushed on exit from the wrapped function. Is this an enormous simplification of the requirements?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
basepicommented, Jul 1, 2021

We’re going to try to get an MVP of this going soon – it will not be using lambda extensions initially, but will just be sending directly to the configured APM server from the lambda function itself. We know this will not be useful in all cases as the overhead will be dramatic, especially for short-running lambda functions. But it will be a first step toward a better implementation using extensions.

0reactions
basepicommented, Oct 7, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

[META 352] AWS Lambda support · Issue #2156 - GitHub
An initial To Do list for the Node.js Agent's Lambda support. DONE: Promise instrumentation will be handled by leaving instrumentation of ...
Read more >
Lambda runtimes - AWS Documentation
Learn about the languages that Lambda supports through runtimes. ... The runtime is paired with one of the Amazon Linux distributions.
Read more >
POST PATCH* THE BEST META 352 CUSTOM TACTICS ...
Viperlization's video! : https://www.youtube.com/watch?v=9LT6phIWzm0Leave a like if you enjoyed the video! Subscribe!
Read more >
3-5-2 Best Meta Tactics Post Patch* I Mean... It Has ... - YouTube
It Has Always Been Meta From Day One - FIFA ... See more information below: FIFA SCHOOL [PAID SERVICE ] ➔ https://patreon.com/NealGuides ...
Read more >
Use tags to help organize and find your data
We make some important attributes available as tags such as app metadata like app name and language, and host metadata like host name...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found