[Obsolete("Use Google.Cloud.Diagnostics.AspNetCore.AspNetCoreTraceOptions instead.")]
public sealed class TraceServiceOptions
Configuration for initializing tracing.
Namespace
Google.Cloud.Diagnostics.AspNetCoreAssembly
Google.Cloud.Diagnostics.AspNetCore.dll
Properties
Client
public TraceServiceClient Client { get; set; }
A client to send traces with. Can be null.
Property Value | |
---|---|
Type | Description |
TraceServiceClient |
Options
public TraceOptions Options { get; set; }
Trace options. Can be null.
Property Value | |
---|---|
Type | Description |
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.
Property Value | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
TraceDecisionPredicate |