@@ -336,12 +336,14 @@ public final class io/sentry/ExternalOptions {
336
336
public fun getTracePropagationTargets ()Ljava/util/List;
337
337
public fun getTracesSampleRate ()Ljava/lang/Double;
338
338
public fun getTracingOrigins ()Ljava/util/List;
339
+ public fun isEnableBackpressureHandling ()Ljava/lang/Boolean;
339
340
public fun isEnablePrettySerializationOutput ()Ljava/lang/Boolean;
340
341
public fun isEnabled ()Ljava/lang/Boolean;
341
342
public fun isSendModules ()Ljava/lang/Boolean;
342
343
public fun setDebug (Ljava/lang/Boolean;)V
343
344
public fun setDist (Ljava/lang/String;)V
344
345
public fun setDsn (Ljava/lang/String;)V
346
+ public fun setEnableBackpressureHandling (Ljava/lang/Boolean;)V
345
347
public fun setEnableDeduplication (Ljava/lang/Boolean;)V
346
348
public fun setEnablePrettySerializationOutput (Ljava/lang/Boolean;)V
347
349
public fun setEnableTracing (Ljava/lang/Boolean;)V
@@ -435,6 +437,7 @@ public final class io/sentry/Hub : io/sentry/IHub {
435
437
public fun getTransaction ()Lio/sentry/ITransaction;
436
438
public fun isCrashedLastRun ()Ljava/lang/Boolean;
437
439
public fun isEnabled ()Z
440
+ public fun isHealthy ()Z
438
441
public fun popScope ()V
439
442
public fun pushScope ()V
440
443
public fun removeExtra (Ljava/lang/String;)V
@@ -485,6 +488,7 @@ public final class io/sentry/HubAdapter : io/sentry/IHub {
485
488
public fun getTransaction ()Lio/sentry/ITransaction;
486
489
public fun isCrashedLastRun ()Ljava/lang/Boolean;
487
490
public fun isEnabled ()Z
491
+ public fun isHealthy ()Z
488
492
public fun popScope ()V
489
493
public fun pushScope ()V
490
494
public fun removeExtra (Ljava/lang/String;)V
@@ -578,6 +582,7 @@ public abstract interface class io/sentry/IHub {
578
582
public abstract fun getTransaction ()Lio/sentry/ITransaction;
579
583
public abstract fun isCrashedLastRun ()Ljava/lang/Boolean;
580
584
public abstract fun isEnabled ()Z
585
+ public abstract fun isHealthy ()Z
581
586
public abstract fun popScope ()V
582
587
public abstract fun pushScope ()V
583
588
public abstract fun removeExtra (Ljava/lang/String;)V
@@ -718,6 +723,7 @@ public abstract interface class io/sentry/ISentryClient {
718
723
public abstract fun flush (J)V
719
724
public abstract fun getRateLimiter ()Lio/sentry/transport/RateLimiter;
720
725
public abstract fun isEnabled ()Z
726
+ public fun isHealthy ()Z
721
727
}
722
728
723
729
public abstract interface class io/sentry/ISentryExecutorService {
@@ -1119,6 +1125,7 @@ public final class io/sentry/NoOpHub : io/sentry/IHub {
1119
1125
public fun getTransaction ()Lio/sentry/ITransaction;
1120
1126
public fun isCrashedLastRun ()Ljava/lang/Boolean;
1121
1127
public fun isEnabled ()Z
1128
+ public fun isHealthy ()Z
1122
1129
public fun popScope ()V
1123
1130
public fun pushScope ()V
1124
1131
public fun removeExtra (Ljava/lang/String;)V
@@ -1665,6 +1672,7 @@ public final class io/sentry/Sentry {
1665
1672
public static fun init (Ljava/lang/String;)V
1666
1673
public static fun isCrashedLastRun ()Ljava/lang/Boolean;
1667
1674
public static fun isEnabled ()Z
1675
+ public static fun isHealthy ()Z
1668
1676
public static fun popScope ()V
1669
1677
public static fun pushScope ()V
1670
1678
public static fun removeExtra (Ljava/lang/String;)V
@@ -1781,6 +1789,7 @@ public final class io/sentry/SentryClient : io/sentry/ISentryClient {
1781
1789
public fun flush (J)V
1782
1790
public fun getRateLimiter ()Lio/sentry/transport/RateLimiter;
1783
1791
public fun isEnabled ()Z
1792
+ public fun isHealthy ()Z
1784
1793
}
1785
1794
1786
1795
public final class io/sentry/SentryCrashLastRunState {
@@ -2078,6 +2087,7 @@ public class io/sentry/SentryOptions {
2078
2087
public fun addOptionsObserver (Lio/sentry/IOptionsObserver;)V
2079
2088
public fun addScopeObserver (Lio/sentry/IScopeObserver;)V
2080
2089
public fun addTracingOrigin (Ljava/lang/String;)V
2090
+ public fun getBackpressureMonitor ()Lio/sentry/backpressure/IBackpressureMonitor;
2081
2091
public fun getBeforeBreadcrumb ()Lio/sentry/SentryOptions$BeforeBreadcrumbCallback;
2082
2092
public fun getBeforeSend ()Lio/sentry/SentryOptions$BeforeSendCallback;
2083
2093
public fun getBeforeSendTransaction ()Lio/sentry/SentryOptions$BeforeSendTransactionCallback;
@@ -2156,6 +2166,7 @@ public class io/sentry/SentryOptions {
2156
2166
public fun isAttachThreads ()Z
2157
2167
public fun isDebug ()Z
2158
2168
public fun isEnableAutoSessionTracking ()Z
2169
+ public fun isEnableBackpressureHandling ()Z
2159
2170
public fun isEnableDeduplication ()Z
2160
2171
public fun isEnableExternalConfiguration ()Z
2161
2172
public fun isEnablePrettySerializationOutput ()Z
@@ -2177,6 +2188,7 @@ public class io/sentry/SentryOptions {
2177
2188
public fun setAttachServerName (Z)V
2178
2189
public fun setAttachStacktrace (Z)V
2179
2190
public fun setAttachThreads (Z)V
2191
+ public fun setBackpressureMonitor (Lio/sentry/backpressure/IBackpressureMonitor;)V
2180
2192
public fun setBeforeBreadcrumb (Lio/sentry/SentryOptions$BeforeBreadcrumbCallback;)V
2181
2193
public fun setBeforeSend (Lio/sentry/SentryOptions$BeforeSendCallback;)V
2182
2194
public fun setBeforeSendTransaction (Lio/sentry/SentryOptions$BeforeSendTransactionCallback;)V
@@ -2191,6 +2203,7 @@ public class io/sentry/SentryOptions {
2191
2203
public fun setDistinctId (Ljava/lang/String;)V
2192
2204
public fun setDsn (Ljava/lang/String;)V
2193
2205
public fun setEnableAutoSessionTracking (Z)V
2206
+ public fun setEnableBackpressureHandling (Z)V
2194
2207
public fun setEnableDeduplication (Z)V
2195
2208
public fun setEnableExternalConfiguration (Z)V
2196
2209
public fun setEnablePrettySerializationOutput (Z)V
@@ -2824,6 +2837,24 @@ public final class io/sentry/UserFeedback$JsonKeys {
2824
2837
public fun <init> ()V
2825
2838
}
2826
2839
2840
+ public final class io/sentry/backpressure/BackpressureMonitor : io/sentry/backpressure/IBackpressureMonitor, java/lang/Runnable {
2841
+ public fun <init> (Lio/sentry/SentryOptions;Lio/sentry/IHub;)V
2842
+ public fun getDownsampleFactor ()I
2843
+ public fun run ()V
2844
+ public fun start ()V
2845
+ }
2846
+
2847
+ public abstract interface class io/sentry/backpressure/IBackpressureMonitor {
2848
+ public abstract fun getDownsampleFactor ()I
2849
+ public abstract fun start ()V
2850
+ }
2851
+
2852
+ public final class io/sentry/backpressure/NoOpBackpressureMonitor : io/sentry/backpressure/IBackpressureMonitor {
2853
+ public fun getDownsampleFactor ()I
2854
+ public static fun getInstance ()Lio/sentry/backpressure/NoOpBackpressureMonitor;
2855
+ public fun start ()V
2856
+ }
2857
+
2827
2858
public class io/sentry/cache/EnvelopeCache : io/sentry/cache/IEnvelopeCache {
2828
2859
public static final field CRASH_MARKER_FILE Ljava/lang/String;
2829
2860
public static final field NATIVE_CRASH_MARKER_FILE Ljava/lang/String;
@@ -2925,6 +2956,7 @@ public final class io/sentry/clientreport/ClientReportRecorder : io/sentry/clien
2925
2956
}
2926
2957
2927
2958
public final class io/sentry/clientreport/DiscardReason : java/lang/Enum {
2959
+ public static final field BACKPRESSURE Lio/sentry/clientreport/DiscardReason;
2928
2960
public static final field BEFORE_SEND Lio/sentry/clientreport/DiscardReason;
2929
2961
public static final field CACHE_OVERFLOW Lio/sentry/clientreport/DiscardReason;
2930
2962
public static final field EVENT_PROCESSOR Lio/sentry/clientreport/DiscardReason;
@@ -4432,6 +4464,7 @@ public final class io/sentry/transport/AsyncHttpTransport : io/sentry/transport/
4432
4464
public fun close ()V
4433
4465
public fun flush (J)V
4434
4466
public fun getRateLimiter ()Lio/sentry/transport/RateLimiter;
4467
+ public fun isHealthy ()Z
4435
4468
public fun send (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)V
4436
4469
}
4437
4470
@@ -4447,6 +4480,7 @@ public abstract interface class io/sentry/transport/ICurrentDateProvider {
4447
4480
public abstract interface class io/sentry/transport/ITransport : java/io/Closeable {
4448
4481
public abstract fun flush (J)V
4449
4482
public abstract fun getRateLimiter ()Lio/sentry/transport/RateLimiter;
4483
+ public fun isHealthy ()Z
4450
4484
public fun send (Lio/sentry/SentryEnvelope;)V
4451
4485
public abstract fun send (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)V
4452
4486
}
@@ -4481,6 +4515,7 @@ public final class io/sentry/transport/RateLimiter {
4481
4515
public fun <init> (Lio/sentry/transport/ICurrentDateProvider;Lio/sentry/SentryOptions;)V
4482
4516
public fun filter (Lio/sentry/SentryEnvelope;Lio/sentry/Hint;)Lio/sentry/SentryEnvelope;
4483
4517
public fun isActiveForCategory (Lio/sentry/DataCategory;)Z
4518
+ public fun isAnyRateLimitActive ()Z
4484
4519
public fun updateRetryAfterLimits (Ljava/lang/String;Ljava/lang/String;I)V
4485
4520
}
4486
4521
0 commit comments