Class: OpenTelemetry::DistributedContext::Entry
- Inherits:
-
Object
- Object
- OpenTelemetry::DistributedContext::Entry
- Defined in:
- lib/opentelemetry/distributed_context/entry.rb
Overview
An Entry consists of Entry::Metadata, Entry::Key, and Entry::Value.
Defined Under Namespace
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
11 12 13 |
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11 def key @key end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
11 12 13 |
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11 def @metadata end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
11 12 13 |
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11 def value @value end |