Set sample rate per error type #3211
Unanswered
zsofiaserenyi
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @zsofiaserenyi, thanks for writing in, this is a good question. We have sampling mechanisms for three things, events, traces and profiles. For each, you can set a numerical sample rate. For traces/profiles, you can also set a custom block you can add arbitrary logic in where you could make such a decision (see |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using Sentry iOS SDK version
8.9.4
and I'm looking to transition fromCrashlytics
toSentry
. However, the quantity of custom errors (non-fatal errors) is quite high, making a direct 1:1 migration challenging. According to the information in the documentation, adjusting thesampleRate
seems to impact all error types uniformly.My goal is to receive notifications for all crashes without a percentage-based limitation, while still applying a sampling rate to the custom errors to manage their volume. Is there a method/best practice to accomplish this within the Sentry iOS SDK?🤔
Beta Was this translation helpful? Give feedback.
All reactions