opentelemetry-instrumentation-http 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: 29a0b4326d8a65603297cbf2daa8204719193d945825dff16e0090f1fd56b382
4
- data.tar.gz: f173617ad970ab1be20315d2be6d40294f43b590e07255f03c7c08dcf09e9b3a
3
+ metadata.gz: e775ce49dc2b56f27c00dfd1eb162452e339548a7c652f75e27f0a865546dd5c
4
+ data.tar.gz: 9a894db5ef341a0a960b3f753031839314847df4ee7e141c1b8950ab6cb5cfeb
5
5
  SHA512:
6
- metadata.gz: b946789ef49735370a89e340dbc800af65cf90e76df7389696c7afb7d4e20146735ef24e68d9f845df2a357ae85ad0902b36e72712e0ee265ad367ecc6d8c4e3
7
- data.tar.gz: 129876719d483cb4cbbf86ff2fc683de354df9f0ab6dca1c482e8de5da3d74dbf5b1c9a74bf9ec0846b1acf5807e365ef5f64387586af6ffb6f60b5905f05bdc
6
+ metadata.gz: 1b40b31cb9ede172a919d9c553b4e26a2968f95739f7462a2513ebd129db97c15c578b9393d517ec4e8fdf374abe80aafc6008f28c9f882944e8630e1861c1dc
7
+ data.tar.gz: b48021fe6eb64a9eb518d0b1216e213d785ad9fbaa2a19d2a9abadca719dabeaa235d4748b6fd8f531fca8ec542f6742939fb4778a6ce576e4a13a21f591c102
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History: opentelemetry-instrumentation-http
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
@@ -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.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
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,28 +16,28 @@ 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-instrumentation-base
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.18.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.18.0
40
+ version: 0.18.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  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/v0.18.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.0/file.CHANGELOG.html
232
232
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/http
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/v0.18.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.0
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: