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"
3
3
ext {
4
4
moduleProjects = [project(" :spring-graphql" ), project(" :spring-graphql-test" )]
5
5
springFrameworkVersion = " 6.0.3"
6
- graphQlJavaVersion = " 19.2 "
6
+ graphQlJavaVersion = " 20.0 "
7
7
springBootVersion = " 3.0.0"
8
8
}
9
9
Original file line number Diff line number Diff line change 21
21
import graphql .ExecutionResult ;
22
22
import graphql .execution .instrumentation .InstrumentationContext ;
23
23
import graphql .execution .instrumentation .InstrumentationState ;
24
- import graphql .execution .instrumentation .SimpleInstrumentation ;
25
24
import graphql .execution .instrumentation .SimpleInstrumentationContext ;
25
+ import graphql .execution .instrumentation .SimplePerformantInstrumentation ;
26
26
import graphql .execution .instrumentation .parameters .InstrumentationCreateStateParameters ;
27
27
import graphql .execution .instrumentation .parameters .InstrumentationExecutionParameters ;
28
28
import graphql .execution .instrumentation .parameters .InstrumentationFieldFetchParameters ;
31
31
import io .micrometer .observation .ObservationRegistry ;
32
32
33
33
/**
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.
36
36
* <p>GraphQL request instrumentation measures the execution time of requests
37
37
* and collects information from the {@link ExecutionRequestObservationContext}.
38
38
* A request can perform many data fetching operations.
47
47
* @author Brian Clozel
48
48
* @since 1.1.0
49
49
*/
50
- public class GraphQlObservationInstrumentation extends SimpleInstrumentation {
50
+ public class GraphQlObservationInstrumentation extends SimplePerformantInstrumentation {
51
51
52
52
private static final String OBSERVATION_KEY = "micrometer.observation" ;
53
53
You can’t perform that action at this time.
0 commit comments