File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
spring-graphql/src/main/java/org/springframework/graphql/observation Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description = "Spring for GraphQL"
33ext {
44 moduleProjects = [project(" :spring-graphql" ), project(" :spring-graphql-test" )]
55 springFrameworkVersion = " 6.0.3"
6- graphQlJavaVersion = " 19.2 "
6+ graphQlJavaVersion = " 20.0 "
77 springBootVersion = " 3.0.0"
88}
99
Original file line number Diff line number Diff line change 2121import graphql .ExecutionResult ;
2222import graphql .execution .instrumentation .InstrumentationContext ;
2323import graphql .execution .instrumentation .InstrumentationState ;
24- import graphql .execution .instrumentation .SimpleInstrumentation ;
2524import graphql .execution .instrumentation .SimpleInstrumentationContext ;
25+ import graphql .execution .instrumentation .SimplePerformantInstrumentation ;
2626import graphql .execution .instrumentation .parameters .InstrumentationCreateStateParameters ;
2727import graphql .execution .instrumentation .parameters .InstrumentationExecutionParameters ;
2828import graphql .execution .instrumentation .parameters .InstrumentationFieldFetchParameters ;
3131import io .micrometer .observation .ObservationRegistry ;
3232
3333/**
34- * {@link SimpleInstrumentation } that creates {@link Observation observations}
35- * for GraphQL requests and data fetcher operations.
34+ * {@link graphql.execution.instrumentation.Instrumentation } that creates
35+ * {@link Observation observations} for GraphQL requests and data fetcher operations.
3636 * <p>GraphQL request instrumentation measures the execution time of requests
3737 * and collects information from the {@link ExecutionRequestObservationContext}.
3838 * A request can perform many data fetching operations.
4747 * @author Brian Clozel
4848 * @since 1.1.0
4949 */
50- public class GraphQlObservationInstrumentation extends SimpleInstrumentation {
50+ public class GraphQlObservationInstrumentation extends SimplePerformantInstrumentation {
5151
5252 private static final String OBSERVATION_KEY = "micrometer.observation" ;
5353
You can’t perform that action at this time.
0 commit comments