opentelemetry-instrumentation-aws_sdk 0.3.0 → 0.3.1

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: 5fc1ca111fe72c6be976e2985c0e723d52fc01b422a5acd8358e6bfdc59ec4ee
4
- data.tar.gz: 45e28e876f3e7c6fa94f31dac84331e7773f35b66f6d5c8132d38ee094a43e8c
3
+ metadata.gz: 850bb9451601140697549b230f1a973ecda38d028cf002da224a6b4878bdcdb7
4
+ data.tar.gz: 383a89ecdd48abd9ffc58f4dcb623fd56f2601797a2a7934d052b9b690124f1f
5
5
  SHA512:
6
- metadata.gz: 9ce9d88a813ca764504cb963e2db7aefdf218d5c48124e6978df7f104c47c4278d05b5a7e46c1e3c25a055ca7bd7e286d848e96dcd2ed45700b7bf499153d8d5
7
- data.tar.gz: 147bb1caa983147a240a278eeb305943c6f4441bc54201a988bad4cfb8b668d7e19ba0f942bfa97b2034fc9046a4a4e4712902de457e515ca2390e0f5cd4db26
6
+ metadata.gz: 3a59482b651344fa59c1fbb5c42d146dd33164a33775ddadaea3e382313cccfd81918a1435e93a2652161fc4776a02e4ffd819e0a56b201172cdbba4e55bc8c2
7
+ data.tar.gz: 95a04aaa0530f917ca2ff8df5386b0f8b0070bbf81a176749eca0e325844144c2d4e8300105cb35b1d1ad18192987dbf2a1b0ca2193a3fdcd689173f567c4525
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-aws_sdk
2
2
 
3
+ ### v0.3.1 / 2022-07-19
4
+
5
+ * FIXED: Suppress invalid span attribute value type warning in aws-sdk instrumentation
6
+
3
7
  ### v0.3.0 / 2022-06-09
4
8
 
5
9
  * Upgrading Base dependency version
data/README.md CHANGED
@@ -58,8 +58,7 @@ Apache 2.0 license. See [LICENSE][license-github] for more information.
58
58
  [aws-sdk-home]: https://github.com/aws/aws-sdk-ruby
59
59
  [bundler-home]: https://bundler.io
60
60
  [repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
61
- [license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
61
+ [license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
62
62
  [ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
63
63
  [community-meetings]: https://github.com/open-telemetry/community#community-meetings
64
64
  [discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
65
-
@@ -14,7 +14,7 @@ module OpenTelemetry
14
14
  SQS_RECEIVE_MESSAGE = 'SQS.ReceiveMessage'
15
15
  SNS_PUBLISH = 'SNS.Publish'
16
16
 
17
- def call(context) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
17
+ def call(context) # rubocop:disable Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
18
18
  return super unless context
19
19
 
20
20
  service_name = service_name(context)
@@ -58,7 +58,7 @@ module OpenTelemetry
58
58
  AwsSdk::Instrumentation.instance.config
59
59
  end
60
60
 
61
- def service_name(context) # rubocop:disable Metrics/AbcSize
61
+ def service_name(context)
62
62
  # Support aws-sdk v2.0.x, which 'metadata' has a setter method only
63
63
  return context.client.class.to_s.split('::')[1] if ::Seahorse::Model::Api.instance_method(:metadata).parameters.length.positive?
64
64
 
@@ -32,7 +32,7 @@ module OpenTelemetry
32
32
  attributes[SemanticConventions::Trace::MESSAGING_SYSTEM] = 'aws.sqs'
33
33
  attributes[SemanticConventions::Trace::MESSAGING_DESTINATION_KIND] = 'queue'
34
34
  attributes[SemanticConventions::Trace::MESSAGING_DESTINATION] = queue_name(context)
35
- attributes[SemanticConventions::Trace::MESSAGING_URL] = context.params[:queue_url]
35
+ attributes[SemanticConventions::Trace::MESSAGING_URL] = context.params[:queue_url] if context.params[:queue_url]
36
36
 
37
37
  attributes[SemanticConventions::Trace::MESSAGING_OPERATION] = 'receive' if client_method == 'SQS.ReceiveMessage'
38
38
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module AwsSdk
10
- VERSION = '0.3.0'
10
+ VERSION = '0.3.1'
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-aws_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-09 00:00:00.000000000 Z
11
+ date: 2022-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.73.0
173
+ version: 1.3.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.73.0
180
+ version: 1.3.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: simplecov
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -254,14 +254,14 @@ files:
254
254
  - lib/opentelemetry/instrumentation/aws_sdk/messaging_helper.rb
255
255
  - lib/opentelemetry/instrumentation/aws_sdk/services.rb
256
256
  - lib/opentelemetry/instrumentation/aws_sdk/version.rb
257
- homepage: https://github.com/open-telemetry/opentelemetry-ruby
257
+ homepage: https://github.com/open-telemetry/opentelemetry-contrib
258
258
  licenses:
259
259
  - Apache-2.0
260
260
  metadata:
261
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.3.0/file.CHANGELOG.html
262
- source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/aws_sdk
263
- bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
264
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.3.0
261
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-aws_sdk/v0.3.1/file.CHANGELOG.html
262
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/aws_sdk
263
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
264
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby-contrib/opentelemetry-instrumentation-aws_sdk/v0.3.1
265
265
  post_install_message:
266
266
  rdoc_options: []
267
267
  require_paths: