lib/opentelemetry/proto/logs/v1/logs_pb.rb in opentelemetry-exporter-otlp-0.27.0 vs lib/opentelemetry/proto/logs/v1/logs_pb.rb in opentelemetry-exporter-otlp-0.28.0

- old
+ new

@@ -1,72 +1,18 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: opentelemetry/proto/logs/v1/logs.proto require 'google/protobuf' require 'opentelemetry/proto/common/v1/common_pb' require 'opentelemetry/proto/resource/v1/resource_pb' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("opentelemetry/proto/logs/v1/logs.proto", :syntax => :proto3) do - add_message "opentelemetry.proto.logs.v1.LogsData" do - 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" - 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.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 - optional :body, :message, 5, "opentelemetry.proto.common.v1.AnyValue" - repeated :attributes, :message, 6, "opentelemetry.proto.common.v1.KeyValue" - optional :dropped_attributes_count, :uint32, 7 - optional :flags, :fixed32, 8 - optional :trace_id, :bytes, 9 - optional :span_id, :bytes, 10 - end - add_enum "opentelemetry.proto.logs.v1.SeverityNumber" do - value :SEVERITY_NUMBER_UNSPECIFIED, 0 - value :SEVERITY_NUMBER_TRACE, 1 - value :SEVERITY_NUMBER_TRACE2, 2 - value :SEVERITY_NUMBER_TRACE3, 3 - value :SEVERITY_NUMBER_TRACE4, 4 - value :SEVERITY_NUMBER_DEBUG, 5 - value :SEVERITY_NUMBER_DEBUG2, 6 - value :SEVERITY_NUMBER_DEBUG3, 7 - value :SEVERITY_NUMBER_DEBUG4, 8 - value :SEVERITY_NUMBER_INFO, 9 - value :SEVERITY_NUMBER_INFO2, 10 - value :SEVERITY_NUMBER_INFO3, 11 - value :SEVERITY_NUMBER_INFO4, 12 - value :SEVERITY_NUMBER_WARN, 13 - value :SEVERITY_NUMBER_WARN2, 14 - value :SEVERITY_NUMBER_WARN3, 15 - value :SEVERITY_NUMBER_WARN4, 16 - value :SEVERITY_NUMBER_ERROR, 17 - value :SEVERITY_NUMBER_ERROR2, 18 - value :SEVERITY_NUMBER_ERROR3, 19 - value :SEVERITY_NUMBER_ERROR4, 20 - value :SEVERITY_NUMBER_FATAL, 21 - 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_FLAGS_DO_NOT_USE, 0 - value :LOG_RECORD_FLAGS_TRACE_FLAGS_MASK, 255 - end - end -end + +descriptor_data = "\n&opentelemetry/proto/logs/v1/logs.proto\x12\x1bopentelemetry.proto.logs.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"L\n\x08LogsData\x12@\n\rresource_logs\x18\x01 \x03(\x0b\x32).opentelemetry.proto.logs.v1.ResourceLogs\"\xa3\x01\n\x0cResourceLogs\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12:\n\nscope_logs\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.ScopeLogs\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\xa0\x01\n\tScopeLogs\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12;\n\x0blog_records\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.logs.v1.LogRecord\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\xef\x02\n\tLogRecord\x12\x16\n\x0etime_unix_nano\x18\x01 \x01(\x06\x12\x1f\n\x17observed_time_unix_nano\x18\x0b \x01(\x06\x12\x44\n\x0fseverity_number\x18\x02 \x01(\x0e\x32+.opentelemetry.proto.logs.v1.SeverityNumber\x12\x15\n\rseverity_text\x18\x03 \x01(\t\x12\x35\n\x04\x62ody\x18\x05 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\x12;\n\nattributes\x18\x06 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x07 \x01(\r\x12\r\n\x05\x66lags\x18\x08 \x01(\x07\x12\x10\n\x08trace_id\x18\t \x01(\x0c\x12\x0f\n\x07span_id\x18\n \x01(\x0cJ\x04\x08\x04\x10\x05*\xc3\x05\n\x0eSeverityNumber\x12\x1f\n\x1bSEVERITY_NUMBER_UNSPECIFIED\x10\x00\x12\x19\n\x15SEVERITY_NUMBER_TRACE\x10\x01\x12\x1a\n\x16SEVERITY_NUMBER_TRACE2\x10\x02\x12\x1a\n\x16SEVERITY_NUMBER_TRACE3\x10\x03\x12\x1a\n\x16SEVERITY_NUMBER_TRACE4\x10\x04\x12\x19\n\x15SEVERITY_NUMBER_DEBUG\x10\x05\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG2\x10\x06\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG3\x10\x07\x12\x1a\n\x16SEVERITY_NUMBER_DEBUG4\x10\x08\x12\x18\n\x14SEVERITY_NUMBER_INFO\x10\t\x12\x19\n\x15SEVERITY_NUMBER_INFO2\x10\n\x12\x19\n\x15SEVERITY_NUMBER_INFO3\x10\x0b\x12\x19\n\x15SEVERITY_NUMBER_INFO4\x10\x0c\x12\x18\n\x14SEVERITY_NUMBER_WARN\x10\r\x12\x19\n\x15SEVERITY_NUMBER_WARN2\x10\x0e\x12\x19\n\x15SEVERITY_NUMBER_WARN3\x10\x0f\x12\x19\n\x15SEVERITY_NUMBER_WARN4\x10\x10\x12\x19\n\x15SEVERITY_NUMBER_ERROR\x10\x11\x12\x1a\n\x16SEVERITY_NUMBER_ERROR2\x10\x12\x12\x1a\n\x16SEVERITY_NUMBER_ERROR3\x10\x13\x12\x1a\n\x16SEVERITY_NUMBER_ERROR4\x10\x14\x12\x19\n\x15SEVERITY_NUMBER_FATAL\x10\x15\x12\x1a\n\x16SEVERITY_NUMBER_FATAL2\x10\x16\x12\x1a\n\x16SEVERITY_NUMBER_FATAL3\x10\x17\x12\x1a\n\x16SEVERITY_NUMBER_FATAL4\x10\x18*Y\n\x0eLogRecordFlags\x12\x1f\n\x1bLOG_RECORD_FLAGS_DO_NOT_USE\x10\x00\x12&\n!LOG_RECORD_FLAGS_TRACE_FLAGS_MASK\x10\xff\x01\x42s\n\x1eio.opentelemetry.proto.logs.v1B\tLogsProtoP\x01Z&go.opentelemetry.io/proto/otlp/logs/v1\xaa\x02\x1bOpenTelemetry.Proto.Logs.V1b\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Opentelemetry module Proto module Logs module V1