Package io.sentry.spring
Class ContextTagsEventProcessor
java.lang.Object
io.sentry.spring.ContextTagsEventProcessor
- All Implemented Interfaces:
EventProcessor
Attaches context tags defined in
SentryOptions.getContextTags()
from MDC
to
SentryBaseEvent.getTags()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull SentryEvent
process
(@NotNull SentryEvent event, @Nullable Hint hint) May mutate or drop a SentryEventMethods 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, process
-
Constructor Details
-
ContextTagsEventProcessor
-
-
Method Details
-
process
@NotNull public @NotNull SentryEvent process(@NotNull @NotNull SentryEvent event, @Nullable @Nullable Hint hint) Description copied from interface:EventProcessor
May mutate or drop a SentryEvent- Specified by:
process
in interfaceEventProcessor
- Parameters:
event
- the SentryEventhint
- the Hint- Returns:
- the event itself, a mutated SentryEvent or null
-