All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.kickstart.autoconfigure.web.servlet.metrics.TracingNoResolversInstrumentation Maven / Gradle / Ivy

package graphql.kickstart.autoconfigure.web.servlet.metrics;

import graphql.execution.instrumentation.InstrumentationContext;
import graphql.execution.instrumentation.SimpleInstrumentationContext;
import graphql.execution.instrumentation.parameters.InstrumentationFieldFetchParameters;
import graphql.execution.instrumentation.tracing.TracingInstrumentation;

public class TracingNoResolversInstrumentation extends TracingInstrumentation {

  @Override
  public InstrumentationContext beginFieldFetch(
      InstrumentationFieldFetchParameters parameters) {
    return new SimpleInstrumentationContext<>();
  }
}