opentelemetry-exporter-otlp 0.27.0 → 0.28.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61f45bb4d312e9792b5c3ea6dfc9813856f9ee967e7d37d8dbcf13844da60c54
4
- data.tar.gz: dfb5d62f39431f0b051e5091a5cb6c52aa6e650e88670d7cdac9755fee7a8b88
3
+ metadata.gz: 239c0604c4decf8b32af47dc1e178607e55ac5c6da69819435ff12860871fda2
4
+ data.tar.gz: 221a3fca20e8342b5948016dfd7d2e67b394fdcff6d4f491bfe05087322a3f38
5
5
  SHA512:
6
- metadata.gz: d9070d0d690aee9f57c380aad0e2e11c6ca18416a1d0ef1779be0919eb46d91a6f69f28a770766a97ba1d3cf6f197d43a06f094223e7e4135f473b934d50d1d5
7
- data.tar.gz: 65768645c684f724f12ada620d9ac85ba22e21b1962e771254b8c0fa98d2e3a8d23690dc190a41c6b3cd8ab91166dce2cebed908cc9808fc120cdda4d666bd6e
6
+ metadata.gz: 0fc38a83ee53a79cfac8e55b0fada4923e0227d74c9a756ffa9dc682d5d360440277aded4c98e6586fafd549bcc5d45125558e082654bfcb318b7074587012d5
7
+ data.tar.gz: 2529ae92fbfc51f7e69631e89478bd269e10e7d55382865561eedaae785c17e822b2a8fa63b991798530102ab1263c892f731b8a0ff9b29e367ce89bef635834
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-exporter-otlp
2
2
 
3
+ ### v0.28.1 / 2024-07-24
4
+
5
+ * ADDED: Improve SSL error logging.
6
+
7
+ ### v0.28.0 / 2024-06-19
8
+
9
+ * ADDED: Bump google_protobuf >=3.18, < 5.a
10
+
3
11
  ### v0.27.0 / 2024-04-19
4
12
 
5
13
  * ADDED: Add stats for serialization time in otlp exporter
@@ -184,8 +184,9 @@ module OpenTelemetry
184
184
  rescue Net::OpenTimeout, Net::ReadTimeout
185
185
  retry if backoff?(retry_count: retry_count += 1, reason: 'timeout')
186
186
  return FAILURE
187
- rescue OpenSSL::SSL::SSLError
187
+ rescue OpenSSL::SSL::SSLError => e
188
188
  retry if backoff?(retry_count: retry_count += 1, reason: 'openssl_error')
189
+ OpenTelemetry.handle_error(exception: e, message: 'SSL error in OTLP::Exporter#send_bytes')
189
190
  return FAILURE
190
191
  rescue SocketError
191
192
  retry if backoff?(retry_count: retry_count += 1, reason: 'socket_error')
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module OTLP
10
10
  ## Current OpenTelemetry OTLP exporter version
11
- VERSION = '0.27.0'
11
+ VERSION = '0.28.1'
12
12
  end
13
13
  end
14
14
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/collector/logs/v1/logs_service.proto
3
4
 
@@ -5,20 +6,11 @@ require 'google/protobuf'
5
6
 
6
7
  require 'opentelemetry/proto/logs/v1/logs_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("opentelemetry/proto/collector/logs/v1/logs_service.proto", :syntax => :proto3) do
10
- add_message "opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest" do
11
- repeated :resource_logs, :message, 1, "opentelemetry.proto.logs.v1.ResourceLogs"
12
- end
13
- add_message "opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse" do
14
- optional :partial_success, :message, 1, "opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess"
15
- end
16
- add_message "opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess" do
17
- optional :rejected_log_records, :int64, 1
18
- optional :error_message, :string, 2
19
- end
20
- end
21
- end
9
+
10
+ descriptor_data = "\n8opentelemetry/proto/collector/logs/v1/logs_service.proto\x12%opentelemetry.proto.collector.logs.v1\x1a&opentelemetry/proto/logs/v1/logs.proto\"\\\n\x18\x45xportLogsServiceRequest\x12@\n\rresource_logs\x18\x01 \x03(\x0b\x32).opentelemetry.proto.logs.v1.ResourceLogs\"u\n\x19\x45xportLogsServiceResponse\x12X\n\x0fpartial_success\x18\x01 \x01(\x0b\x32?.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess\"O\n\x18\x45xportLogsPartialSuccess\x12\x1c\n\x14rejected_log_records\x18\x01 \x01(\x03\x12\x15\n\rerror_message\x18\x02 \x01(\t2\x9d\x01\n\x0bLogsService\x12\x8d\x01\n\x06\x45xport\x12?.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest\x1a@.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse\"\x00\x42\x98\x01\n(io.opentelemetry.proto.collector.logs.v1B\x10LogsServiceProtoP\x01Z0go.opentelemetry.io/proto/otlp/collector/logs/v1\xaa\x02%OpenTelemetry.Proto.Collector.Logs.V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
22
14
 
23
15
  module Opentelemetry
24
16
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/collector/metrics/v1/metrics_service.proto
3
4
 
@@ -5,20 +6,11 @@ require 'google/protobuf'
5
6
 
6
7
  require 'opentelemetry/proto/metrics/v1/metrics_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("opentelemetry/proto/collector/metrics/v1/metrics_service.proto", :syntax => :proto3) do
10
- add_message "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest" do
11
- repeated :resource_metrics, :message, 1, "opentelemetry.proto.metrics.v1.ResourceMetrics"
12
- end
13
- add_message "opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse" do
14
- optional :partial_success, :message, 1, "opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess"
15
- end
16
- add_message "opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess" do
17
- optional :rejected_data_points, :int64, 1
18
- optional :error_message, :string, 2
19
- end
20
- end
21
- end
9
+
10
+ descriptor_data = "\n>opentelemetry/proto/collector/metrics/v1/metrics_service.proto\x12(opentelemetry.proto.collector.metrics.v1\x1a,opentelemetry/proto/metrics/v1/metrics.proto\"h\n\x1b\x45xportMetricsServiceRequest\x12I\n\x10resource_metrics\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetrics\"~\n\x1c\x45xportMetricsServiceResponse\x12^\n\x0fpartial_success\x18\x01 \x01(\x0b\x32\x45.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess\"R\n\x1b\x45xportMetricsPartialSuccess\x12\x1c\n\x14rejected_data_points\x18\x01 \x01(\x03\x12\x15\n\rerror_message\x18\x02 \x01(\t2\xac\x01\n\x0eMetricsService\x12\x99\x01\n\x06\x45xport\x12\x45.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest\x1a\x46.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse\"\x00\x42\xa4\x01\n+io.opentelemetry.proto.collector.metrics.v1B\x13MetricsServiceProtoP\x01Z3go.opentelemetry.io/proto/otlp/collector/metrics/v1\xaa\x02(OpenTelemetry.Proto.Collector.Metrics.V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
22
14
 
23
15
  module Opentelemetry
24
16
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/collector/trace/v1/trace_service.proto
3
4
 
@@ -5,20 +6,11 @@ require 'google/protobuf'
5
6
 
6
7
  require 'opentelemetry/proto/trace/v1/trace_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("opentelemetry/proto/collector/trace/v1/trace_service.proto", :syntax => :proto3) do
10
- add_message "opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest" do
11
- repeated :resource_spans, :message, 1, "opentelemetry.proto.trace.v1.ResourceSpans"
12
- end
13
- add_message "opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse" do
14
- optional :partial_success, :message, 1, "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess"
15
- end
16
- add_message "opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess" do
17
- optional :rejected_spans, :int64, 1
18
- optional :error_message, :string, 2
19
- end
20
- end
21
- end
9
+
10
+ descriptor_data = "\n:opentelemetry/proto/collector/trace/v1/trace_service.proto\x12&opentelemetry.proto.collector.trace.v1\x1a(opentelemetry/proto/trace/v1/trace.proto\"`\n\x19\x45xportTraceServiceRequest\x12\x43\n\x0eresource_spans\x18\x01 \x03(\x0b\x32+.opentelemetry.proto.trace.v1.ResourceSpans\"x\n\x1a\x45xportTraceServiceResponse\x12Z\n\x0fpartial_success\x18\x01 \x01(\x0b\x32\x41.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess\"J\n\x19\x45xportTracePartialSuccess\x12\x16\n\x0erejected_spans\x18\x01 \x01(\x03\x12\x15\n\rerror_message\x18\x02 \x01(\t2\xa2\x01\n\x0cTraceService\x12\x91\x01\n\x06\x45xport\x12\x41.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest\x1a\x42.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse\"\x00\x42\x9c\x01\n)io.opentelemetry.proto.collector.trace.v1B\x11TraceServiceProtoP\x01Z1go.opentelemetry.io/proto/otlp/collector/trace/v1\xaa\x02&OpenTelemetry.Proto.Collector.Trace.V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
22
14
 
23
15
  module Opentelemetry
24
16
  module Proto
