opentelemetry-instrumentation-faraday 0.18.1 → 0.19.3

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: 2cbe0d535d5292d30f1730dc4f121e23c22c41d2f8cfc7c1b810615678f9bcf7
4
+ data.tar.gz: 24b26398ff774f23c3ce2f8491e0d2e4379b9f0e8b99f4b25e15c52e7905376f
5
5
  SHA512:
6
- metadata.gz: c3e38b086b8db411e3a2e93fcc2b43285dea5d5ab149f7ccfe58c36303e9ed3c81a86641327146003cd75c2f967e4266b60a9ee3a4e340cd7ee9ff537fdf643c
7
- data.tar.gz: 7df936de488d96e57484a0b8c5c0b35854414a04dfdac4bf9a5e5f715b70c109726ff58826d5ae82df18717d494bbd79a3d8717f7481f91cde840b60fb3376bb
6
+ metadata.gz: d39420e4f4d441986046d5d29f122582307ea401cf077419832b4f66634051c58798fe6e197ba84a7792a700fd5d6a90af6702dfc26ce4e568469c103d6571bd
7
+ data.tar.gz: 845ae1a1d2159865b201a1f9876f2b49ac5108c8b4732ae2b8f491a3b2c379776441b627395e3c63f2c18c6198582ba852dbd19ac8e828e0eba4b820ccdd03bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.19.3 / 2021-12-02
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.19.2 / 2021-09-29
8
+
9
+ * (No significant changes)
10
+
11
+ ### v0.19.1 / 2021-08-12
12
+
13
+ * DOCS: Update docs to rely more on environment variable configuration
14
+
15
+ ### v0.19.0 / 2021-06-23
16
+
17
+ * BREAKING CHANGE: Total order constraint on span.status=
18
+
19
+ * FIXED: Total order constraint on span.status=
20
+
3
21
  ### v0.18.1 / 2021-06-08
4
22
 
5
23
  * 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.3'
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.3
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-12-02 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'
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'
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.3
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.3
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.19.0
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.19.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.0.rc1
117
+ version: '1.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.0.0.rc1
124
+ version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  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.3/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.3
221
221
  post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths: