Class ContextTagsEventProcessor

  • All Implemented Interfaces:
    io.sentry.EventProcessor

    public final class ContextTagsEventProcessor
    extends java.lang.Object
    implements io.sentry.EventProcessor
    Attaches context tags defined in SentryOptions.getContextTags() from MDC to SentryBaseEvent.getTags().
    • Constructor Summary

      Constructors 
      Constructor Description
      ContextTagsEventProcessor​(@NotNull io.sentry.SentryOptions options)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull io.sentry.SentryEvent process​(@NotNull io.sentry.SentryEvent event, @Nullable io.sentry.Hint hint)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.sentry.EventProcessor

        process
    • Constructor Detail

      • ContextTagsEventProcessor

        public ContextTagsEventProcessor​(@NotNull
                                         @NotNull io.sentry.SentryOptions options)
    • Method Detail

      • process

        @NotNull
        public @NotNull io.sentry.SentryEvent process​(@NotNull
                                                      @NotNull io.sentry.SentryEvent event,
                                                      @Nullable
                                                      @Nullable io.sentry.Hint hint)
        Specified by:
        process in interface io.sentry.EventProcessor