Table of Contents

Class InstrumentationOptions

Namespace
HotChocolate.Diagnostics
Assembly
HotChocolate.Diagnostics.dll

The Hot Chocolate instrumentation options.

public sealed class InstrumentationOptions
Inheritance
InstrumentationOptions
Inherited Members

Constructors

InstrumentationOptions()

public InstrumentationOptions()

Properties

IncludeDataLoaderKeys

Specifies if DataLoader batch keys shall included into the tracing data.

public bool IncludeDataLoaderKeys { get; set; }

Property Value

bool

IncludeDocument

Specifies if the parsed document shall be included into the tracing data.

public bool IncludeDocument { get; set; }

Property Value

bool

RenameRootActivity

Defines if the operation display name shall be included in the root activity.

public bool RenameRootActivity { get; set; }

Property Value

bool

RequestDetails

Specifies the request detail that shall be included into the tracing activities.

public RequestDetails RequestDetails { get; set; }

Property Value

RequestDetails

Scopes

Specifies the activity scopes that shall be instrumented.

public ActivityScopes Scopes { get; set; }

Property Value

ActivityScopes