@@ -1,39 +1,14 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/common/v1/common.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("opentelemetry/proto/common/v1/common.proto", :syntax => :proto3) do
8
- add_message "opentelemetry.proto.common.v1.AnyValue" do
9
- oneof :value do
10
- optional :string_value, :string, 1
11
- optional :bool_value, :bool, 2
12
- optional :int_value, :int64, 3
13
- optional :double_value, :double, 4
14
- optional :array_value, :message, 5, "opentelemetry.proto.common.v1.ArrayValue"
15
- optional :kvlist_value, :message, 6, "opentelemetry.proto.common.v1.KeyValueList"
16
- optional :bytes_value, :bytes, 7
17
- end
18
- end
19
- add_message "opentelemetry.proto.common.v1.ArrayValue" do
20
- repeated :values, :message, 1, "opentelemetry.proto.common.v1.AnyValue"
21
- end
22
- add_message "opentelemetry.proto.common.v1.KeyValueList" do
23
- repeated :values, :message, 1, "opentelemetry.proto.common.v1.KeyValue"
24
- end
25
- add_message "opentelemetry.proto.common.v1.KeyValue" do
26
- optional :key, :string, 1
27
- optional :value, :message, 2, "opentelemetry.proto.common.v1.AnyValue"
28
- end
29
- add_message "opentelemetry.proto.common.v1.InstrumentationScope" do
30
- optional :name, :string, 1
31
- optional :version, :string, 2
32
- repeated :attributes, :message, 3, "opentelemetry.proto.common.v1.KeyValue"
33
- optional :dropped_attributes_count, :uint32, 4
34
- end
35
- end
36
- end
7
+
8
+ descriptor_data = "\n*opentelemetry/proto/common/v1/common.proto\x12\x1dopentelemetry.proto.common.v1\"\x8c\x02\n\x08\x41nyValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12@\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32).opentelemetry.proto.common.v1.ArrayValueH\x00\x12\x43\n\x0ckvlist_value\x18\x06 \x01(\x0b\x32+.opentelemetry.proto.common.v1.KeyValueListH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"E\n\nArrayValue\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"G\n\x0cKeyValueList\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\"O\n\x08KeyValue\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.opentelemetry.proto.common.v1.AnyValue\"\x94\x01\n\x14InstrumentationScope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12;\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\rB{\n io.opentelemetry.proto.common.v1B\x0b\x43ommonProtoP\x01Z(go.opentelemetry.io/proto/otlp/common/v1\xaa\x02\x1dOpenTelemetry.Proto.Common.V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
37
12
 
38
13
  module Opentelemetry
39
14
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/logs/v1/logs.proto
3
4
 
@@ -6,66 +7,11 @@ require 'google/protobuf'
6
7
  require 'opentelemetry/proto/common/v1/common_pb'
7
8
  require 'opentelemetry/proto/resource/v1/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("opentelemetry/proto/logs/v1/logs.proto", :syntax => :proto3) do
11
- add_message "opentelemetry.proto.logs.v1.LogsData" do
12
- repeated :resource_logs, :message, 1, "opentelemetry.proto.logs.v1.ResourceLogs"
13
- end
14
- add_message "opentelemetry.proto.logs.v1.ResourceLogs" do
15
- optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
- repeated :scope_logs, :message, 2, "opentelemetry.proto.logs.v1.ScopeLogs"
17
- optional :schema_url, :string, 3
18
- end
19
- add_message "opentelemetry.proto.logs.v1.ScopeLogs" do
20
- optional :scope, :message, 1, "opentelemetry.proto.common.v1.InstrumentationScope"
21
- repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord"
22
- optional :schema_url, :string, 3
23
- end
24
- add_message "opentelemetry.proto.logs.v1.LogRecord" do
25
- optional :time_unix_nano, :fixed64, 1
26
- optional :observed_time_unix_nano, :fixed64, 11
27
- optional :severity_number, :enum, 2, "opentelemetry.proto.logs.v1.SeverityNumber"
28
- optional :severity_text, :string, 3
29
- optional :body, :message, 5, "opentelemetry.proto.common.v1.AnyValue"
30
- repeated :attributes, :message, 6, "opentelemetry.proto.common.v1.KeyValue"
31
- optional :dropped_attributes_count, :uint32, 7
32
- optional :flags, :fixed32, 8
33
- optional :trace_id, :bytes, 9
34
- optional :span_id, :bytes, 10
35
- end
36
- add_enum "opentelemetry.proto.logs.v1.SeverityNumber" do
37
- value :SEVERITY_NUMBER_UNSPECIFIED, 0
38
- value :SEVERITY_NUMBER_TRACE, 1
39
- value :SEVERITY_NUMBER_TRACE2, 2
40
- value :SEVERITY_NUMBER_TRACE3, 3
41
- value :SEVERITY_NUMBER_TRACE4, 4
42
- value :SEVERITY_NUMBER_DEBUG, 5
43
- value :SEVERITY_NUMBER_DEBUG2, 6
44
- value :SEVERITY_NUMBER_DEBUG3, 7
45
- value :SEVERITY_NUMBER_DEBUG4, 8
46
- value :SEVERITY_NUMBER_INFO, 9
47
- value :SEVERITY_NUMBER_INFO2, 10
48
- value :SEVERITY_NUMBER_INFO3, 11
49
- value :SEVERITY_NUMBER_INFO4, 12
50
- value :SEVERITY_NUMBER_WARN, 13
51
- value :SEVERITY_NUMBER_WARN2, 14
52
- value :SEVERITY_NUMBER_WARN3, 15
53
- value :SEVERITY_NUMBER_WARN4, 16
54
- value :SEVERITY_NUMBER_ERROR, 17
55
- value :SEVERITY_NUMBER_ERROR2, 18
56
- value :SEVERITY_NUMBER_ERROR3, 19
57
- value :SEVERITY_NUMBER_ERROR4, 20
58
- value :SEVERITY_NUMBER_FATAL, 21
59
- value :SEVERITY_NUMBER_FATAL2, 22
60
- value :SEVERITY_NUMBER_FATAL3, 23
61
- value :SEVERITY_NUMBER_FATAL4, 24
62
- end
63
- add_enum "opentelemetry.proto.logs.v1.LogRecordFlags" do
64
- value :LOG_RECORD_FLAGS_DO_NOT_USE, 0
65
- value :LOG_RECORD_FLAGS_TRACE_FLAGS_MASK, 255
66
- end
67
- end
68
- end
10
+
11
+ 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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
69
15
 
70
16
  module Opentelemetry
71
17
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/metrics/v1/metrics.proto
3
4
 
@@ -6,130 +7,11 @@ require 'google/protobuf'
6
7
  require 'opentelemetry/proto/common/v1/common_pb'
7
8
  require 'opentelemetry/proto/resource/v1/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("opentelemetry/proto/metrics/v1/metrics.proto", :syntax => :proto3) do
11
- add_message "opentelemetry.proto.metrics.v1.MetricsData" do
12
- repeated :resource_metrics, :message, 1, "opentelemetry.proto.metrics.v1.ResourceMetrics"
13
- end
14
- add_message "opentelemetry.proto.metrics.v1.ResourceMetrics" do
15
- optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
- repeated :scope_metrics, :message, 2, "opentelemetry.proto.metrics.v1.ScopeMetrics"
17
- optional :schema_url, :string, 3
18
- end
19
- add_message "opentelemetry.proto.metrics.v1.ScopeMetrics" do
20
- optional :scope, :message, 1, "opentelemetry.proto.common.v1.InstrumentationScope"
21
- repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
22
- optional :schema_url, :string, 3
23
- end
24
- add_message "opentelemetry.proto.metrics.v1.Metric" do
25
- optional :name, :string, 1
26
- optional :description, :string, 2
27
- optional :unit, :string, 3
28
- oneof :data do
29
- optional :gauge, :message, 5, "opentelemetry.proto.metrics.v1.Gauge"
30
- optional :sum, :message, 7, "opentelemetry.proto.metrics.v1.Sum"
31
- optional :histogram, :message, 9, "opentelemetry.proto.metrics.v1.Histogram"
32
- optional :exponential_histogram, :message, 10, "opentelemetry.proto.metrics.v1.ExponentialHistogram"
33
- optional :summary, :message, 11, "opentelemetry.proto.metrics.v1.Summary"
34
- end
35
- end
36
- add_message "opentelemetry.proto.metrics.v1.Gauge" do
37
- repeated :data_points, :message, 1, "opentelemetry.proto.metrics.v1.NumberDataPoint"
38
- end
39
- add_message "opentelemetry.proto.metrics.v1.Sum" do
40
- repeated :data_points, :message, 1, "opentelemetry.proto.metrics.v1.NumberDataPoint"
41
- optional :aggregation_temporality, :enum, 2, "opentelemetry.proto.metrics.v1.AggregationTemporality"
42
- optional :is_monotonic, :bool, 3
43
- end
44
- add_message "opentelemetry.proto.metrics.v1.Histogram" do
45
- repeated :data_points, :message, 1, "opentelemetry.proto.metrics.v1.HistogramDataPoint"
46
- optional :aggregation_temporality, :enum, 2, "opentelemetry.proto.metrics.v1.AggregationTemporality"
47
- end
48
- add_message "opentelemetry.proto.metrics.v1.ExponentialHistogram" do
49
- repeated :data_points, :message, 1, "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint"
50
- optional :aggregation_temporality, :enum, 2, "opentelemetry.proto.metrics.v1.AggregationTemporality"
51
- end
52
- add_message "opentelemetry.proto.metrics.v1.Summary" do
53
- repeated :data_points, :message, 1, "opentelemetry.proto.metrics.v1.SummaryDataPoint"
54
- end
55
- add_message "opentelemetry.proto.metrics.v1.NumberDataPoint" do
56
- repeated :attributes, :message, 7, "opentelemetry.proto.common.v1.KeyValue"
57
- optional :start_time_unix_nano, :fixed64, 2
58
- optional :time_unix_nano, :fixed64, 3
59
- repeated :exemplars, :message, 5, "opentelemetry.proto.metrics.v1.Exemplar"
60
- optional :flags, :uint32, 8
61
- oneof :value do
62
- optional :as_double, :double, 4
63
- optional :as_int, :sfixed64, 6
64
- end
65
- end
66
- add_message "opentelemetry.proto.metrics.v1.HistogramDataPoint" do
67
- repeated :attributes, :message, 9, "opentelemetry.proto.common.v1.KeyValue"
68
- optional :start_time_unix_nano, :fixed64, 2
69
- optional :time_unix_nano, :fixed64, 3
70
- optional :count, :fixed64, 4
71
- proto3_optional :sum, :double, 5
72
- repeated :bucket_counts, :fixed64, 6
73
- repeated :explicit_bounds, :double, 7
74
- repeated :exemplars, :message, 8, "opentelemetry.proto.metrics.v1.Exemplar"
75
- optional :flags, :uint32, 10
76
- proto3_optional :min, :double, 11
77
- proto3_optional :max, :double, 12
78
- end
79
- add_message "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint" do
80
- repeated :attributes, :message, 1, "opentelemetry.proto.common.v1.KeyValue"
81
- optional :start_time_unix_nano, :fixed64, 2
82
- optional :time_unix_nano, :fixed64, 3
83
- optional :count, :fixed64, 4
84
- proto3_optional :sum, :double, 5
85
- optional :scale, :sint32, 6
86
- optional :zero_count, :fixed64, 7
87
- optional :positive, :message, 8, "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"
88
- optional :negative, :message, 9, "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"
89
- optional :flags, :uint32, 10
90
- repeated :exemplars, :message, 11, "opentelemetry.proto.metrics.v1.Exemplar"
91
- proto3_optional :min, :double, 12
92
- proto3_optional :max, :double, 13
93
- optional :zero_threshold, :double, 14
94
- end
95
- add_message "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets" do
96
- optional :offset, :sint32, 1
97
- repeated :bucket_counts, :uint64, 2
98
- end
99
- add_message "opentelemetry.proto.metrics.v1.SummaryDataPoint" do
100
- repeated :attributes, :message, 7, "opentelemetry.proto.common.v1.KeyValue"
101
- optional :start_time_unix_nano, :fixed64, 2
102
- optional :time_unix_nano, :fixed64, 3
103
- optional :count, :fixed64, 4
104
- optional :sum, :double, 5
105
- repeated :quantile_values, :message, 6, "opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile"
106
- optional :flags, :uint32, 8
107
- end
108
- add_message "opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile" do
109
- optional :quantile, :double, 1
110
- optional :value, :double, 2
111
- end
112
- add_message "opentelemetry.proto.metrics.v1.Exemplar" do
113
- repeated :filtered_attributes, :message, 7, "opentelemetry.proto.common.v1.KeyValue"
114
- optional :time_unix_nano, :fixed64, 2
115
- optional :span_id, :bytes, 4
116
- optional :trace_id, :bytes, 5
117
- oneof :value do
118
- optional :as_double, :double, 3
119
- optional :as_int, :sfixed64, 6
120
- end
121
- end
122
- add_enum "opentelemetry.proto.metrics.v1.AggregationTemporality" do
123
- value :AGGREGATION_TEMPORALITY_UNSPECIFIED, 0
124
- value :AGGREGATION_TEMPORALITY_DELTA, 1
125
- value :AGGREGATION_TEMPORALITY_CUMULATIVE, 2
126
- end
127
- add_enum "opentelemetry.proto.metrics.v1.DataPointFlags" do
128
- value :DATA_POINT_FLAGS_DO_NOT_USE, 0
129
- value :DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK, 1
130
- end
131
- end
132
- end
10
+
11
+ descriptor_data = "\n,opentelemetry/proto/metrics/v1/metrics.proto\x12\x1eopentelemetry.proto.metrics.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"X\n\x0bMetricsData\x12I\n\x10resource_metrics\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.ResourceMetrics\"\xaf\x01\n\x0fResourceMetrics\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12\x43\n\rscope_metrics\x18\x02 \x03(\x0b\x32,.opentelemetry.proto.metrics.v1.ScopeMetrics\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x9f\x01\n\x0cScopeMetrics\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x37\n\x07metrics\x18\x02 \x03(\x0b\x32&.opentelemetry.proto.metrics.v1.Metric\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\x92\x03\n\x06Metric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04unit\x18\x03 \x01(\t\x12\x36\n\x05gauge\x18\x05 \x01(\x0b\x32%.opentelemetry.proto.metrics.v1.GaugeH\x00\x12\x32\n\x03sum\x18\x07 \x01(\x0b\x32#.opentelemetry.proto.metrics.v1.SumH\x00\x12>\n\thistogram\x18\t \x01(\x0b\x32).opentelemetry.proto.metrics.v1.HistogramH\x00\x12U\n\x15\x65xponential_histogram\x18\n \x01(\x0b\x32\x34.opentelemetry.proto.metrics.v1.ExponentialHistogramH\x00\x12:\n\x07summary\x18\x0b \x01(\x0b\x32\'.opentelemetry.proto.metrics.v1.SummaryH\x00\x42\x06\n\x04\x64\x61taJ\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x08\x10\t\"M\n\x05Gauge\x12\x44\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPoint\"\xba\x01\n\x03Sum\x12\x44\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32/.opentelemetry.proto.metrics.v1.NumberDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\x12\x14\n\x0cis_monotonic\x18\x03 \x01(\x08\"\xad\x01\n\tHistogram\x12G\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x32.opentelemetry.proto.metrics.v1.HistogramDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\"\xc3\x01\n\x14\x45xponentialHistogram\x12R\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32=.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint\x12W\n\x17\x61ggregation_temporality\x18\x02 \x01(\x0e\x32\x36.opentelemetry.proto.metrics.v1.AggregationTemporality\"P\n\x07Summary\x12\x45\n\x0b\x64\x61ta_points\x18\x01 \x03(\x0b\x32\x30.opentelemetry.proto.metrics.v1.SummaryDataPoint\"\x86\x02\n\x0fNumberDataPoint\x12;\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\x13\n\tas_double\x18\x04 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x06 \x01(\x10H\x00\x12;\n\texemplars\x18\x05 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\r\n\x05\x66lags\x18\x08 \x01(\rB\x07\n\x05valueJ\x04\x08\x01\x10\x02\"\xe6\x02\n\x12HistogramDataPoint\x12;\n\nattributes\x18\t \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x10\n\x03sum\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\rbucket_counts\x18\x06 \x03(\x06\x12\x17\n\x0f\x65xplicit_bounds\x18\x07 \x03(\x01\x12;\n\texemplars\x18\x08 \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\r\n\x05\x66lags\x18\n \x01(\r\x12\x10\n\x03min\x18\x0b \x01(\x01H\x01\x88\x01\x01\x12\x10\n\x03max\x18\x0c \x01(\x01H\x02\x88\x01\x01\x42\x06\n\x04_sumB\x06\n\x04_minB\x06\n\x04_maxJ\x04\x08\x01\x10\x02\"\xda\x04\n\x1d\x45xponentialHistogramDataPoint\x12;\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x10\n\x03sum\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12\r\n\x05scale\x18\x06 \x01(\x11\x12\x12\n\nzero_count\x18\x07 \x01(\x06\x12W\n\x08positive\x18\x08 \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets\x12W\n\x08negative\x18\t \x01(\x0b\x32\x45.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets\x12\r\n\x05\x66lags\x18\n \x01(\r\x12;\n\texemplars\x18\x0b \x03(\x0b\x32(.opentelemetry.proto.metrics.v1.Exemplar\x12\x10\n\x03min\x18\x0c \x01(\x01H\x01\x88\x01\x01\x12\x10\n\x03max\x18\r \x01(\x01H\x02\x88\x01\x01\x12\x16\n\x0ezero_threshold\x18\x0e \x01(\x01\x1a\x30\n\x07\x42uckets\x12\x0e\n\x06offset\x18\x01 \x01(\x11\x12\x15\n\rbucket_counts\x18\x02 \x03(\x04\x42\x06\n\x04_sumB\x06\n\x04_minB\x06\n\x04_max\"\xc5\x02\n\x10SummaryDataPoint\x12;\n\nattributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x1c\n\x14start_time_unix_nano\x18\x02 \x01(\x06\x12\x16\n\x0etime_unix_nano\x18\x03 \x01(\x06\x12\r\n\x05\x63ount\x18\x04 \x01(\x06\x12\x0b\n\x03sum\x18\x05 \x01(\x01\x12Y\n\x0fquantile_values\x18\x06 \x03(\x0b\x32@.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile\x12\r\n\x05\x66lags\x18\x08 \x01(\r\x1a\x32\n\x0fValueAtQuantile\x12\x10\n\x08quantile\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01J\x04\x08\x01\x10\x02\"\xc1\x01\n\x08\x45xemplar\x12\x44\n\x13\x66iltered_attributes\x18\x07 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12\x16\n\x0etime_unix_nano\x18\x02 \x01(\x06\x12\x13\n\tas_double\x18\x03 \x01(\x01H\x00\x12\x10\n\x06\x61s_int\x18\x06 \x01(\x10H\x00\x12\x0f\n\x07span_id\x18\x04 \x01(\x0c\x12\x10\n\x08trace_id\x18\x05 \x01(\x0c\x42\x07\n\x05valueJ\x04\x08\x01\x10\x02*\x8c\x01\n\x16\x41ggregationTemporality\x12\'\n#AGGREGATION_TEMPORALITY_UNSPECIFIED\x10\x00\x12!\n\x1d\x41GGREGATION_TEMPORALITY_DELTA\x10\x01\x12&\n\"AGGREGATION_TEMPORALITY_CUMULATIVE\x10\x02*^\n\x0e\x44\x61taPointFlags\x12\x1f\n\x1b\x44\x41TA_POINT_FLAGS_DO_NOT_USE\x10\x00\x12+\n\'DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK\x10\x01\x42\x7f\n!io.opentelemetry.proto.metrics.v1B\x0cMetricsProtoP\x01Z)go.opentelemetry.io/proto/otlp/metrics/v1\xaa\x02\x1eOpenTelemetry.Proto.Metrics.V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
133
15
 
134
16
  module Opentelemetry
135
17
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/resource/v1/resource.proto
3
4
 
@@ -5,14 +6,11 @@ require 'google/protobuf'
5
6
 
6
7
  require 'opentelemetry/proto/common/v1/common_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("opentelemetry/proto/resource/v1/resource.proto", :syntax => :proto3) do
10
- add_message "opentelemetry.proto.resource.v1.Resource" do
11
- repeated :attributes, :message, 1, "opentelemetry.proto.common.v1.KeyValue"
12
- optional :dropped_attributes_count, :uint32, 2
13
- end
14
- end
15
- end
9
+
10
+ descriptor_data = "\n.opentelemetry/proto/resource/v1/resource.proto\x12\x1fopentelemetry.proto.resource.v1\x1a*opentelemetry/proto/common/v1/common.proto\"i\n\x08Resource\x12;\n\nattributes\x18\x01 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x02 \x01(\rB\x83\x01\n\"io.opentelemetry.proto.resource.v1B\rResourceProtoP\x01Z*go.opentelemetry.io/proto/otlp/resource/v1\xaa\x02\x1fOpenTelemetry.Proto.Resource.V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
16
14
 
17
15
  module Opentelemetry
18
16
  module Proto
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: opentelemetry/proto/trace/v1/trace.proto
3
4
 
@@ -6,70 +7,11 @@ require 'google/protobuf'
6
7
  require 'opentelemetry/proto/common/v1/common_pb'
7
8
  require 'opentelemetry/proto/resource/v1/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("opentelemetry/proto/trace/v1/trace.proto", :syntax => :proto3) do
11
- add_message "opentelemetry.proto.trace.v1.TracesData" do
12
- repeated :resource_spans, :message, 1, "opentelemetry.proto.trace.v1.ResourceSpans"
13
- end
14
- add_message "opentelemetry.proto.trace.v1.ResourceSpans" do
15
- optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
- repeated :scope_spans, :message, 2, "opentelemetry.proto.trace.v1.ScopeSpans"
17
- optional :schema_url, :string, 3
18
- end
19
- add_message "opentelemetry.proto.trace.v1.ScopeSpans" do
20
- optional :scope, :message, 1, "opentelemetry.proto.common.v1.InstrumentationScope"
21
- repeated :spans, :message, 2, "opentelemetry.proto.trace.v1.Span"
22
- optional :schema_url, :string, 3
23
- end
24
- add_message "opentelemetry.proto.trace.v1.Span" do
25
- optional :trace_id, :bytes, 1
26
- optional :span_id, :bytes, 2
27
- optional :trace_state, :string, 3
28
- optional :parent_span_id, :bytes, 4
29
- optional :name, :string, 5
30
- optional :kind, :enum, 6, "opentelemetry.proto.trace.v1.Span.SpanKind"
31
- optional :start_time_unix_nano, :fixed64, 7
32
- optional :end_time_unix_nano, :fixed64, 8
33
- repeated :attributes, :message, 9, "opentelemetry.proto.common.v1.KeyValue"
34
- optional :dropped_attributes_count, :uint32, 10
35
- repeated :events, :message, 11, "opentelemetry.proto.trace.v1.Span.Event"
36
- optional :dropped_events_count, :uint32, 12
37
- repeated :links, :message, 13, "opentelemetry.proto.trace.v1.Span.Link"
38
- optional :dropped_links_count, :uint32, 14
39
- optional :status, :message, 15, "opentelemetry.proto.trace.v1.Status"
40
- end
41
- add_message "opentelemetry.proto.trace.v1.Span.Event" do
42
- optional :time_unix_nano, :fixed64, 1
43
- optional :name, :string, 2
44
- repeated :attributes, :message, 3, "opentelemetry.proto.common.v1.KeyValue"
45
- optional :dropped_attributes_count, :uint32, 4
46
- end
47
- add_message "opentelemetry.proto.trace.v1.Span.Link" do
48
- optional :trace_id, :bytes, 1
49
- optional :span_id, :bytes, 2
50
- optional :trace_state, :string, 3
51
- repeated :attributes, :message, 4, "opentelemetry.proto.common.v1.KeyValue"
52
- optional :dropped_attributes_count, :uint32, 5
53
- end
54
- add_enum "opentelemetry.proto.trace.v1.Span.SpanKind" do
55
- value :SPAN_KIND_UNSPECIFIED, 0
56
- value :SPAN_KIND_INTERNAL, 1
57
- value :SPAN_KIND_SERVER, 2
58
- value :SPAN_KIND_CLIENT, 3
59
- value :SPAN_KIND_PRODUCER, 4
60
- value :SPAN_KIND_CONSUMER, 5
61
- end
62
- add_message "opentelemetry.proto.trace.v1.Status" do
63
- optional :message, :string, 2
64
- optional :code, :enum, 3, "opentelemetry.proto.trace.v1.Status.StatusCode"
65
- end
66
- add_enum "opentelemetry.proto.trace.v1.Status.StatusCode" do
67
- value :STATUS_CODE_UNSET, 0
68
- value :STATUS_CODE_OK, 1
69
- value :STATUS_CODE_ERROR, 2
70
- end
71
- end
72
- end
10
+
11
+ descriptor_data = "\n(opentelemetry/proto/trace/v1/trace.proto\x12\x1copentelemetry.proto.trace.v1\x1a*opentelemetry/proto/common/v1/common.proto\x1a.opentelemetry/proto/resource/v1/resource.proto\"Q\n\nTracesData\x12\x43\n\x0eresource_spans\x18\x01 \x03(\x0b\x32+.opentelemetry.proto.trace.v1.ResourceSpans\"\xa7\x01\n\rResourceSpans\x12;\n\x08resource\x18\x01 \x01(\x0b\x32).opentelemetry.proto.resource.v1.Resource\x12=\n\x0bscope_spans\x18\x02 \x03(\x0b\x32(.opentelemetry.proto.trace.v1.ScopeSpans\x12\x12\n\nschema_url\x18\x03 \x01(\tJ\x06\x08\xe8\x07\x10\xe9\x07\"\x97\x01\n\nScopeSpans\x12\x42\n\x05scope\x18\x01 \x01(\x0b\x32\x33.opentelemetry.proto.common.v1.InstrumentationScope\x12\x31\n\x05spans\x18\x02 \x03(\x0b\x32\".opentelemetry.proto.trace.v1.Span\x12\x12\n\nschema_url\x18\x03 \x01(\t\"\xe6\x07\n\x04Span\x12\x10\n\x08trace_id\x18\x01 \x01(\x0c\x12\x0f\n\x07span_id\x18\x02 \x01(\x0c\x12\x13\n\x0btrace_state\x18\x03 \x01(\t\x12\x16\n\x0eparent_span_id\x18\x04 \x01(\x0c\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x39\n\x04kind\x18\x06 \x01(\x0e\x32+.opentelemetry.proto.trace.v1.Span.SpanKind\x12\x1c\n\x14start_time_unix_nano\x18\x07 \x01(\x06\x12\x1a\n\x12\x65nd_time_unix_nano\x18\x08 \x01(\x06\x12;\n\nattributes\x18\t \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\n \x01(\r\x12\x38\n\x06\x65vents\x18\x0b \x03(\x0b\x32(.opentelemetry.proto.trace.v1.Span.Event\x12\x1c\n\x14\x64ropped_events_count\x18\x0c \x01(\r\x12\x36\n\x05links\x18\r \x03(\x0b\x32\'.opentelemetry.proto.trace.v1.Span.Link\x12\x1b\n\x13\x64ropped_links_count\x18\x0e \x01(\r\x12\x34\n\x06status\x18\x0f \x01(\x0b\x32$.opentelemetry.proto.trace.v1.Status\x1a\x8c\x01\n\x05\x45vent\x12\x16\n\x0etime_unix_nano\x18\x01 \x01(\x06\x12\x0c\n\x04name\x18\x02 \x01(\t\x12;\n\nattributes\x18\x03 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x04 \x01(\r\x1a\x9d\x01\n\x04Link\x12\x10\n\x08trace_id\x18\x01 \x01(\x0c\x12\x0f\n\x07span_id\x18\x02 \x01(\x0c\x12\x13\n\x0btrace_state\x18\x03 \x01(\t\x12;\n\nattributes\x18\x04 \x03(\x0b\x32\'.opentelemetry.proto.common.v1.KeyValue\x12 \n\x18\x64ropped_attributes_count\x18\x05 \x01(\r\"\x99\x01\n\x08SpanKind\x12\x19\n\x15SPAN_KIND_UNSPECIFIED\x10\x00\x12\x16\n\x12SPAN_KIND_INTERNAL\x10\x01\x12\x14\n\x10SPAN_KIND_SERVER\x10\x02\x12\x14\n\x10SPAN_KIND_CLIENT\x10\x03\x12\x16\n\x12SPAN_KIND_PRODUCER\x10\x04\x12\x16\n\x12SPAN_KIND_CONSUMER\x10\x05\"\xae\x01\n\x06Status\x12\x0f\n\x07message\x18\x02 \x01(\t\x12=\n\x04\x63ode\x18\x03 \x01(\x0e\x32/.opentelemetry.proto.trace.v1.Status.StatusCode\"N\n\nStatusCode\x12\x15\n\x11STATUS_CODE_UNSET\x10\x00\x12\x12\n\x0eSTATUS_CODE_OK\x10\x01\x12\x15\n\x11STATUS_CODE_ERROR\x10\x02J\x04\x08\x01\x10\x02\x42w\n\x1fio.opentelemetry.proto.trace.v1B\nTraceProtoP\x01Z\'go.opentelemetry.io/proto/otlp/trace/v1\xaa\x02\x1cOpenTelemetry.Proto.Trace.V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
73
15
 
74
16
  module Opentelemetry
75
17
  module Proto
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-exporter-otlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-05 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: google-protobuf
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.14'
33
+ version: '3.18'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '3.14'
40
+ version: '3.18'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-api
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -289,10 +289,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
289
289
  licenses:
290
290
  - Apache-2.0
291
291
  metadata:
292
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.27.0/file.CHANGELOG.html
292
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.28.1/file.CHANGELOG.html
293
293
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
294
294
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
295
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.27.0
295
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.28.1
296
296
  post_install_message:
297
297
  rdoc_options: []
298
298
  require_paths: