Class TracingSupport

java.lang.Object
graphql.execution.instrumentation.tracing.TracingSupport
All Implemented Interfaces:
InstrumentationState

@PublicApi public class TracingSupport extends Object implements InstrumentationState
This creates a map of tracing information as outlined in http://github.com/apollographql/apollo-tracing

This is a stateful object that should be instantiated and called via Instrumentation calls. It has been made a separate class so that you can compose this into existing instrumentation code.

  • Constructor Details

    • TracingSupport

      public TracingSupport(boolean includeTrivialDataFetchers)
      The timer starts as soon as you create this object
      Parameters:
      includeTrivialDataFetchers - whether the trace trivial data fetchers
  • Method Details