Class ContextTagsEventProcessor

java.lang.Object
io.sentry.spring.jakarta.ContextTagsEventProcessor
All Implemented Interfaces:
io.sentry.EventProcessor

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

    • ContextTagsEventProcessor

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

    • 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
    • getOrder

      @Nullable public @Nullable Long getOrder()
      Specified by:
      getOrder in interface io.sentry.EventProcessor