opentelemetry-instrumentation-excon 0.22.2 → 0.22.3

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: 8fb2efe954491e7e5129ecf322cef570283072e7f87119f08e2cf6df94e98041
4
- data.tar.gz: dd4eba5781838b4afe3dd70058461a237dc959582076fb3b34156821f36cf2f3
3
+ metadata.gz: c98c527b10d615a2019b7ba1cccf4c896f90ea2131ddb63be8a91808ddbcff81
4
+ data.tar.gz: 831d8b942ce39bbd3bdb520b0c9102a8d88ce52f5a6dd31e7c35f5d6404d0cd5
5
5
  SHA512:
6
- metadata.gz: b7092a2ed6d59fed3031568585fbba7df5c310ef8ea4dc15a89f05a988304ef8fd1e41372babe03a224a1d40e161ee6cfb509c96cf035bb1494bb2fcf51651e7
7
- data.tar.gz: 26f33813670ab6e1d193f22a60567b125d8a438be23927ae306e4740669bbfd6cd918eba9f2561c0a983a4b45a2b7eb906ae9c9f945289957b31cd49a7936bf4
6
+ metadata.gz: ffd7f30254f60baf6bf5afd8985a3cec167bb3d0f878fe1ac4b1b511d4306a56c73a018a73ca1888bc36465e8b2545899615dc8f3969930c20e91bc563738f8f
7
+ data.tar.gz: b8016f6e2691a175e2e7d3c48342f40b5654fd1a539ecf5c872dbccc22300e445bcfae8b4dd9c10b5d6684f1025e1f851b7332225bcd2de610ffbaca990c15a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release History: opentelemetry-instrumentation-excon
2
2
 
3
+ ### v0.22.3 / 2024-06-18
4
+
5
+ * FIXED: Relax otel common gem constraints
6
+ * FIXED: Add `http.url` to Excon instrumentation
7
+
3
8
  ### v0.22.2 / 2024-05-09
4
9
 
5
10
  * FIXED: Untrace entire request
@@ -27,10 +27,11 @@ module OpenTelemetry
27
27
  http_method = HTTP_METHODS_TO_UPPERCASE[datum[:method]]
28
28
 
29
29
  attributes = {
30
+ OpenTelemetry::SemanticConventions::Trace::HTTP_HOST => datum[:host],
30
31
  OpenTelemetry::SemanticConventions::Trace::HTTP_METHOD => http_method,
31
32
  OpenTelemetry::SemanticConventions::Trace::HTTP_SCHEME => datum[:scheme],
32
33
  OpenTelemetry::SemanticConventions::Trace::HTTP_TARGET => datum[:path],
33
- OpenTelemetry::SemanticConventions::Trace::HTTP_HOST => datum[:host],
34
+ OpenTelemetry::SemanticConventions::Trace::HTTP_URL => OpenTelemetry::Common::Utilities.cleanse_url(::Excon::Utils.request_uri(datum)),
34
35
  OpenTelemetry::SemanticConventions::Trace::NET_PEER_NAME => datum[:hostname],
35
36
  OpenTelemetry::SemanticConventions::Trace::NET_PEER_PORT => datum[:port]
36
37
  }
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Excon
10
- VERSION = '0.22.2'
10
+ VERSION = '0.22.3'
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-excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
4
+ version: 0.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: opentelemetry-common
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.21.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.21.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: opentelemetry-instrumentation-base
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +114,14 @@ dependencies:
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: '1.62'
117
+ version: 1.64.0
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: '1.62'
124
+ version: 1.64.0
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: rubocop-performance
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -215,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
215
201
  licenses:
216
202
  - Apache-2.0
217
203
  metadata:
218
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-excon/0.22.2/file/CHANGELOG.md
204
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-excon/0.22.3/file/CHANGELOG.md
219
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/excon
220
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
221
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-excon/0.22.2
207
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-excon/0.22.3
222
208
  post_install_message:
223
209
  rdoc_options: []
224
210
  require_paths: