Class AspNetCoreTraceOptions (4.4.0)

public sealed class AspNetCoreTraceOptions

Configuration for initializing tracing for ASP.NET Core applications.

Inheritance

Object > AspNetCoreTraceOptions

Namespace

Google.Cloud.Diagnostics.AspNetCore

Assembly

Google.Cloud.Diagnostics.AspNetCore.dll

Properties

ServiceOptions

public TraceServiceOptions ServiceOptions { get; set; }

Options for configuring the tracing service.

Property Value
TypeDescription
TraceServiceOptions

TraceFallbackPredicate

public TraceDecisionPredicate TraceFallbackPredicate { get; set; }

A function to trace requests. If the trace header is not set then this function will be called to determine if a given request should be traced. This will not override trace headers. Can be null.

Property Value
TypeDescription
TraceDecisionPredicate