Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/serverless
SDK Version
6.19.2
Framework Version
6.19.2
Link to Sentry event
No response
Steps to Reproduce
We have a project in which we happen to be over the transaction limit.
- Call
GCPFunction.wrapHttpFunction
around any function. - Set
tracesSampleRate: 1.0
See some errors like this show up in the logs:
"severity":"ERROR","message":"Sentry Logger [Error]: Error while sending event: SentryError: HTTP Error (429)
at new SentryError (node_modules/@sentry/utils/dist/error.js:9:28)
at ClientRequest.<anonymous> (node_modules/@sentry/node/dist/transports/base/index.js:213:44)
at Object.onceWrapper (events.js:421:26)
at ClientRequest.emit (events.js:314:20)
at ClientRequest.EventEmitter.emit (domain.js:506:15)
at HTTPParser.parserOnIncomingClient (_http_client.js:601:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:122:17)
at TLSSocket.socketOnData (_http_client.js:474:22)
at TLSSocket.emit (events.js:314:20)
at TLSSocket.EventEmitter.emit (domain.js:506:15)"}
Expected Result
Transactions / traces do not send, but functions continue to operate as expected.
Actual Result
Function times out.