Package io.sentry
Interface EventProcessor
-
- All Known Implementing Classes:
DuplicateEventDetectionEventProcessor
,MainEventProcessor
public interface EventProcessor
An 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 SentryTransaction
process(@NotNull SentryTransaction transaction, @Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
May mutate or drop a SentryTransactiondefault @Nullable SentryEvent
process(@NotNull SentryEvent event, @Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
May mutate or drop a SentryEvent
-
-
-
Method Detail
-
process
@Nullable default @Nullable SentryEvent process(@NotNull @NotNull SentryEvent event, @Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> 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, @Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
May mutate or drop a SentryTransaction- Parameters:
transaction
- the SentryTransactionhint
- the Hint- Returns:
- the event itself, a mutated SentryTransaction or null
-
-