diff --git a/Sources/Sentry/Public/SentryDefines.h b/Sources/Sentry/Public/SentryDefines.h index 905938c4b2..a6e9e6be2a 100644 --- a/Sources/Sentry/Public/SentryDefines.h +++ b/Sources/Sentry/Public/SentryDefines.h @@ -138,16 +138,6 @@ typedef NSNumber *_Nullable (^SentryTracesSamplerCallback)( */ typedef void (^SentrySpanCallback)(id _Nullable span); -/** - * A callback block which gets called right before a metric is about to be emitted. - - * @param key The key of the metric. - * @param tags A dictionary of key-value pairs associated with the metric. - * @return BOOL YES if the metric should be emitted, NO otherwise. - */ -typedef BOOL (^SentryBeforeEmitMetricCallback)( - NSString *_Nonnull key, NSDictionary *_Nonnull tags); - /** * Log level. */ diff --git a/Sources/Sentry/SentrySessionReplayIntegration.m b/Sources/Sentry/SentrySessionReplayIntegration.m index 3c5245dac7..85c1dd746a 100644 --- a/Sources/Sentry/SentrySessionReplayIntegration.m +++ b/Sources/Sentry/SentrySessionReplayIntegration.m @@ -48,8 +48,10 @@ @implementation SentrySessionReplayIntegration { SentryNSNotificationCenterWrapper *_notificationCenter; SentryOnDemandReplay *_resumeReplayMaker; id _rateLimits; - // We need to use this variable to identify whether rate limiting was ever activated for session replay in this session, instead of always looking for the rate status in `SentryRateLimits` - // This is the easiest way to ensure segment 0 will always reach the server, because session replay absolutely needs segment 0 to make replay work. + // We need to use this variable to identify whether rate limiting was ever activated for session + // replay in this session, instead of always looking for the rate status in `SentryRateLimits` + // This is the easiest way to ensure segment 0 will always reach the server, because session + // replay absolutely needs segment 0 to make replay work. BOOL _rateLimited; }