Description
Problem Statement
When tracesSampleRate
is used, traces may not be included with the error. When working on a real world™ application, the operator may be incentivized to greatly reduce sample rate to prevent clutter and cost overrun. At the same time, traces may prove useful for analyzing the errors.
Solution Brainstorm
Similar concern has already been raised in #10812, for that particular use case, "Session Replay" was a viable solution, the issue was closed as completed. However, JavaScript SDK can also be used in an environment in which Session Replay is not viable - eg. in node.js runtime.
From the discussion in the mentioned issue I understand current architecture decides whether to keep or discard the trace at the head. Perhaps this could be re-evaluated, especially as v9 already seem to include some minor changes to sampling.
The goal with this Feature Request is to keep track of the idea, especially as the competition has introduced similar capability per #10812 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status