opentelemetry-instrumentation-http 0.16.2 → 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: ac6414f83a025de5b5ba0c25802cf6794d283dd80b84b80709c2a9022057ec19
4
- data.tar.gz: 2c6c6fb43b55c93c13cdd3e0d8a23acf36ef5a83a355cf59012c2ef6ca6f423c
3
+ metadata.gz: d082e08d45e9d5af075a6b9e1ab1e97b27a131af23df70ffee918156b8b17d1e
4
+ data.tar.gz: 766eca159eefd76d3a1ac32da0e2848025fc0261667c505fe1c951a2cdfdc1d9
5
5
  SHA512:
6
- metadata.gz: 57c245ab9619f24b0602df10019661c13f4cb40b1bb2c6154328b031b5ec6f186077ef44ec2320515e148262ce1ae17286da6d3770f338564fc230e370e9a142
7
- data.tar.gz: 2cad2267cd14f5dbd80866f08db8aebd0879c8fc6e452ce51444c18a2b9568cad4aab3a4f32aa9d2971c7601dc69ca444c32d54e706d3eb0ba27affcb1c0c798
6
+ metadata.gz: 3d252733a20029de747e15bd30e31f7d86405703e70d2da94ab3be7ef2af4b7cc794c6dd46a7776d5ae403f5dcee164ebd31e4c8983929a624ba39cd47c3cca5
7
+ data.tar.gz: ceebf6e2fae3577b1d9ec643ec00b9663523828a2bac6391cd8d9ebe36869d3b6fbaa22bf5fc6705c90c1caa982f20fae0396877b4d559c42c231d7d9a9b361f
data/CHANGELOG.md CHANGED
@@ -1,12 +1,30 @@
1
1
  # Release History: opentelemetry-instrumentation-http
2
2
 
3
+ ### v0.19.1 / 2021-08-12
4
+
5
+ * (No significant changes)
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.2 / 2021-03-29
4
22
 
5
- * FIXED: HTTP instrumenter should check for gem presence
23
+ * FIXED: HTTP instrumenter should check for gem presence
6
24
 
7
25
  ### v0.16.1 / 2021-03-25
8
26
 
9
- * FIXED: HTTP instrumentation missing require
27
+ * FIXED: HTTP instrumentation missing require
10
28
 
11
29
  ### v0.16.0 / 2021-03-17
12
30
 
@@ -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
@@ -4,8 +4,6 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
- require 'opentelemetry'
8
-
9
7
  module OpenTelemetry
10
8
  module Instrumentation
11
9
  module HTTP
@@ -38,7 +38,7 @@ module OpenTelemetry
38
38
 
39
39
  status_code = response.status.to_i
40
40
  span.set_attribute('http.status_code', status_code)
41
- span.status = OpenTelemetry::Trace::Status.http_to_status(status_code)
41
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
42
42
  end
43
43
 
44
44
  def tracer
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HTTP
10
- VERSION = '0.16.2'
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
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.2
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-29 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,14 +16,28 @@ 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
+ - !ruby/object:Gem::Dependency
28
+ name: opentelemetry-instrumentation-base
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.18.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.18.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: appraisal
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +100,14 @@ dependencies:
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '0.0'
103
+ version: 1.0.0.rc1
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '0.0'
110
+ version: 1.0.0.rc1
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rake
99
113
  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/v0.16.2/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.1/file.CHANGELOG.html
218
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/http
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/v0.16.2
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/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: HTTP instrumentation for the OpenTelemetry framework