public sealed class AspNetCoreTraceOptionsReference documentation and code samples for the Google.Cloud.Diagnostics.AspNetCore3 class AspNetCoreTraceOptions.
Configuration for initializing tracing for ASP.NET Core applications.
Namespace
Google.Cloud.Diagnostics.AspNetCore3Assembly
Google.Cloud.Diagnostics.AspNetCore3.dll
Properties
ServiceOptions
public TraceServiceOptions ServiceOptions { get; set; }Options for configuring the tracing service.
| Property Value | |
|---|---|
| Type | Description |
Google.Cloud.Diagnostics.Common.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 | |
|---|---|
| Type | Description |
TraceDecisionPredicate |
|