Class ContextTagsEventProcessor

java.lang.Object
io.sentry.spring.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 Summary

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

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