Package io.sentry.spring.jakarta
Class SpringProfilesEventProcessor
java.lang.Object
io.sentry.spring.jakarta.SpringProfilesEventProcessor
- All Implemented Interfaces:
EventProcessor
Attaches the list of active Spring profiles (an empty list if only the default profile is active)
to the
TraceContext
associated with the event.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull SentryTransaction
process
(@NotNull SentryTransaction transaction, @NotNull Hint hint) May mutate or drop a SentryTransaction@NotNull SentryEvent
process
(@NotNull SentryEvent event, @NotNull Hint hint) May mutate or drop a SentryEvent@NotNull SentryReplayEvent
process
(@NotNull SentryReplayEvent event, @NotNull 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
getOrder
-
Constructor Details
-
SpringProfilesEventProcessor
-
-
Method Details
-
process
@NotNull public @NotNull SentryEvent process(@NotNull @NotNull SentryEvent event, @NotNull @NotNull 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
-
process
@NotNull public @NotNull SentryTransaction process(@NotNull @NotNull SentryTransaction transaction, @NotNull @NotNull Hint hint) Description copied from interface:EventProcessor
May mutate or drop a SentryTransaction- Specified by:
process
in interfaceEventProcessor
- Parameters:
transaction
- the SentryTransactionhint
- the Hint- Returns:
- the event itself, a mutated SentryTransaction or null
-
process
@NotNull public @NotNull SentryReplayEvent process(@NotNull @NotNull SentryReplayEvent event, @NotNull @NotNull 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
-