Package io.sentry.spring
Class ContextTagsEventProcessor
java.lang.Object
io.sentry.spring.ContextTagsEventProcessor
- All Implemented Interfaces:
io.sentry.EventProcessor
Attaches context tags defined in
SentryOptions.getContextTags()
from MDC
to
SentryBaseEvent.getTags()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@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 interfaceio.sentry.EventProcessor
-