Class TracingConfiguration
Configuration for tracing collection.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1beta1.Data
Assembly: Google.Apis.NetworkServices.v1beta1.dll
Syntax
public class TracingConfiguration : IDirectResponseSchema
Properties
CustomSpanAttributes
Optional. Provides key-value pairs for adding context to spans. Supports literalValue (static) and fromHeaderValue (dynamic extraction).
Declaration
[JsonProperty("customSpanAttributes")]
public virtual IList<TracingConfigurationCustomSpanAttribute> CustomSpanAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<TracingConfigurationCustomSpanAttribute> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentBasedSampling
Optional. Configures honoring a sampled bit in downstream traceparentID headers.
Declaration
[JsonProperty("parentBasedSampling")]
public virtual TracingConfigurationParentBasedSampling ParentBasedSampling { get; set; }
Property Value
| Type | Description |
|---|---|
| TracingConfigurationParentBasedSampling |
SamplingRate
Optional. Specifies the tracing sampling rate. The sampling rate is a float number in the interval [0, 1]. The sampling rate is applied to all requests to the targeted resources. The default value is 0.0.
Declaration
[JsonProperty("samplingRate")]
public virtual float? SamplingRate { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |