opentelemetry-exporter-otlp 0.24.1 → 0.26.0

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: 19f69c6065c9bf4c537f1668c31e949540c02212f367148a3faebd95594153bf
4
- data.tar.gz: 7c6a54a0d659617ff3894ca801b8101a0dfbeeb7a7b23580450c4d0ad6b62051
3
+ metadata.gz: 6ea9c42597a6b63fe341e3003bee8ffbba2a6e3c5a74e3ddc4ff30ae41345b2e
4
+ data.tar.gz: b1714933dff93b3e4403732872ac211a5c3562ff6dbed90c739e132e408a2c01
5
5
  SHA512:
6
- metadata.gz: 786cf3844a9cf0c1526abe2a5c74cc3cb74db6c6896cbe03b4a5495b9216d31192f48d12b93d78c47ba9f61140b9b19e9521a208713be87bc7e0512141448d4a
7
- data.tar.gz: 3cd71b5839ffb3ce84a458a466e4dbb57db63a1f57af286a7df2ab5a52965e7af6e685c8457160a123a9b25964cd59796e93337874b3f8b341510837aca4a229
6
+ metadata.gz: 63b1cdc9d52ca362f06546936a475cbdce954452833057dbf6797443d8a2d728fddc417cc5d8c3fb1a1c6c0dcc44315ca2484e921d1d80a9ed00b4541d87f53b
7
+ data.tar.gz: d18de69cd1466058ff2af29e38a6015342acbb1baabd7eb7e8022f7ee715202fd8e271edcfd7fde510e0ea67c3fbf378e5428b1600e07d16c800f03f5d59ff39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Release History: opentelemetry-exporter-otlp
2
2
 
3
+ ### v0.26.0 / 2023-06-13
4
+
5
+ * ADDED: Use OTLP 0.20.0 protos
6
+
7
+ ### v0.25.0 / 2023-06-01
8
+
9
+ * BREAKING CHANGE: Remove support for EoL Ruby 2.7
10
+
11
+ * ADDED: Remove support for EoL Ruby 2.7
12
+ * FIXED: Make version available to user agent header #1458
13
+
3
14
  ### v0.24.1 / 2023-05-30
4
15
 
5
16
  * FIXED: Add Ruby 3.2 to CI and do small fix
@@ -35,7 +35,7 @@ module OpenTelemetry
35
35
  ERROR_MESSAGE_INVALID_HEADERS = 'headers must be a String with comma-separated URL Encoded UTF-8 k=v pairs or a Hash'
36
36
  private_constant(:ERROR_MESSAGE_INVALID_HEADERS)
37
37
 
38
- DEFAULT_USER_AGENT = "OTel-OTLP-Exporter-Ruby/#{OpenTelemetry::Exporter::OTLP::VERSION} Ruby/#{RUBY_VERSION} (#{RUBY_PLATFORM}; #{RUBY_ENGINE}/#{RUBY_ENGINE_VERSION})"
38
+ DEFAULT_USER_AGENT = "OTel-OTLP-Exporter-Ruby/#{OpenTelemetry::Exporter::OTLP::VERSION} Ruby/#{RUBY_VERSION} (#{RUBY_PLATFORM}; #{RUBY_ENGINE}/#{RUBY_ENGINE_VERSION})".freeze
39
39
 
40
40
  def self.ssl_verify_mode
41
41
  if ENV.key?('OTEL_RUBY_EXPORTER_OTLP_SSL_VERIFY_PEER')
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module OTLP
10
10
  ## Current OpenTelemetry OTLP exporter version
11
- VERSION = '0.24.1'
11
+ VERSION = '0.26.0'
12
12
  end
13
13
  end
14
14
  end
@@ -4,8 +4,8 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require 'opentelemetry/exporter/otlp/exporter'
8
7
  require 'opentelemetry/exporter/otlp/version'
8
+ require 'opentelemetry/exporter/otlp/exporter'
9
9
 
10
10
  # OpenTelemetry is an open source observability framework, providing a
11
11
  # general-purpose API, SDK, and related tools required for the instrumentation
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  repeated :resource_logs, :message, 1, "opentelemetry.proto.logs.v1.ResourceLogs"
12
12
  end
13
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
14
19
  end
15
20
  end
16
21
  end
@@ -22,6 +27,7 @@ module Opentelemetry
22
27
  module V1
23
28
  ExportLogsServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest").msgclass
24
29
  ExportLogsServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse").msgclass
30
+ ExportLogsPartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess").msgclass
25
31
  end
26
32
  end
27
33
  end
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  repeated :resource_metrics, :message, 1, "opentelemetry.proto.metrics.v1.ResourceMetrics"
12
12
  end
13
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
14
19
  end
15
20
  end
16
21
  end
@@ -22,6 +27,7 @@ module Opentelemetry
22
27
  module V1
23
28
  ExportMetricsServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest").msgclass
24
29
  ExportMetricsServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse").msgclass
30
+ ExportMetricsPartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess").msgclass
25
31
  end
26
32
  end
27
33
  end
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  repeated :resource_spans, :message, 1, "opentelemetry.proto.trace.v1.ResourceSpans"
12
12
  end
13
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
14
19
  end
15
20
  end
16
21
  end
@@ -22,6 +27,7 @@ module Opentelemetry
22
27
  module V1
23
28
  ExportTraceServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest").msgclass
24
29
  ExportTraceServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse").msgclass
30
+ ExportTracePartialSuccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess").msgclass
25
31
  end
26
32
  end
27
33
  end
@@ -26,13 +26,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
26
  optional :key, :string, 1
27
27
  optional :value, :message, 2, "opentelemetry.proto.common.v1.AnyValue"
28
28
  end
29
- add_message "opentelemetry.proto.common.v1.InstrumentationLibrary" do
30
- optional :name, :string, 1
31
- optional :version, :string, 2
32
- end
33
29
  add_message "opentelemetry.proto.common.v1.InstrumentationScope" do
34
30
  optional :name, :string, 1
35
31
  optional :version, :string, 2
32
+ repeated :attributes, :message, 3, "opentelemetry.proto.common.v1.KeyValue"
33
+ optional :dropped_attributes_count, :uint32, 4
36
34
  end
37
35
  end
38
36
  end
@@ -45,7 +43,6 @@ module Opentelemetry
45
43
  ArrayValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.ArrayValue").msgclass
46
44
  KeyValueList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValueList").msgclass
47
45
  KeyValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.KeyValue").msgclass
48
- InstrumentationLibrary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.InstrumentationLibrary").msgclass
49
46
  InstrumentationScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.common.v1.InstrumentationScope").msgclass
50
47
  end
51
48
  end
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_message "opentelemetry.proto.logs.v1.ResourceLogs" do
15
15
  optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
16
  repeated :scope_logs, :message, 2, "opentelemetry.proto.logs.v1.ScopeLogs"
17
- repeated :instrumentation_library_logs, :message, 1000, "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs"
18
17
  optional :schema_url, :string, 3
19
18
  end
20
19
  add_message "opentelemetry.proto.logs.v1.ScopeLogs" do
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
21
  repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord"
23
22
  optional :schema_url, :string, 3
24
23
  end
25
- add_message "opentelemetry.proto.logs.v1.InstrumentationLibraryLogs" do
26
- optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
27
- repeated :log_records, :message, 2, "opentelemetry.proto.logs.v1.LogRecord"
28
- optional :schema_url, :string, 3
29
- end
30
24
  add_message "opentelemetry.proto.logs.v1.LogRecord" do
31
25
  optional :time_unix_nano, :fixed64, 1
32
26
  optional :observed_time_unix_nano, :fixed64, 11
@@ -67,8 +61,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
67
61
  value :SEVERITY_NUMBER_FATAL4, 24
68
62
  end
69
63
  add_enum "opentelemetry.proto.logs.v1.LogRecordFlags" do
70
- value :LOG_RECORD_FLAG_UNSPECIFIED, 0
71
- value :LOG_RECORD_FLAG_TRACE_FLAGS_MASK, 255
64
+ value :LOG_RECORD_FLAGS_DO_NOT_USE, 0
65
+ value :LOG_RECORD_FLAGS_TRACE_FLAGS_MASK, 255
72
66
  end
73
67
  end
74
68
  end
@@ -80,7 +74,6 @@ module Opentelemetry
80
74
  LogsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogsData").msgclass
81
75
  ResourceLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ResourceLogs").msgclass
82
76
  ScopeLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.ScopeLogs").msgclass
83
- InstrumentationLibraryLogs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.InstrumentationLibraryLogs").msgclass
84
77
  LogRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecord").msgclass
85
78
  SeverityNumber = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.SeverityNumber").enummodule
86
79
  LogRecordFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.logs.v1.LogRecordFlags").enummodule
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_message "opentelemetry.proto.metrics.v1.ResourceMetrics" do
15
15
  optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
16
  repeated :scope_metrics, :message, 2, "opentelemetry.proto.metrics.v1.ScopeMetrics"
17
- repeated :instrumentation_library_metrics, :message, 1000, "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics"
18
17
  optional :schema_url, :string, 3
19
18
  end
20
19
  add_message "opentelemetry.proto.metrics.v1.ScopeMetrics" do
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
21
  repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
23
22
  optional :schema_url, :string, 3
24
23
  end
25
- add_message "opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics" do
26
- optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
27
- repeated :metrics, :message, 2, "opentelemetry.proto.metrics.v1.Metric"
28
- optional :schema_url, :string, 3
29
- end
30
24
  add_message "opentelemetry.proto.metrics.v1.Metric" do
31
25
  optional :name, :string, 1
32
26
  optional :description, :string, 2
@@ -96,6 +90,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
96
90
  repeated :exemplars, :message, 11, "opentelemetry.proto.metrics.v1.Exemplar"
97
91
  proto3_optional :min, :double, 12
98
92
  proto3_optional :max, :double, 13
93
+ optional :zero_threshold, :double, 14
99
94
  end
100
95
  add_message "opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets" do
101
96
  optional :offset, :sint32, 1
@@ -130,8 +125,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
130
125
  value :AGGREGATION_TEMPORALITY_CUMULATIVE, 2
131
126
  end
132
127
  add_enum "opentelemetry.proto.metrics.v1.DataPointFlags" do
133
- value :FLAG_NONE, 0
134
- value :FLAG_NO_RECORDED_VALUE, 1
128
+ value :DATA_POINT_FLAGS_DO_NOT_USE, 0
129
+ value :DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK, 1
135
130
  end
136
131
  end
137
132
  end
@@ -143,7 +138,6 @@ module Opentelemetry
143
138
  MetricsData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.MetricsData").msgclass
144
139
  ResourceMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ResourceMetrics").msgclass
145
140
  ScopeMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.ScopeMetrics").msgclass
146
- InstrumentationLibraryMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics").msgclass
147
141
  Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Metric").msgclass
148
142
  Gauge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Gauge").msgclass
149
143
  Sum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.metrics.v1.Sum").msgclass
@@ -14,7 +14,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_message "opentelemetry.proto.trace.v1.ResourceSpans" do
15
15
  optional :resource, :message, 1, "opentelemetry.proto.resource.v1.Resource"
16
16
  repeated :scope_spans, :message, 2, "opentelemetry.proto.trace.v1.ScopeSpans"
17
- repeated :instrumentation_library_spans, :message, 1000, "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans"
18
17
  optional :schema_url, :string, 3
19
18
  end
20
19
  add_message "opentelemetry.proto.trace.v1.ScopeSpans" do
@@ -22,11 +21,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
21
  repeated :spans, :message, 2, "opentelemetry.proto.trace.v1.Span"
23
22
  optional :schema_url, :string, 3
24
23
  end
25
- add_message "opentelemetry.proto.trace.v1.InstrumentationLibrarySpans" do
26
- optional :instrumentation_library, :message, 1, "opentelemetry.proto.common.v1.InstrumentationLibrary"
27
- repeated :spans, :message, 2, "opentelemetry.proto.trace.v1.Span"
28
- optional :schema_url, :string, 3
29
- end
30
24
  add_message "opentelemetry.proto.trace.v1.Span" do
31
25
  optional :trace_id, :bytes, 1
32
26
  optional :span_id, :bytes, 2
@@ -84,7 +78,6 @@ module Opentelemetry
84
78
  TracesData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.TracesData").msgclass
85
79
  ResourceSpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ResourceSpans").msgclass
86
80
  ScopeSpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.ScopeSpans").msgclass
87
- InstrumentationLibrarySpans = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.InstrumentationLibrarySpans").msgclass
88
81
  Span = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span").msgclass
89
82
  Span::Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span.Event").msgclass
90
83
  Span::Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opentelemetry.proto.trace.v1.Span.Link").msgclass
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.24.1
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.19.6
61
+ version: '0.20'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.19.6
68
+ version: '0.20'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: opentelemetry-sdk
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -279,10 +279,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
279
279
  licenses:
280
280
  - Apache-2.0
281
281
  metadata:
282
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.24.1/file.CHANGELOG.html
282
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.26.0/file.CHANGELOG.html
283
283
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
284
284
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
285
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.24.1
285
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.26.0
286
286
  post_install_message:
287
287
  rdoc_options: []
288
288
  require_paths:
@@ -291,14 +291,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
291
291
  requirements:
292
292
  - - ">="
293
293
  - !ruby/object:Gem::Version
294
- version: 2.6.0
294
+ version: '3.0'
295
295
  required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - ">="
298
298
  - !ruby/object:Gem::Version
299
299
  version: '0'
300
300
  requirements: []
301
- rubygems_version: 3.1.6
301
+ rubygems_version: 3.2.33
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: OTLP exporter for the OpenTelemetry framework