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

fix: add missing methods to noop-transaction

Open lytc opened this issue 1 year ago • 0 comments

In the context of an AWS Lambda function wrapped with apm.lambda, if the APM agent hasn’t started yet, it will raise error like TypeError: trans.setFaas is not a function

Checklist

  • [x] Implement code
  • [ ] Add tests
  • [ ] Update TypeScript typings
  • [ ] Update documentation
  • [ ] Add CHANGELOG.asciidoc entry
  • [x] Commit message follows commit guidelines

lytc avatar Jun 21 '24 17:06 lytc