Class SpringProfilesEventProcessor

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

public final class SpringProfilesEventProcessor extends Object implements io.sentry.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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull io.sentry.protocol.SentryTransaction
    process(@NotNull io.sentry.protocol.SentryTransaction transaction, @NotNull io.sentry.Hint hint)
     
    @NotNull io.sentry.SentryEvent
    process(@NotNull io.sentry.SentryEvent event, @NotNull io.sentry.Hint hint)
     
    @NotNull io.sentry.SentryReplayEvent
    process(@NotNull io.sentry.SentryReplayEvent event, @NotNull 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

    getOrder
  • Constructor Details

    • SpringProfilesEventProcessor

      public SpringProfilesEventProcessor(@NotNull @NotNull Environment environment)
  • Method Details

    • process

      @NotNull public @NotNull io.sentry.SentryEvent process(@NotNull @NotNull io.sentry.SentryEvent event, @NotNull @NotNull io.sentry.Hint hint)
      Specified by:
      process in interface io.sentry.EventProcessor
    • process

      @NotNull public @NotNull io.sentry.protocol.SentryTransaction process(@NotNull @NotNull io.sentry.protocol.SentryTransaction transaction, @NotNull @NotNull io.sentry.Hint hint)
      Specified by:
      process in interface io.sentry.EventProcessor
    • process

      @NotNull public @NotNull io.sentry.SentryReplayEvent process(@NotNull @NotNull io.sentry.SentryReplayEvent event, @NotNull @NotNull io.sentry.Hint hint)
      Specified by:
      process in interface io.sentry.EventProcessor