Class TracingInstrumentation.Options
- java.lang.Object
-
- graphql.execution.instrumentation.tracing.TracingInstrumentation.Options
-
- Enclosing class:
- TracingInstrumentation
public static class TracingInstrumentation.Options extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TracingInstrumentation.Options
includeTrivialDataFetchers(boolean flag)
By default trivial data fetchers (those that simple pull data from an object into field) are included in tracing but you can control this behavior.boolean
isIncludeTrivialDataFetchers()
static TracingInstrumentation.Options
newOptions()
-
-
-
Method Detail
-
isIncludeTrivialDataFetchers
public boolean isIncludeTrivialDataFetchers()
-
includeTrivialDataFetchers
public TracingInstrumentation.Options includeTrivialDataFetchers(boolean flag)
By default trivial data fetchers (those that simple pull data from an object into field) are included in tracing but you can control this behavior.- Parameters:
flag
- the flag on whether to trace trivial data fetchers- Returns:
- a new options object
-
newOptions
public static TracingInstrumentation.Options newOptions()
-
-