opentelemetry-instrumentation-faraday 0.18.1 → 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: e12ce1a637bc4c39ef410306b0fe08d110d2839105a02f7b2f6f1c5d8694a903
4
- data.tar.gz: 63767b862f8c0ae5573f0e0570f9719b45b1f36d80b9a74059779611c61ac479
3
+ metadata.gz: 94af58112d956909c84e5b7fc48015d8031fdaca79738bd84616dabc1dfd464d
4
+ data.tar.gz: f720bdd031dfd83e246ac3b74f77e384859eb29cfc7209055c0fea70a3a27fa6
5
5
  SHA512:
6
- metadata.gz: c3e38b086b8db411e3a2e93fcc2b43285dea5d5ab149f7ccfe58c36303e9ed3c81a86641327146003cd75c2f967e4266b60a9ee3a4e340cd7ee9ff537fdf643c
7
- data.tar.gz: 7df936de488d96e57484a0b8c5c0b35854414a04dfdac4bf9a5e5f715b70c109726ff58826d5ae82df18717d494bbd79a3d8717f7481f91cde840b60fb3376bb
6
+ metadata.gz: a3f3b019c30fb64fdcdf1c8362de1e9c58fa6d0d3cc7a1eb455cda08121f41e539eea0509f3c8c97375ea081720ea33084f5236446a043c083f8d3726d946370
7
+ data.tar.gz: 858f17a73e5a074dd5c37b88680026805c5b4a9666a5c6f337a94117cd20be886e384a208943f6ae65c3ae15557be262e2245016b5c3cce6490f480c98a88fec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
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.1 / 2021-06-08
4
10
 
5
11
  * FIXED: Missing require to common in faraday
@@ -58,9 +58,7 @@ module OpenTelemetry
58
58
 
59
59
  def trace_response(span, response)
60
60
  span.set_attribute('http.status_code', response.status)
61
- span.status = OpenTelemetry::Trace::Status.http_to_status(
62
- response.status
63
- )
61
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response.status.to_i)
64
62
  end
65
63
  end
66
64
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.18.1'
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-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
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-06-08 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
@@ -214,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
214
214
  licenses:
215
215
  - Apache-2.0
216
216
  metadata:
217
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.18.1/file.CHANGELOG.html
217
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.19.0/file.CHANGELOG.html
218
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/faraday
219
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
220
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.18.1
220
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.19.0
221
221
  post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths: