Google.Cloud.Diagnostics.AspNetCore3 - Class AspNetCoreTraceOptions (5.1.0)

public sealed class AspNetCoreTraceOptions

Reference documentation and code samples for the Google.Cloud.Diagnostics.AspNetCore3 class AspNetCoreTraceOptions.

Configuration for initializing tracing for ASP.NET Core applications.

Inheritance

object > AspNetCoreTraceOptions

Namespace

GoogleCloudGoogle.Cloud.DiagnosticsAspNetCore3

Assembly

Google.Cloud.Diagnostics.AspNetCore3.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