Package io.sentry

Interface EventProcessor

    • 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 SentryEvent
        hint - 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 SentryTransaction
        hint - the Hint
        Returns:
        the event itself, a mutated SentryTransaction or null