lib/opentelemetry/proto/logs/v1/logs_pb.rb in opentelemetry-exporter-otlp-0.25.0 vs lib/opentelemetry/proto/logs/v1/logs_pb.rb in opentelemetry-exporter-otlp-0.26.0

- old
+ new

@@ -12,23 +12,17 @@ repeated :resource_logs, :message, 1, "opentelemetry.proto.logs.v1.ResourceLogs" end add_message "opentelemetry.proto.logs.v1.ResourceLogs" do optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource" repeated :scope_logs, :message, 2, "opentelemetry.proto.logs.v1.ScopeLogs" - repeated :instrumentation_library_logs, :message, 1000, "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs" optional :schema_url, :string, 3 end add_message "opentelemetry.proto.logs.v1.ScopeLogs" do optional :scope, :message, 1, "opentelemetry.proto.common.v1.InstrumentationScope" repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord" optional :schema_url, :string, 3 end - add_message "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs" do - optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary" - repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord" - optional :schema_url, :string, 3 - end add_message "opentelemetry.proto.logs.v1.LogRecord" do optional :time_unix_nano, :fixed64, 1 optional :observed_time_unix_nano, :fixed64, 11 optional :severity_number, :enum, 2, "opentelemetry.proto.logs.v1.SeverityNumber" optional :severity_text, :string, 3 @@ -65,12 +59,12 @@ value :SEVERITY_NUMBER_FATAL2, 22 value :SEVERITY_NUMBER_FATAL3, 23 value :SEVERITY_NUMBER_FATAL4, 24 end add_enum "opentelemetry.proto.logs.v1.LogRecordFlags" do - value :LOG_RECORD_FLAG_UNSPECIFIED, 0 - value :LOG_RECORD_FLAG_TRACE_FLAGS_MASK, 255 + value :LOG_RECORD_FLAGS_DO_NOT_USE, 0 + value :LOG_RECORD_FLAGS_TRACE_FLAGS_MASK, 255 end end end module Opentelemetry @@ -78,10 +72,9 @@ module Logs module V1 LogsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogsData").msgclass ResourceLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ResourceLogs").msgclass ScopeLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ScopeLogs").msgclass - InstrumentationLibraryLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.InstrumentationLibraryLogs").msgclass LogRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecord").msgclass SeverityNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.SeverityNumber").enummodule LogRecordFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecordFlags").enummodule end end