public sealed class Attributes : IMessage<Span.Types.Attributes>, IEquatable<Span.Types.Attributes>, IDeepCloneable<Span.Types.Attributes>, IBufferMessage, IMessageA set of attributes, each in the format [KEY]:[VALUE].
Implements
IMessage<Span.Types.Attributes>, IEquatable<Span.Types.Attributes>, IDeepCloneable<Span.Types.Attributes>, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
Attributes()
public Attributes()Attributes(Span.Types.Attributes)
public Attributes(Span.Types.Attributes other)| Parameter | |
|---|---|
| Name | Description |
other |
Span.Types.Attributes |
Properties
AttributeMap
public MapField<string, AttributeValue> AttributeMap { get; }The set of attributes. Each attribute's key can be up to 128 bytes
long. The value can be a string up to 256 bytes, a signed 64-bit integer,
or the Boolean values true and false. For example:
"/instance_id": { "string_value": { "value": "my-instance" } } "/http/request_bytes": { "int_value": 300 } "example.com/myattribute": { "bool_value": false }
| Property Value | |
|---|---|
| Type | Description |
MapField<String, AttributeValue> |
|
DroppedAttributesCount
public int DroppedAttributesCount { get; set; }The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|