Package io.sentry.graphql
Class SentryInstrumentation
- java.lang.Object
-
- graphql.execution.instrumentation.SimpleInstrumentation
-
- io.sentry.graphql.SentryInstrumentation
-
- All Implemented Interfaces:
graphql.execution.instrumentation.Instrumentation
public final class SentryInstrumentation extends graphql.execution.instrumentation.SimpleInstrumentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSentryInstrumentation.BeforeSpanCallback
-
Constructor Summary
Constructors Constructor Description SentryInstrumentation()SentryInstrumentation(@NotNull io.sentry.IHub hub)SentryInstrumentation(@NotNull io.sentry.IHub hub, @Nullable SentryInstrumentation.BeforeSpanCallback beforeSpan)SentryInstrumentation(@Nullable SentryInstrumentation.BeforeSpanCallback beforeSpan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull graphql.execution.instrumentation.InstrumentationContext<graphql.ExecutionResult>beginExecution(@NotNull graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters)@NotNull graphql.execution.instrumentation.InstrumentationStatecreateState()@NotNull graphql.schema.DataFetcher<?>instrumentDataFetcher(@NotNull graphql.schema.DataFetcher<?> dataFetcher, @NotNull graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)-
Methods inherited from class graphql.execution.instrumentation.SimpleInstrumentation
beginExecuteOperation, beginExecutionStrategy, beginField, beginFieldFetch, beginParse, beginValidation
-
-
-
-
Constructor Detail
-
SentryInstrumentation
public SentryInstrumentation(@NotNull @NotNull io.sentry.IHub hub, @Nullable @Nullable SentryInstrumentation.BeforeSpanCallback beforeSpan)
-
SentryInstrumentation
public SentryInstrumentation(@Nullable @Nullable SentryInstrumentation.BeforeSpanCallback beforeSpan)
-
SentryInstrumentation
public SentryInstrumentation(@NotNull @NotNull io.sentry.IHub hub)
-
SentryInstrumentation
public SentryInstrumentation()
-
-
Method Detail
-
createState
@NotNull public @NotNull graphql.execution.instrumentation.InstrumentationState createState()
-
beginExecution
@NotNull public @NotNull graphql.execution.instrumentation.InstrumentationContext<graphql.ExecutionResult> beginExecution(@NotNull @NotNull graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters)- Specified by:
beginExecutionin interfacegraphql.execution.instrumentation.Instrumentation- Overrides:
beginExecutionin classgraphql.execution.instrumentation.SimpleInstrumentation
-
instrumentDataFetcher
@NotNull public @NotNull graphql.schema.DataFetcher<?> instrumentDataFetcher(@NotNull @NotNull graphql.schema.DataFetcher<?> dataFetcher, @NotNull @NotNull graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)
-
-