elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

Changes to some transaction fields for ELB-triggered Lambda functions #749

Closed trentm closed 1 year ago

trentm commented 1 year ago

This tweaks a few transaction fields for ELB-triggered Lambda functions.

In my draft impl for the Node.js APM agent I also added testing that:

% curl -i http://trentm-play-lb-to-lambda.us-west-2.elb.amazonaws.com/
HTTP/1.1 502 Bad Gateway
Server: awselb/2.0
Date: Thu, 26 Jan 2023 00:18:41 GMT
Content-Type: text/html
Content-Length: 122
Connection: keep-alive

<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>

I'm not sure if we want the spec to go into those details as well.

Checklist

/schedule 2023-02-02

apmmachine commented 1 year ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

#### Build stats * Start Time: 2023-01-30T05:00:00.028+0000 * Duration: 3 min 6 sec

trentm commented 1 year ago

https://github.com/elastic/apm-agent-nodejs/pull/3131 implemented these changes for Node.js, https://github.com/elastic/apm-agent-python/pull/1727 implemented these changes for Python, and no other APM agents have yet added ELB-triggered Lambda function support. So, no implementation issues need to be opened.