opentelemetry-instrumentation-http_client 0.16.0 → 0.19.1

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: 3dd32756fb4e9622fc1c4a4743d533e540734ac6ddf9270502e282f35927daf3
4
- data.tar.gz: c87b14dc2b0b263be5e4c1ecaf6f97e5863294b276c5b52f22c56150ba497faf
3
+ metadata.gz: 0caee7094d67059497b1ca298829f7ed1493699724975736e1dd28c583575873
4
+ data.tar.gz: 268d8936b82b8f969feda871a62945be9a529cea8ab00ac4730357545bf2eaf5
5
5
  SHA512:
6
- metadata.gz: 74cf49bdf0dc130c8917123ebd17db6865f13ae4af0ade997b00ed956aa2c1a9f4231c3a2a536de36bb682712f66e025d0404400639f1446946c534e7b69c344
7
- data.tar.gz: ac3ae0fff752c9dc320a96f0edd8c36c181afec4a54bc85549b5c44d9a97f85ab32af16b93b13c2afb21841faa5f607d773a51bf6bb0f9a82cce987b474319e2
6
+ metadata.gz: c3db435fc01fa3dab96a80c8aab2ea11c9c7aec30500d9b029f195841312e64d3f38e382b1139c4fb3e07c6754026bc70ab80e92c44286a0ebeaa5047f931ab9
7
+ data.tar.gz: 975a3742d346e3998ef58eb96f323e08fdf399c1221a71be9db426ffac9b7a336a1ff186ae4fd288188f757f893f4b9445d37ab6ae68f617dfde70a2f02c8787
data/CHANGELOG.md CHANGED
@@ -1,10 +1,28 @@
1
1
  # Release History: opentelemetry-instrumentation-http_client
2
2
 
3
+ ### v0.19.1 / 2021-08-12
4
+
5
+ * DOCS: Update docs to rely more on environment variable configuration
6
+
7
+ ### v0.19.0 / 2021-06-23
8
+
9
+ * BREAKING CHANGE: Total order constraint on span.status=
10
+
11
+ * FIXED: Total order constraint on span.status=
12
+
13
+ ### v0.18.0 / 2021-05-21
14
+
15
+ * ADDED: Updated API depedency for 1.0.0.rc1
16
+
17
+ ### v0.17.0 / 2021-04-22
18
+
19
+ * FIXED: Refactor propagators to add #fields
20
+
3
21
  ### v0.16.0 / 2021-03-17
4
22
 
5
- * FIXED: Remove passwords from http.url
6
- * FIXED: Example scripts now reference local common lib
7
- * DOCS: Replace Gitter with GitHub Discussions
23
+ * FIXED: Remove passwords from http.url
24
+ * FIXED: Example scripts now reference local common lib
25
+ * DOCS: Replace Gitter with GitHub Discussions
8
26
 
9
27
  ### v0.15.0 / 2021-02-18
10
28
 
@@ -5,6 +5,7 @@
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  require 'opentelemetry'
8
+ require 'opentelemetry-instrumentation-base'
8
9
 
9
10
  module OpenTelemetry
10
11
  module Instrumentation
@@ -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.16.0'
10
+ VERSION = '0.19.1'
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.16.0
4
+ version: 0.19.1
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-03-22 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.16.0
19
+ version: 1.0.0.rc3
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: 0.16.0
26
+ version: 1.0.0.rc3
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.16.0
33
+ version: 0.19.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.16.0
40
+ version: 0.19.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: opentelemetry-instrumentation-base
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.18.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.18.2
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: appraisal
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '0.0'
117
+ version: 1.0.0.rc1
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '0.0'
124
+ version: 1.0.0.rc1
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rake
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -214,10 +228,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
214
228
  licenses:
215
229
  - Apache-2.0
216
230
  metadata:
217
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.16.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.1/file.CHANGELOG.html
218
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/http_client
219
233
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
220
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.16.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http_client/v0.19.1
221
235
  post_install_message:
222
236
  rdoc_options: []
223
237
  require_paths:
@@ -233,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
247
  - !ruby/object:Gem::Version
234
248
  version: '0'
235
249
  requirements: []
236
- rubygems_version: 3.1.4
250
+ rubygems_version: 3.1.6
237
251
  signing_key:
238
252
  specification_version: 4
239
253
  summary: HttpClient instrumentation for the OpenTelemetry framework