Class SentryProfilerConfiguration

java.lang.Object
io.sentry.spring.SentryProfilerConfiguration

@Configuration(proxyBeanMethods=false) public class SentryProfilerConfiguration extends Object
Handles late initialization of the profiler if the application is run with the OTEL Agent in auto-init mode. In that case the agent cannot initialize the profiler yet and falls back to No-Op implementations. This Configuration sets the profiler and converter on the options if that was the case.
  • Constructor Details

    • SentryProfilerConfiguration

      public SentryProfilerConfiguration()
  • Method Details

    • sentryOpenTelemetryProfilerConfiguration

      @Bean @ConditionalOnMissingBean(name="sentryOpenTelemetryProfilerConfiguration") public io.sentry.IContinuousProfiler sentryOpenTelemetryProfilerConfiguration()
    • sentryOpenTelemetryProfilerConverterConfiguration

      @Bean @ConditionalOnMissingBean(name="sentryOpenTelemetryProfilerConverterConfiguration") public io.sentry.IProfileConverter sentryOpenTelemetryProfilerConverterConfiguration()