getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.16k stars 435 forks source link

Log a warning when rate limiting is active #3817

Open markushi opened 1 week ago

markushi commented 1 week ago

Description

Whe should log this as an warning instead of info: https://github.com/getsentry/sentry-java/blob/285450bbbbbd2f1769481620d5a78abd919bd9a9/sentry/src/main/java/io/sentry/transport/RateLimiter.java#L80

markushi commented 1 week ago

Let's double check if we log warning in non-debug mode too (and check what other SDKs are doing).