Package io.sentry.spring.graphql
Class SentryGraphqlConfiguration
java.lang.Object
io.sentry.spring.graphql.SentryGraphqlConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.sentry.graphql.SentryInstrumentation
sentryInstrumentationWebflux
(@NotNull ObjectProvider<io.sentry.graphql.SentryGraphqlInstrumentation.BeforeSpanCallback> beforeSpanCallback) io.sentry.graphql.SentryInstrumentation
sentryInstrumentationWebMvc
(@NotNull ObjectProvider<io.sentry.graphql.SentryGraphqlInstrumentation.BeforeSpanCallback> beforeSpanCallback)
-
Constructor Details
-
SentryGraphqlConfiguration
public SentryGraphqlConfiguration()
-
-
Method Details
-
sentryInstrumentationWebMvc
@Bean(name="sentryInstrumentation") @ConditionalOnMissingBean @ConditionalOnWebApplication(type=SERVLET) public io.sentry.graphql.SentryInstrumentation sentryInstrumentationWebMvc(@NotNull @NotNull ObjectProvider<io.sentry.graphql.SentryGraphqlInstrumentation.BeforeSpanCallback> beforeSpanCallback) -
sentryInstrumentationWebflux
@Bean(name="sentryInstrumentation") @ConditionalOnMissingBean @ConditionalOnWebApplication(type=REACTIVE) public io.sentry.graphql.SentryInstrumentation sentryInstrumentationWebflux(@NotNull @NotNull ObjectProvider<io.sentry.graphql.SentryGraphqlInstrumentation.BeforeSpanCallback> beforeSpanCallback) -
exceptionResolverAdapter
@Bean @Order(-2147483648) public SentryDataFetcherExceptionResolverAdapter exceptionResolverAdapter() -
graphqlBeanPostProcessor
-