opentelemetry-instrumentation-http 0.19.0 → 0.19.4

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: e775ce49dc2b56f27c00dfd1eb162452e339548a7c652f75e27f0a865546dd5c
4
- data.tar.gz: 9a894db5ef341a0a960b3f753031839314847df4ee7e141c1b8950ab6cb5cfeb
3
+ metadata.gz: c9570118296fb851ea1c1ea32f2daa62f05c9ce7fab282848023858bae05be9e
4
+ data.tar.gz: 9d605b372fe2e1572a950618424d6b15a930d80f4f9f61b033e79d2f536225f1
5
5
  SHA512:
6
- metadata.gz: 1b40b31cb9ede172a919d9c553b4e26a2968f95739f7462a2513ebd129db97c15c578b9393d517ec4e8fdf374abe80aafc6008f28c9f882944e8630e1861c1dc
7
- data.tar.gz: b48021fe6eb64a9eb518d0b1216e213d785ad9fbaa2a19d2a9abadca719dabeaa235d4748b6fd8f531fca8ec542f6742939fb4778a6ce576e4a13a21f591c102
6
+ metadata.gz: 29ba0108de767f29e73928c18465d0e91043c8c53b5a45044f2b85504fadcd91467e80afe3fbb24b143b7a4bf521ec6bc2263be6913757153effaa0a47216bc3
7
+ data.tar.gz: d3188b798e5a241ea6a38a413d6ef626c8089c9335bb297bdffb507c01c739cf6573ea126289ee0703f3fa75ab37a14d1815296b4504d41b20743c4f70aa65f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release History: opentelemetry-instrumentation-http
2
2
 
3
+ ### v0.19.4 / 2022-02-02
4
+
5
+ * FIXED: Excessive hash creation on context attr merging
6
+
7
+ ### v0.19.3 / 2021-12-01
8
+
9
+ * FIXED: Change net attribute names to match the semantic conventions spec for http
10
+
11
+ ### v0.19.2 / 2021-09-29
12
+
13
+ * (No significant changes)
14
+
15
+ ### v0.19.1 / 2021-08-12
16
+
17
+ * (No significant changes)
18
+
3
19
  ### v0.19.0 / 2021-06-23
4
20
 
5
21
  * BREAKING CHANGE: Total order constraint on span.status=
@@ -19,9 +19,9 @@ module OpenTelemetry
19
19
  'http.scheme' => uri.scheme,
20
20
  'http.target' => uri.path,
21
21
  'http.url' => "#{uri.scheme}://#{uri.host}",
22
- 'peer.hostname' => uri.host,
23
- 'peer.port' => uri.port
24
- }.merge(OpenTelemetry::Common::HTTP::ClientContext.attributes)
22
+ 'net.peer.name' => uri.host,
23
+ 'net.peer.port' => uri.port
24
+ }.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
25
25
 
26
26
  tracer.in_span("HTTP #{request_method}", attributes: attributes, kind: :client) do |span|
27
27
  OpenTelemetry.propagation.inject(req.headers)
@@ -11,10 +11,10 @@ module OpenTelemetry
11
11
  # Module to prepend to HTTP::Connection for instrumentation
12
12
  module Connection
13
13
  def initialize(req, options)
14
- attributes = OpenTelemetry::Common::HTTP::ClientContext.attributes.merge(
15
- 'peer.hostname' => req.uri.host,
16
- 'peer.port' => req.uri.port
17
- )
14
+ attributes = {
15
+ 'net.peer.name' => req.uri.host,
16
+ 'net.peer.port' => req.uri.port
17
+ }.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes)
18
18
 
19
19
  tracer.in_span('HTTP CONNECT', attributes: attributes) do
20
20
  super
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module HTTP
10
- VERSION = '0.19.0'
10
+ VERSION = '0.19.4'
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.19.0
4
+ version: 0.19.4
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-24 00:00:00.000000000 Z
11
+ date: 2022-02-03 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.rc2
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.rc2
26
+ version: '1.0'
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.1
33
+ version: 0.19.0
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.1
40
+ version: 0.19.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.0.0.rc1
103
+ version: '1.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.0.0.rc1
110
+ version: '1.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  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.19.0/file.CHANGELOG.html
231
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.4/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.19.0
234
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-http/v0.19.4
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: