apm-agent-rum-js
apm-agent-rum-js copied to clipboard
User experience events seeing 400 after enabling distributed tracing
Hi,
Ever since we enabled distributed tracing options, we have started seeing these errors for every first event sent to rum endpoint. Subsequent events work fine.
Looks like there is an issue when sending UX (user experience) events when distributed tracing is enabled. We were able to verify the same via UX dashboard. It stopped seeing the events once we enabled distributed tracing.
app.js:50128 [Elastic APM] Failed sending events! Error: https://apm.endpoint.com/intake/v2/rum/events HTTP status: 400 decode error: data read error: v2.transactionRoot.Transaction: v2.transaction.Sampled: ReadBool: expect t or f,
at e._constructError (app.js:175:12)
at app.js:99:70
We are using "@elastic/apm-rum": "^5.16.0"
.
Any workaround for it?