opentelemetry-sdk 0.11.0 → 0.11.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: cb411f30633b54940beb1f9098606f19330f8ebab59e3b98cec8e56ec2e3bbdf
4
- data.tar.gz: 6f9a05cd0341cf0411c501abbb40648c11dc97d920b65728386dca2c404b8f60
3
+ metadata.gz: 640e29efdf46f030e232f9fbb96f43f183438e546b8116eb94f989f83ab06966
4
+ data.tar.gz: b6e023f909b6485b2eecd0ef150e4562c659b4d51856f87b226484c1db56b189
5
5
  SHA512:
6
- metadata.gz: 44ed1519e66997080314953a11e483e6f00d4bb774b9eecc6effe6623f2e48c68485594717db25ba39bd92c453cd25c926c0ca2dabc19588878067eefba48ece
7
- data.tar.gz: 3f1dcd7506145ed4c008403926827205ed8661a3ee6c35f524ead8d6fd16984ce556722c4b0917229e2e641c37ffe3c83088beadd990d6dfb6015a1fa083cf6a
6
+ metadata.gz: 5c58bfdb66b128e299ed2742c2327939ef02139c10b825d8ca5fe9a0c241340971e027a53c70de1777c9abf7a3c33e318ef936aa026aa6c4c496d6c0e3132a86
7
+ data.tar.gz: c426b41723e57ddcfbe332f4b4e01982056b47813cc9afb05b4385f7bdeacc91544ee2c707bd98ce4824488ab89b407cc7ba73568e6b954cf7d39aed878f476c
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-sdk
2
2
 
3
+ ### v0.11.1 / 2020-12-16
4
+
5
+ * FIXED: BSP dropped span buffer full reporting
6
+
3
7
  ### v0.11.0 / 2020-12-11
4
8
 
5
9
  * ADDED: Metrics reporting from trace export
@@ -96,7 +96,7 @@ module OpenTelemetry
96
96
  # @param [optional Numeric] timeout An optional timeout in seconds.
97
97
  # @return [Integer] SUCCESS if no error occurred, FAILURE if a
98
98
  # non-specific failure occurred, TIMEOUT if a timeout occurred.
99
- def force_flush(timeout: nil) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
99
+ def force_flush(timeout: nil) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/MethodLength
100
100
  start_time = Time.now
101
101
  snapshot = lock do
102
102
  reset_on_fork(restart_thread: false) if @keep_running
@@ -117,8 +117,10 @@ module OpenTelemetry
117
117
  # the snapshot because they're older than any spans in the spans buffer.
118
118
  lock do
119
119
  n = spans.size + snapshot.size - max_queue_size
120
- snapshot.shift(n) if n.positive?
121
- report_dropped_spans(n, reason: 'buffer-full')
120
+ if n.positive?
121
+ snapshot.shift(n)
122
+ report_dropped_spans(n, reason: 'buffer-full')
123
+ end
122
124
  spans.unshift(snapshot) unless snapshot.empty?
123
125
  @condition.signal if spans.size > max_queue_size / 2
124
126
  end
@@ -7,6 +7,6 @@
7
7
  module OpenTelemetry
8
8
  module SDK
9
9
  ## Current OpenTelemetry version
10
- VERSION = '0.11.0'
10
+ VERSION = '0.11.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: 0.11.0
4
+ version: 0.11.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: 2020-12-11 00:00:00.000000000 Z
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -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-sdk/v0.11.0/file.CHANGELOG.html
204
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v0.11.1/file.CHANGELOG.html
205
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/sdk
206
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
207
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v0.11.0
207
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-sdk/v0.11.1
208
208
  post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths: