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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 850bb9451601140697549b230f1a973ecda38d028cf002da224a6b4878bdcdb7
|
4
|
+
data.tar.gz: 383a89ecdd48abd9ffc58f4dcb623fd56f2601797a2a7934d052b9b690124f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a59482b651344fa59c1fbb5c42d146dd33164a33775ddadaea3e382313cccfd81918a1435e93a2652161fc4776a02e4ffd819e0a56b201172cdbba4e55bc8c2
|
7
|
+
data.tar.gz: 95a04aaa0530f917ca2ff8df5386b0f8b0070bbf81a176749eca0e325844144c2d4e8300105cb35b1d1ad18192987dbf2a1b0ca2193a3fdcd689173f567c4525
|
data/CHANGELOG.md
CHANGED
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/
|
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)
|
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
|
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.
|
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-
|
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:
|
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:
|
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-
|
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.
|
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.
|
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:
|