opentelemetry-instrumentation-http_client 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: 5fc47f9422ea06f0658f6ebfc34d466ee61f6a531d171704e947c4a7d3f77d32
4
- data.tar.gz: dd2554012e31a18abac7a71d5ea8b51ae76b5a23f861f7c39838a36230d765cb
3
+ metadata.gz: 4356e49586674a77e4884b66e554a37f35a77e4d5548dc589913474b20439f31
4
+ data.tar.gz: 2fb697884ee3d3cddf2768f1f10a4ba1f77cd4997114b015d39f95c3a257025c
5
5
  SHA512:
6
- metadata.gz: b4e429b618e39cab42fbf0dc404613ff672fb6cd121e1b47fab1800ba0376287b72a09d8942f69e943d153c7a567359df420e44b5b9ada191145fa1cf174330a
7
- data.tar.gz: 6957194ab25418b8a171364d0f2417c60e00b5c73efbf8a1784c0a0bc9a5cc61b29147d8979be0efdecf8781d9f88a759e61c43a049fcd4401042788114c6620
6
+ metadata.gz: dc0e352e7f99ab7e5896df6e7d539e9b2bdfb5c4b7dbf1db7d76460f834011a069ff9773c9110523f836ec29ea7bc0491a2ebc8a46f8e18dea37017703b423c3
7
+ data.tar.gz: a07ee2366b2fafe4db9446b44641ae0c38db14c71369aa34104013b0a882cbf4c25c0defbe005dface2e26c48e18d5f98a33b4d48ad632246929d246d7307a34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-http_client
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
@@ -41,9 +41,7 @@ module OpenTelemetry
41
41
  status_code = response.status_code.to_i
42
42
 
43
43
  span.set_attribute('http.status_code', status_code)
44
- span.status = OpenTelemetry::Trace::Status.http_to_status(
45
- status_code
46
- )
44
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
47
45
  end
48
46
 
49
47
  def tracer
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HttpClient
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-http_client
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: appraisal
57
57
  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-http_client/v0.18.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.0/file.CHANGELOG.html
232
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/http_client
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-http_client/v0.18.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.0
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: