opentelemetry-api 1.1.0 → 1.2.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: 5400a18cd6777fa998c3d664fdc51842c56ea59afe213529bce195c0bb41e4ba
4
- data.tar.gz: bd680b47e192fced89f66b6cf5c088247604f2126cc39663eba1d15eba1bcba6
3
+ metadata.gz: fc9808f2db83db063b4a49673c59e17e6f498d059fd9dcf5308d8536adb6ed3d
4
+ data.tar.gz: 88b27d2155fb7bc91d43011e570f845b80047f78ec1e20a216e5e08060d0fc34
5
5
  SHA512:
6
- metadata.gz: ef4da06339512cceeae5d8760e6d97e07a8686943ce3373da8c4051d5f0d80f8eb5d91d627306f07bb5a25e512ed20dbda006a7178f469d718193d1ce88265f7
7
- data.tar.gz: d7d3685c0d113abaef164785d2609985c78eaa92755f87f60674f8fcc76e4e2f487bc108b638bf7790d1dd42894eb75118f5e23e8bf3cf09370a9b1fa5647909
6
+ metadata.gz: 74fc1f613d43cd72a567fb95b797293effa4a9013837c68ae9e0bb151033543a61d12d6c4c24168374177faafd5645f1b8c9576b443dac640f3658a29ac2c512
7
+ data.tar.gz: d2ba72e43b1dc44f1a9780d704b2f69785d3ba66dfb5308c6777fcab61ad7d50f181b32e95690e770e14a941c7212d8afa1ffd5caf640c8a0a23459a2dd95246
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-api
2
2
 
3
+ ### v1.2.0 / 2023-06-08
4
+
5
+ * BREAKING CHANGE: Remove support for EoL Ruby 2.7
6
+
7
+ * ADDED: Remove support for EoL Ruby 2.7
8
+
3
9
  ### v1.1.0 / 2022-09-14
4
10
 
5
11
  * ADDED: Consistent probability sampler
@@ -22,7 +22,7 @@ module OpenTelemetry
22
22
  MAX_VERSION = 254
23
23
  private_constant :MAX_VERSION
24
24
 
25
- REGEXP = /^(?<version>[A-Fa-f0-9]{2})-(?<trace_id>[A-Fa-f0-9]{32})-(?<span_id>[A-Fa-f0-9]{16})-(?<flags>[A-Fa-f0-9]{2})(?<ignored>-.*)?$/.freeze
25
+ REGEXP = /^(?<version>[A-Fa-f0-9]{2})-(?<trace_id>[A-Fa-f0-9]{32})-(?<span_id>[A-Fa-f0-9]{16})-(?<flags>[A-Fa-f0-9]{2})(?<ignored>-.*)?$/
26
26
  private_constant :REGEXP
27
27
 
28
28
  INVALID_TRACE_ID = OpenTelemetry::Trace::SpanContext::INVALID.hex_trace_id
@@ -115,7 +115,7 @@ module OpenTelemetry
115
115
 
116
116
  # Sets the Status to the Span
117
117
  #
118
- # If used, this will override the default Span status. Default is OK.
118
+ # If used, this will override the default Span status. Default status is unset.
119
119
  #
120
120
  # Only the value of the last call will be recorded, and implementations
121
121
  # are free to ignore previous calls.
@@ -63,7 +63,7 @@ module OpenTelemetry
63
63
 
64
64
  MAX_MEMBER_COUNT = 32 # Defined by https://www.w3.org/TR/trace-context/
65
65
  VALID_KEY = Regexp.union(%r(^[a-z][a-z0-9_\-*/]{,255}$), %r(^[a-z0-9][a-z0-9_\-*/]{,240}@[a-z][a-z0-9_\-*/]{,13}$)).freeze
66
- VALID_VALUE = /^[ -~&&[^,=]]{,255}[!-~&&[^,=]]$/.freeze
66
+ VALID_VALUE = /^[ -~&&[^,=]]{,255}[!-~&&[^,=]]$/
67
67
  private_constant(:MAX_MEMBER_COUNT, :VALID_KEY, :VALID_VALUE)
68
68
 
69
69
  # @api private
@@ -6,5 +6,5 @@
6
6
 
7
7
  module OpenTelemetry
8
8
  ## Current OpenTelemetry version
9
- VERSION = '1.1.0'
9
+ VERSION = '1.2.0'
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: 2022-09-14 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ipsa
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
201
201
  licenses:
202
202
  - Apache-2.0
203
203
  metadata:
204
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.1.0/file.CHANGELOG.html
204
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.0/file.CHANGELOG.html
205
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/api
206
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
207
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.1.0
207
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.0
208
208
  post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths:
@@ -213,14 +213,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
- version: 2.6.0
216
+ version: '3.0'
217
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.1.6
223
+ rubygems_version: 3.2.33
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: A stats collection and distributed tracing framework