Class: OpenTelemetry::SDK::Logs::LogRecordData
- Inherits:
-
Struct
- Object
- Struct
- OpenTelemetry::SDK::Logs::LogRecordData
- Defined in:
- lib/opentelemetry/sdk/logs/log_record_data.rb
Overview
LogRecordData is a Struct containing LogRecord data for export.
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#body ⇒ Object
Returns the value of attribute body.
-
#instrumentation_scope ⇒ Object
Returns the value of attribute instrumentation_scope.
-
#observed_timestamp ⇒ Object
Returns the value of attribute observed_timestamp.
-
#resource ⇒ Object
Returns the value of attribute resource.
-
#severity_number ⇒ Object
Returns the value of attribute severity_number.
-
#severity_text ⇒ Object
Returns the value of attribute severity_text.
-
#span_id ⇒ Object
Returns the value of attribute span_id.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#total_recorded_attributes ⇒ Object
Returns the value of attribute total_recorded_attributes.
-
#trace_flags ⇒ Object
Returns the value of attribute trace_flags.
-
#trace_id ⇒ Object
Returns the value of attribute trace_id.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def attributes @attributes end |
#body ⇒ Object
Returns the value of attribute body
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def body @body end |
#instrumentation_scope ⇒ Object
Returns the value of attribute instrumentation_scope
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def instrumentation_scope @instrumentation_scope end |
#observed_timestamp ⇒ Object
Returns the value of attribute observed_timestamp
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def @observed_timestamp end |
#resource ⇒ Object
Returns the value of attribute resource
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def resource @resource end |
#severity_number ⇒ Object
Returns the value of attribute severity_number
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def severity_number @severity_number end |
#severity_text ⇒ Object
Returns the value of attribute severity_text
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def severity_text @severity_text end |
#span_id ⇒ Object
Returns the value of attribute span_id
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def span_id @span_id end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def @timestamp end |
#total_recorded_attributes ⇒ Object
Returns the value of attribute total_recorded_attributes
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def total_recorded_attributes @total_recorded_attributes end |
#trace_flags ⇒ Object
Returns the value of attribute trace_flags
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def trace_flags @trace_flags end |
#trace_id ⇒ Object
Returns the value of attribute trace_id
11 12 13 |
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11 def trace_id @trace_id end |