Class GraphQlObservationAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.observation.graphql.GraphQlObservationAutoConfiguration
@AutoConfiguration(after=ObservationAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.observation.ObservationRegistry.class)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.execution.GraphQlSource.class,io.micrometer.observation.Observation.class})
public class GraphQlObservationAutoConfiguration
extends Object
Auto-configuration
for instrumentation of Spring
GraphQL endpoints.- Since:
- 3.0.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.observation.GraphQlObservationInstrumentation
graphQlObservationInstrumentation
(io.micrometer.observation.ObservationRegistry observationRegistry, ObjectProvider<org.springframework.graphql.observation.ExecutionRequestObservationConvention> executionConvention, ObjectProvider<org.springframework.graphql.observation.DataFetcherObservationConvention> dataFetcherConvention)
-
Constructor Details
-
GraphQlObservationAutoConfiguration
public GraphQlObservationAutoConfiguration()
-
-
Method Details
-
graphQlObservationInstrumentation
@Bean @ConditionalOnMissingBean public org.springframework.graphql.observation.GraphQlObservationInstrumentation graphQlObservationInstrumentation(io.micrometer.observation.ObservationRegistry observationRegistry, ObjectProvider<org.springframework.graphql.observation.ExecutionRequestObservationConvention> executionConvention, ObjectProvider<org.springframework.graphql.observation.DataFetcherObservationConvention> dataFetcherConvention)
-