elastic / apm-nodejs-http-client

**Moved to elastic/apm-agent-nodejs.** A low-level Node.js HTTP client for communicating with the Elastic APM intake API
MIT License
21 stars 30 forks source link

feat: add support for Lambda data flushing #178

Closed trentm closed 2 years ago

trentm commented 2 years ago

This adds 'Client#lambdaStart()' and the 'lambdaEnd: true' option to 'Client#flush([opts,] [cb])' to support for flushing Lambda invocation tracing data and signaling the Elastic Lambda extension per spec. https://github.com/elastic/apm/blob/main/specs/agents/tracing-instrumentation-aws-lambda.md#data-flushing

Refs: https://github.com/elastic/apm-agent-nodejs/issues/2485

Checklist

apmmachine commented 2 years 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: 2022-03-04T00:58:23.109+0000 * Duration: 9 min 55 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 287 | | Skipped | 0 | | Total | 287 |

:robot: GitHub comments

To re-run your PR in the CI, just comment with:

trentm commented 2 years ago

elastic-apm-http-client@11.0.0 is published