opentelemetry-instrumentation-net_http 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: 15c01659bc7d0fe5891664644ec9ca3a91f5d60299caaee9093d44498d71cbce
4
- data.tar.gz: 5d2c90f73bf4d93900216c6c23988a1e788b1c1bdd2d5d9a251837c14a02d177
3
+ metadata.gz: d62c44e1b6c98d56b3d8d03b012d53e29375ff2e6be98266cacc7a4f83f5c1a7
4
+ data.tar.gz: f28bc101658e0514cf482702a4bd4f2ed43d142c49fd5247be589462a3e9b504
5
5
  SHA512:
6
- metadata.gz: ce58c6912bc413e3df73aba0a849489c94086626f4b137d40d42c7fe2e18a7df72d8af9304db9474441ab2beccbd75d5da9596d500ddf75739443259c39a8b56
7
- data.tar.gz: 4c24a11348f9f77e6b7cb7fd9b5a3237da3dff8a6d31ad13436bfeaf3bf11e5f9f92c5541ba7f60c98eace88032c678880f95dcdd0db462bdfa076e3ce487621
6
+ metadata.gz: e7da09d9ed75ff99abc047a08d9315f10a4af3a07d357439903404b9b8ebd304a7224ad8a5b67cf294204eca0014ee6cf42e98ee97db5c2687c80cb8b5661ac8
7
+ data.tar.gz: 02ac672d9b7f2a5c4b00eaa980d36ad017335a431e6b07147e45e1336ad75bd92bce80dc7b2dbaf8b7642f61406cba718cdb338be0aa4a3e47afa84917f7cd07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-net_http
2
2
 
3
+ ### v0.19.0 / 2021-06-23
4
+
5
+ * BREAKING CHANGE: Total order constraint on span.status=
6
+
7
+ * FIXED: Total order constraint on span.status=
8
+
3
9
  ### v0.18.0 / 2021-05-21
4
10
 
5
11
  * ADDED: Updated API depedency for 1.0.0.rc1
@@ -64,9 +64,7 @@ module OpenTelemetry
64
64
  status_code = response.code.to_i
65
65
 
66
66
  span.set_attribute('http.status_code', status_code)
67
- span.status = OpenTelemetry::Trace::Status.http_to_status(
68
- status_code
69
- )
67
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
70
68
  end
71
69
 
72
70
  def tracer
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Net
10
10
  module HTTP
11
- VERSION = '0.18.0'
11
+ VERSION = '0.19.0'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-net_http
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,42 +16,42 @@ 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-common
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.19.0
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.19.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.18.0
47
+ version: 0.18.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.18.0
54
+ version: 0.18.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -199,10 +199,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
199
199
  licenses:
200
200
  - Apache-2.0
201
201
  metadata:
202
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.18.0/file.CHANGELOG.html
202
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.19.0/file.CHANGELOG.html
203
203
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/net_http
204
204
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
205
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.18.0
205
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.19.0
206
206
  post_install_message:
207
207
  rdoc_options: []
208
208
  require_paths: