Class: Google::Devtools::Cloudtrace::V2::Span::Attributes
- Inherits:
-
Object
- Object
- Google::Devtools::Cloudtrace::V2::Span::Attributes
- Defined in:
- lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb
Overview
A set of attributes, each in the format +[KEY]:[VALUE]+.
Instance Attribute Summary collapse
-
#attribute_map ⇒ Hash{String => Google::Devtools::Cloudtrace::V2::AttributeValue}
The set of attributes.
-
#dropped_attributes_count ⇒ Integer
The number of attributes that were discarded.
Instance Attribute Details
#attribute_map ⇒ Hash{String => Google::Devtools::Cloudtrace::V2::AttributeValue}
Returns 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, an integer, or the Boolean values +true+ and +false+. For example:
"/instance_id": "my-instance"
"/http/user_agent": ""
"/http/request_bytes": 300
"abc.com/myattribute": true
106 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 106 class Attributes; end |
#dropped_attributes_count ⇒ Integer
Returns 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.
106 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 106 class Attributes; end |