apm-agent-dotnet icon indicating copy to clipboard operation
apm-agent-dotnet copied to clipboard

[META 352] AWS Lambda support

Open AlexanderWert opened this issue 3 years ago • 6 comments

Meta issue

  • https://github.com/elastic/apm/issues/352

Description

Follow the description on the AWS lambda agent spec.

Related

  • #518
  • #288

AlexanderWert avatar Jul 25 '22 12:07 AlexanderWert

Just checking to see if this ticket is on the radar for any future updates.
It is just odd to see support for Node, Python & Java while the .NET one does not support Lambdas at all. (Unless there is a workaround I am not seeing)

Thanks!

Chompetto avatar Sep 19 '22 19:09 Chompetto

Hi @Chompetto

yes, it's definitely on our radar. We are aware that the .NET Agent is behind the other agents in terms of lambda support, and we definitely want to catch up.

There is no ETA at this point, but you can watch progress on this issue.

gregkalapos avatar Sep 21 '22 15:09 gregkalapos

It's been over a year since the last reply in this thread. Are there any plans to add this support?

Also, is there any workaround for enabling lambda support? The minimum I need is to redirect the logs to the apm server.

jonatanzazula avatar Oct 28 '23 15:10 jonatanzazula

@jonatanzazula I had a small middleware workaround that forced the elastic queue to be processed at the end of every request. Required some reflection I believe since the queue was internal, which wasn't optimal. This was a year ago. Just tossing my workaround out there in the chance or helps at all.

Chompetto avatar Oct 30 '23 23:10 Chompetto

Any update on this? We're using dotnet Lambda's for several components in our stack and need this to provide observability.

jamesbuddrige avatar Dec 03 '23 11:12 jamesbuddrige

@gregkalapos Do you perhaps know if there are any intentions to implement and when this agent will be available?

jonatanzazula avatar Jan 10 '24 18:01 jonatanzazula

Any updates on this support? @gregkalapos Thanks

Chompetto avatar Mar 06 '24 16:03 Chompetto

We discussed this internally and our conclusion on AWS lambda support is the following:

  • Since this issue got created we prioritized OTel support, specifically the OTel APM Agent over this APM Agent
  • Implementing (and properly testing) AWS Lambda for this agent would be significant work
  • Therefore we suggest OTel for AWS Lambda in .NET
  • If the support for AWS Lambda in the OTel .NET SDK/Agent is not good enough we'd be happy to look into improving that later.

Closing this issue with this.

gregkalapos avatar Mar 11 '24 14:03 gregkalapos