opentelemetry-instrumentation-ethon 0.19.2 → 0.19.5

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: 4873d2c6e179a3197449589755f416d68d986cde49d070c949333af744ea5d6e
4
- data.tar.gz: 3f8773f1e2e8e01bc58c6b1bb0b5ef283e39649dd53051ed232292363bdbc762
3
+ metadata.gz: 2066dc067afadc1b346db3a8b65e74b88ff1b4a0f6ffd2c0545495b03500f98f
4
+ data.tar.gz: e0ac0d5ccee04583962cdf8f7d2c0f71300c8db5d1c341427beec95904435038
5
5
  SHA512:
6
- metadata.gz: 04a15c3eb43981c81af34ed931430e6ed340a180c03307f9b3df14c3bbb5c060c5642b5c35a1b49916cefeb24ee92d4241f5d889d7680dd5e428036c0c6d5893
7
- data.tar.gz: 6d53a96803bf18efd8ee6160f4c27a40bd02a61ea69b67d97ddd550b4b13751b05aa62084a171dc6bb1049a0d46844e761a37b227ff4104b2784aef60cd97359
6
+ metadata.gz: 4c78a3e4743f7d1139feeb0c24b4421bc520affd5a8ce02567bfcdab7d863c58f485c2390858604ee3e2266752c28f278eb03f445fa50bf1a020c8216ef28c4e
7
+ data.tar.gz: 62c522d532d8d8e2a629d9c5149a9d2f6ff092fbbb3c467774d2b7d38abe8bac837a01b2d40d9ed8e47daffb05c23becdc4ac7603b192a5f5dc3c7aadb325744
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History: opentelemetry-instrumentation-ethon
2
2
 
3
+ ### v0.19.5 / 2022-05-05
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.19.4 / 2022-02-02
8
+
9
+ * FIXED: Excessive hash creation on context attr merging
10
+
11
+ ### v0.19.3 / 2021-12-02
12
+
13
+ * (No significant changes)
14
+
3
15
  ### v0.19.2 / 2021-09-29
4
16
 
5
17
  * (No significant changes)
@@ -45,7 +45,7 @@ module OpenTelemetry
45
45
  @otel_span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response_code.to_i)
46
46
  end
47
47
  ensure
48
- @otel_span.finish
48
+ @otel_span&.finish
49
49
  @otel_span = nil
50
50
  end
51
51
  super
@@ -89,7 +89,7 @@ module OpenTelemetry
89
89
  }
90
90
  config = Ethon::Instrumentation.instance.config
91
91
  instrumentation_attrs['peer.service'] = config[:peer_service] if config[:peer_service]
92
- instrumentation_attrs.merge(
92
+ instrumentation_attrs.merge!(
93
93
  OpenTelemetry::Common::HTTP::ClientContext.attributes
94
94
  )
95
95
  end
@@ -17,6 +17,12 @@ module OpenTelemetry
17
17
 
18
18
  super
19
19
  end
20
+
21
+ def add(easy)
22
+ easy.otel_before_request unless easy.otel_span_started?
23
+
24
+ super
25
+ end
20
26
  end
21
27
  end
22
28
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Ethon
10
- VERSION = '0.19.2'
10
+ VERSION = '0.19.5'
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-ethon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.2
4
+ version: 0.19.5
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-09-30 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.19.2
33
+ version: 0.19.3
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.19.2
40
+ version: 0.19.3
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.18.3
47
+ version: 0.20.0
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.18.3
54
+ version: 0.20.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: opentelemetry-test-helpers
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rubocop
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -200,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
200
214
  licenses:
201
215
  - Apache-2.0
202
216
  metadata:
203
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.19.2/file.CHANGELOG.html
217
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.19.5/file.CHANGELOG.html
204
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ethon
205
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
206
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.19.2
220
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ethon/v0.19.5
207
221
  post_install_message:
208
222
  rdoc_options: []
209
223
  require_paths:
@@ -212,7 +226,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
226
  requirements:
213
227
  - - ">="
214
228
  - !ruby/object:Gem::Version
215
- version: 2.5.0
229
+ version: 2.6.0
216
230
  required_rubygems_version: !ruby/object:Gem::Requirement
217
231
  requirements:
218
232
  - - ">="