public class GraphQlMetricsInstrumentation
extends graphql.execution.instrumentation.SimpleInstrumentation
SimpleInstrumentation
.Constructor and Description |
---|
GraphQlMetricsInstrumentation(io.micrometer.core.instrument.MeterRegistry registry,
GraphQlTagsProvider tagsProvider,
AutoTimer autoTimer) |
Modifier and Type | Method and Description |
---|---|
graphql.execution.instrumentation.InstrumentationContext<graphql.ExecutionResult> |
beginExecution(graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters) |
graphql.execution.instrumentation.InstrumentationState |
createState() |
graphql.schema.DataFetcher<?> |
instrumentDataFetcher(graphql.schema.DataFetcher<?> dataFetcher,
graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters) |
beginExecuteOperation, beginExecutionStrategy, beginField, beginFieldFetch, beginParse, beginValidation
public GraphQlMetricsInstrumentation(io.micrometer.core.instrument.MeterRegistry registry, GraphQlTagsProvider tagsProvider, AutoTimer autoTimer)
public graphql.execution.instrumentation.InstrumentationState createState()
public graphql.execution.instrumentation.InstrumentationContext<graphql.ExecutionResult> beginExecution(graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters parameters)
beginExecution
in interface graphql.execution.instrumentation.Instrumentation
beginExecution
in class graphql.execution.instrumentation.SimpleInstrumentation
public graphql.schema.DataFetcher<?> instrumentDataFetcher(graphql.schema.DataFetcher<?> dataFetcher, graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters parameters)