Class TracingConfigurationCustomSpanAttribute
Key-value pairs for adding context to spans. Supports literal_value (static) and from_header_value (dynamic extraction). Note: literal_value and from_header_value are mutually exclusive, but at least one of them must be set.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1beta1.Data
Assembly: Google.Apis.NetworkServices.v1beta1.dll
Syntax
public class TracingConfigurationCustomSpanAttribute : IDirectResponseSchema
Properties
AttributeName
Required. Defines the key for a custom attribute that is added to the trace spans generated by the Google Cloud Load Balancer (GCLB).
Declaration
[JsonProperty("attributeName")]
public virtual string AttributeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FromHeaderValue
Optional. Specifies an incoming request header name from which the value for the custom span attribute should be dynamically extracted. Note: the value of the header might be changed during the request processing; in this case the resulting value will be stored.
Declaration
[JsonProperty("fromHeaderValue")]
public virtual string FromHeaderValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LiteralValue
Optional. Assigns a static, constant value to the custom trace span attribute defined by the corresponding attribute_name.
Declaration
[JsonProperty("literalValue")]
public virtual string LiteralValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |