opentelemetry-instrumentation-rack 0.18.0 → 0.19.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: 045d523393ba587000900fa6fe04d53639bbc893745795ae71b95a8e295fa33f
4
- data.tar.gz: c56bdb588db187f92fc59038b6a7f612d9e38fe17a2d9544f3c04e9cc2a78551
3
+ metadata.gz: 5a8ea2dcf452483145e02d30aa2fbccbc1082c335237fdac4df6e2721517c4be
4
+ data.tar.gz: 8d877d78933707ea7fe9ff14e567d64578a3eb697322127a007968379e5b1654
5
5
  SHA512:
6
- metadata.gz: 235196039e3f220a14563489952c810d2acface20997498213a8bb57573307c9a4cf1cbce1cb38da22e3073f56ec53838f9c1bf2eae053428779f6e2274345e3
7
- data.tar.gz: 66431cf36f90e5ed006d2a12cd396be2d30249562372cbc5bfdf5b97748f61afba051e765f99505474d7d074abcf117df84b9d7ec5cd9aa6fad143fbdd1ac46a
6
+ metadata.gz: 0732bb1a667a1ef5863317a7babae71a97259b74daa9081709700ef4137e9acbe2cf808150a4c5118f6b712831acb7961694aa2ed368c962107b1387d2e89e17
7
+ data.tar.gz: 7994946a7d730cc4408f1a67fc648b9a1fed8784e4898ad3ff0615e05c96bdbee0c4bc827c7eac828c6a10467980d705e764d2f4e5c7e938792d4078bf0238d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History: opentelemetry-instrumentation-rack
2
2
 
3
+ ### v0.19.0 / 2021-06-23
4
+
5
+ * BREAKING CHANGE: Total order constraint on span.status=
6
+
7
+ * ADDED: Add Tracer.non_recording_span to API
8
+ * FIXED: Total order constraint on span.status=
9
+
3
10
  ### v0.18.0 / 2021-05-21
4
11
 
5
12
  * ADDED: Updated API depedency for 1.0.0.rc1
@@ -153,7 +153,7 @@ module OpenTelemetry
153
153
  end
154
154
 
155
155
  def set_attributes_after_request(span, status, headers, _response)
156
- span.status = OpenTelemetry::Trace::Status.http_to_status(status)
156
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status.to_i)
157
157
  span.set_attribute('http.status_code', status)
158
158
 
159
159
  # NOTE: if data is available, it would be good to do this:
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Rack
10
- VERSION = '0.18.0'
10
+ VERSION = '0.19.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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: 2021-05-21 00:00:00.000000000 Z
11
+ date: 2021-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0.rc1
19
+ version: 1.0.0.rc2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0.rc1
26
+ version: 1.0.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-instrumentation-base
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.18.0
33
+ version: 0.18.1
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: 0.18.0
40
+ version: 0.18.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -228,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
228
228
  licenses:
229
229
  - Apache-2.0
230
230
  metadata:
231
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-rack/v0.18.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-rack/v0.19.0/file.CHANGELOG.html
232
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/rack
233
233
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
234
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-rack/v0.18.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-rack/v0.19.0
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: