opentelemetry-sdk 1.4.0 → 1.4.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: 83a673caf48821ecaaebd3bf954cc674b720eee1727eff03b5094ecd4338971c
4
- data.tar.gz: 3fb2937947b640cc86e4ae7d56137bf4cf6683e4f11e378002a56ca8c45506d5
3
+ metadata.gz: 30876b5f639b980b00d48fbae72e4b01850b3c57cafa01aa4dc5ca580be0918d
4
+ data.tar.gz: d002cb6584183e04b65a7b770bb75565bee3fe54396ade52714a009a26a5cb92
5
5
  SHA512:
6
- metadata.gz: e3f0135a67fffcb1a50c8d7a639dcd9e02a2b7d8abe61ff9beb3553a2ed1e8d93fbbe08904b46fbbebaa0c913ae6acd3a88c93329168cf00be13f205511bc48f
7
- data.tar.gz: 7197e47a5a52adabad0f651b3d7b7a9cc3f5b5f4792e64a20790efb69fc20315ab5fef322ff0798eb6e3ee6eb88e8b25429e5412657cc61fcb19496fbbe79de9
6
+ metadata.gz: 940facba296fde53952e694e465b7ab72cbbfabbeaa1e8bec8444476dcd57c6efd5227208021722d7130698eb33f0baf5d332594bac5f79ec946950b3c5231e3
7
+ data.tar.gz: 3b2f25a049880af16792a74ec5c35b3531555bff41f049ddf91422da7896f836a295c54419fc8e82abfe076cfd6fe003a0093a2a91319e65c246c00dc280e229
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-sdk
2
2
 
3
+ ### v1.4.1 / 2024-03-21
4
+
5
+ * FIXED: ForwardingLogger should forward block param.
6
+
3
7
  ### v1.4.0 / 2024-01-25
4
8
 
5
9
  * ADDED: Add spans to Trace::ExportError
@@ -35,10 +35,10 @@ module OpenTelemetry
35
35
  end
36
36
  end
37
37
 
38
- def add(severity, message = nil, progname = nil)
38
+ def add(severity, message = nil, progname = nil, &block)
39
39
  return true if severity < @level
40
40
 
41
- @logger.add(severity, message, progname)
41
+ @logger.add(severity, message, progname, &block)
42
42
  end
43
43
 
44
44
  def debug(progname = nil, &block)
@@ -80,7 +80,7 @@ module OpenTelemetry
80
80
  lock do
81
81
  reset_on_fork
82
82
  n = spans.size + 1 - max_queue_size
83
- if n.positive?
83
+ if n > 0
84
84
  dropped_spans = spans.shift(n)
85
85
  report_dropped_spans(dropped_spans, reason: 'buffer-full', function: __method__.to_s)
86
86
  end
@@ -7,6 +7,6 @@
7
7
  module OpenTelemetry
8
8
  module SDK
9
9
  ## Current OpenTelemetry version
10
- VERSION = '1.4.0'
10
+ VERSION = '1.4.1'
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.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-01-25 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -294,10 +294,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
294
294
  licenses:
295
295
  - Apache-2.0
296
296
  metadata:
297
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v1.4.0/file.CHANGELOG.html
297
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v1.4.1/file.CHANGELOG.html
298
298
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/sdk
299
299
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
300
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v1.4.0
300
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v1.4.1
301
301
  post_install_message:
302
302
  rdoc_options: []
303
303
  require_paths: