Class: OpenTelemetry::SDK::Logs::LogRecordData

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/sdk/logs/log_record_data.rb

Overview

LogRecordData is a Struct containing LogRecord data for export.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def attributes
  @attributes
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def body
  @body
end

#instrumentation_scopeObject

Returns the value of attribute instrumentation_scope

Returns:

  • (Object)

    the current value of instrumentation_scope



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def instrumentation_scope
  @instrumentation_scope
end

#observed_timestampObject

Returns the value of attribute observed_timestamp

Returns:

  • (Object)

    the current value of observed_timestamp



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def observed_timestamp
  @observed_timestamp
end

#resourceObject

Returns the value of attribute resource

Returns:

  • (Object)

    the current value of resource



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def resource
  @resource
end

#severity_numberObject

Returns the value of attribute severity_number

Returns:

  • (Object)

    the current value of severity_number



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def severity_number
  @severity_number
end

#severity_textObject

Returns the value of attribute severity_text

Returns:

  • (Object)

    the current value of severity_text



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def severity_text
  @severity_text
end

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def span_id
  @span_id
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def timestamp
  @timestamp
end

#total_recorded_attributesObject

Returns the value of attribute total_recorded_attributes

Returns:

  • (Object)

    the current value of 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_flagsObject

Returns the value of attribute trace_flags

Returns:

  • (Object)

    the current value of trace_flags



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def trace_flags
  @trace_flags
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



11
12
13
# File 'lib/opentelemetry/sdk/logs/log_record_data.rb', line 11

def trace_id
  @trace_id
end