Problem Statement
Most event capture will use the sampling rate for the client, however there are some events we consider high priority we want to always send. This would require a user defined function that allows use to set something on the event that we could check for by-passing the sampling rate.
Solution Brainstorm
Add a user defined function to ClientOptions that receives an event and checks if it qualifies for ignoring the configured sampling rate.
Have prepare_event check for user defined sampling override and check if sampling rate should be ignored.
Problem Statement
Most event capture will use the sampling rate for the client, however there are some events we consider high priority we want to always send. This would require a user defined function that allows use to set something on the event that we could check for by-passing the sampling rate.
Solution Brainstorm
Add a user defined function to
ClientOptionsthat receives an event and checks if it qualifies for ignoring the configured sampling rate.Have
prepare_eventcheck for user defined sampling override and check if sampling rate should be ignored.