Package io.sentry
Interface EventProcessor
-
- All Known Implementing Classes:
DuplicateEventDetectionEventProcessor,MainEventProcessor
public interface EventProcessorAn Event Processor that may mutate or drop an event. Runs for SentryEvent or SentryTransaction
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable SentryTransactionprocess(@NotNull SentryTransaction transaction, @NotNull Hint hint)May mutate or drop a SentryTransactiondefault @Nullable SentryEventprocess(@NotNull SentryEvent event, @NotNull Hint hint)May mutate or drop a SentryEvent
-
-
-
Method Detail
-
process
@Nullable default @Nullable SentryEvent process(@NotNull @NotNull SentryEvent event, @NotNull @NotNull Hint hint)
May mutate or drop a SentryEvent- Parameters:
event- the SentryEventhint- the Hint- Returns:
- the event itself, a mutated SentryEvent or null
-
process
@Nullable default @Nullable SentryTransaction process(@NotNull @NotNull SentryTransaction transaction, @NotNull @NotNull Hint hint)
May mutate or drop a SentryTransaction- Parameters:
transaction- the SentryTransactionhint- the Hint- Returns:
- the event itself, a mutated SentryTransaction or null
-
-