-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sentry-sidekiq throwing ActiveJob::SerializationError #1790
Comments
@modosc Thanks for reporting this. I think it's caused by the use of
I can tell you that it's not necessary anymore. The SDK now has its own background worker that'll discard unsent/overflown events without interrupting/delaying the main request. On the contrary, using |
aparently today was the wrong day to make that change:
i don't think this is a reasonable way forward. |
Status Also, if you can switch to debug level for logging, it should tell you what info was oversized and caused the error. You can partially switch it just for SDK with: Sentry.init do |config|
# assign a custom logger so you don't accidentally change the Rails app's log level as well
config.logger = Logger.new($stdout) # or whatever log source you have
config.logger.level = :debug
end The output should look like this:
|
i will look at this but again - this is very surprising behavior. |
also all the docs say 429 is quota exceeded? https://docs.sentry.io/product/accounts/quotas/ but we aren't listed as being over quota. i tried filing a support ticket as well. |
Sorry my memory screwed my up 🤦♂️
So in your case, the events are being rate-limited because high volume. That's actually a valid behavior if your application is seeing a high-rate of exceptions. And the reason you only see it after |
BTW, the SDK will automatically rate-limit events once it received the |
ok thanks. |
Issue Description
same as #1585
we are seeing these entries in our logs (~3k in the last week):
i realize there's a theoretical solution here but somehow it's not working correctly.
Reproduction Steps
we don't have a reproducible case - this is a private company's repo.
Expected Behavior
sending errors should work
Actual Behavior
we are losing errors.
Ruby Version
3.1.1
SDK Version
5.2.1
Integration and Its Version
No response
Sentry Config
The text was updated successfully, but these errors were encountered: