opentelemetry-instrumentation-net_http 0.17.0 → 0.19.2

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: 146bbf23d80d2eaff6ee6559007331557dbdb0a6010488880c54186d9d1dd82d
4
- data.tar.gz: 9bbc6479f7d6487dc76ef058408253b4c5c08ef3b31422841895804611e1fac3
3
+ metadata.gz: 4c135e54ab0a4ad44827783e431644b99136173e975f01654568794e49dd6933
4
+ data.tar.gz: 952a1f2a03698ae2847522a0c0715fec2cc01bce3668544218e0616f524752aa
5
5
  SHA512:
6
- metadata.gz: 90bdebbfde8dbedba79676332e65fbbfbdf40f438b23b153305d2bd6b01786ef6a754495742aa50393c9caa457ebe43b86cd8b89171e14f6dd0f011146e3eb37
7
- data.tar.gz: 2d1eee1b9a2388335e6499b12345bb3c3aed01c1306cabc3e4095919a88b91ca928572ce52dc17841cf4f8231187d84404f8b7d301b02079dbfbbee032ca3ccd
6
+ metadata.gz: 2f931d1bc2a856b16b662c9a9d9b24670c0bf729b4b4f8ed2327137df2b72abd0dab48777011035166a49f209db98a7238222b104a53897cc70ce3115249c7f4
7
+ data.tar.gz: 132fdc39a7eab6d5213b6b1e433ee19e98d5d54333c6a48a21b3e4f35c4aebcb9dd81cc5ce3a3b4bb998457f5719f35eb652be25f502bb0261233a7130227291
data/CHANGELOG.md CHANGED
@@ -1,23 +1,41 @@
1
1
  # Release History: opentelemetry-instrumentation-net_http
2
2
 
3
+ ### v0.19.2 / 2021-09-29
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.19.1 / 2021-08-12
8
+
9
+ * DOCS: Update docs to rely more on environment variable configuration
10
+
11
+ ### v0.19.0 / 2021-06-23
12
+
13
+ * BREAKING CHANGE: Total order constraint on span.status=
14
+
15
+ * FIXED: Total order constraint on span.status=
16
+
17
+ ### v0.18.0 / 2021-05-21
18
+
19
+ * ADDED: Updated API depedency for 1.0.0.rc1
20
+
3
21
  ### v0.17.0 / 2021-04-22
4
22
 
5
- * FIXED: Refactor propagators to add #fields
23
+ * FIXED: Refactor propagators to add #fields
6
24
 
7
25
  ### v0.16.0 / 2021-03-17
8
26
 
9
- * FIXED: Example scripts now reference local common lib
10
- * DOCS: Replace Gitter with GitHub Discussions
27
+ * FIXED: Example scripts now reference local common lib
28
+ * DOCS: Replace Gitter with GitHub Discussions
11
29
 
12
30
  ### v0.15.0 / 2021-02-18
13
31
 
14
- * ADDED: Add Net::HTTP#connect tracing
32
+ * ADDED: Add Net::HTTP#connect tracing
15
33
 
16
34
  ### v0.14.0 / 2021-02-03
17
35
 
18
- * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
36
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
19
37
 
20
- * ADDED: Replace getter and setter callables and remove rack specific propagators
38
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
21
39
 
22
40
  ### v0.13.0 / 2021-01-29
23
41
 
@@ -29,7 +47,7 @@
29
47
 
30
48
  ### v0.11.0 / 2020-12-11
31
49
 
32
- * FIXED: Copyright comments to not reference year
50
+ * FIXED: Copyright comments to not reference year
33
51
 
34
52
  ### v0.10.0 / 2020-12-03
35
53
 
@@ -37,18 +55,18 @@
37
55
 
38
56
  ### v0.9.0 / 2020-11-27
39
57
 
40
- * ADDED: Add common helpers
58
+ * ADDED: Add common helpers
41
59
 
42
60
  ### v0.8.0 / 2020-10-27
43
61
 
44
- * BREAKING CHANGE: Remove 'canonical' from status codes
62
+ * BREAKING CHANGE: Remove 'canonical' from status codes
45
63
 
46
- * FIXED: Remove 'canonical' from status codes
64
+ * FIXED: Remove 'canonical' from status codes
47
65
 
48
66
  ### v0.7.0 / 2020-10-07
49
67
 
50
- * DOCS: Added documentation for net_http gem in instrumentation
51
- * DOCS: Standardize toplevel docs structure and readme
68
+ * DOCS: Added documentation for net_http gem in instrumentation
69
+ * DOCS: Standardize toplevel docs structure and readme
52
70
 
53
71
  ### v0.6.0 / 2020-09-10
54
72
 
@@ -64,9 +64,7 @@ module OpenTelemetry
64
64
  status_code = response.code.to_i
65
65
 
66
66
  span.set_attribute('http.status_code', status_code)
67
- span.status = OpenTelemetry::Trace::Status.http_to_status(
68
- status_code
69
- )
67
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(status_code.to_i)
70
68
  end
71
69
 
72
70
  def tracer
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Net
10
10
  module HTTP
11
- VERSION = '0.17.0'
11
+ VERSION = '0.19.2'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-net_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.2
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-04-23 00:00:00.000000000 Z
11
+ date: 2021-09-30 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: 0.17.0
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: 0.17.0
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.17.0
33
+ version: 0.19.2
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.17.0
40
+ version: 0.19.2
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.17.0
47
+ version: 0.18.3
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.17.0
54
+ version: 0.18.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.0'
89
+ version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.0'
96
+ version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -199,10 +199,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
199
199
  licenses:
200
200
  - Apache-2.0
201
201
  metadata:
202
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.17.0/file.CHANGELOG.html
202
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.19.2/file.CHANGELOG.html
203
203
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/net_http
204
204
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
205
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.17.0
205
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-net_http/v0.19.2
206
206
  post_install_message:
207
207
  rdoc_options: []
208
208
  require_paths: