# frozen_string_literal: true # Copyright The OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 module OpenTelemetry module SDK module Logs # LogRecordData is a Struct containing {LogRecord} data for export. LogRecordData = Struct.new(:timestamp, # optional Integer nanoseconds since Epoch :observed_timestamp, # Integer nanoseconds since Epoch :severity_text, # optional String :severity_number, # optional Integer :body, # optional String, Numeric, Boolean, Array, Hash{String => String, Numeric, Boolean, Array} :attributes, # optional Hash{String => String, Numeric, Boolean, Array} :trace_id, # optional String (16-byte binary) :span_id, # optional String (8-byte binary) :trace_flags, # optional Integer (8-bit byte of bit flags) :resource, # optional OpenTelemetry::SDK::Resources::Resource :instrumentation_scope, # optional OpenTelemetry::SDK::InstrumentationScope :total_recorded_attributes) # Integer end end end