Package io.sentry
Interface EventProcessor
- All Known Subinterfaces:
BackfillingEventProcessor
- All Known Implementing Classes:
ContextTagsEventProcessor
,ContextTagsEventProcessor
,DeduplicateMultithreadedEventProcessor
,DuplicateEventDetectionEventProcessor
,MainEventProcessor
,OpenTelemetryLinkErrorEventProcessor
,SentryRequestHttpServletRequestProcessor
,SentryRequestHttpServletRequestProcessor
public interface EventProcessor
An Event Processor that may mutate or drop an event. Runs for SentryEvent or SentryTransaction
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable SentryTransaction
process
(@NotNull SentryTransaction transaction, @NotNull Hint hint) May mutate or drop a SentryTransactiondefault @Nullable SentryEvent
process
(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEventdefault @Nullable SentryReplayEvent
process
(@NotNull SentryReplayEvent event, @NotNull Hint hint) May mutate or drop a SentryEvent
-
Method Details
-
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
-
process
@Nullable default @Nullable SentryReplayEvent process(@NotNull @NotNull SentryReplayEvent 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
-