Problem Statement
At least, I couldn't find a way to do it.
I think that if a feedback event is sampled according with the probability set by replaysSessionSampleRate then the corresponding replay will be sent, but I'm not sure.
Even if so, it would be great if replays could be explicitly sent with every single feedback.
Solution Brainstorm
So far, the only solution that doesn't rely on private API that I can think of is turning user feedback into exceptions and reporting those instead. But that requires replaysOnErrorSampleRate to be set to 1, and even though I have it set to that value, some other people might not but might still like to receive a replay on every feedback.
Perhaps, there should be a third sample rate parameter, something like replaysUserFeedbackSampleRate.
Problem Statement
At least, I couldn't find a way to do it.
I think that if a feedback event is sampled according with the probability set by
replaysSessionSampleRatethen the corresponding replay will be sent, but I'm not sure.Even if so, it would be great if replays could be explicitly sent with every single feedback.
Solution Brainstorm
So far, the only solution that doesn't rely on private API that I can think of is turning user feedback into exceptions and reporting those instead. But that requires
replaysOnErrorSampleRateto be set to 1, and even though I have it set to that value, some other people might not but might still like to receive a replay on every feedback.Perhaps, there should be a third sample rate parameter, something like
replaysUserFeedbackSampleRate.