Class: OpenTelemetry::DistributedContext::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/opentelemetry/distributed_context/entry.rb

Overview

An Entry consists of Entry::Metadata, Entry::Key, and Entry::Value.

Defined Under Namespace

Classes: Key, Metadata, Value

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



11
12
13
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11

def key
  @key
end

#metadataObject (readonly)

Returns the value of attribute metadata.



11
12
13
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11

def 
  @metadata
end

#valueObject (readonly)

Returns the value of attribute value.



11
12
13
# File 'lib/opentelemetry/distributed_context/entry.rb', line 11

def value
  @value
end