[Obsolete("Use Google.Cloud.Diagnostics.AspNetCore3.AspNetCoreTraceOptions instead.")]
public sealed class TraceServiceOptions
Configuration for initializing tracing.
Namespace
Google.Cloud.Diagnostics.AspNetCore3Assembly
Google.Cloud.Diagnostics.AspNetCore3.dll
Properties
Client
public TraceServiceClient Client { get; set; }
A client to send traces with. Can be null.
Type | Description |
TraceServiceClient |
Options
public TraceOptions Options { get; set; }
Trace options. Can be null.
Type | Description |
Google.Cloud.Diagnostics.Common.TraceOptions |
ProjectId
public string ProjectId { get; set; }
The Google Cloud Platform project ID. If unspecified and running on GAE or GCE the project ID will be detected from the platform.
Type | Description |
String |
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.
Type | Description |
TraceDecisionPredicate |