aspecto-opentelemetry-instrumentation-aws_sdk 0.1.1 → 0.1.2

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: 0c0d66d31a0f6bc5f4fce712eac7a89dd9496bb184e94ef3d8f020d34da908c6
4
- data.tar.gz: 9684ac5b863abddf558f0aa13e4b5f06a66ae84c81eb99362fd99e3906a016b9
3
+ metadata.gz: 1fb173a9b6f6b808809096ed8197c1613830a59f05141deb338f9b50f2385b62
4
+ data.tar.gz: abf40be87810f0f6143d08992e5d1f8df5a5e2c4305e1157f7d536bec0093d86
5
5
  SHA512:
6
- metadata.gz: 01e7d9fdc6def5ba52d4fd6859fe35f1002988d621dd19174cc49e035db0b2e312fef0bb03982f02e850d9dbdb3d14d841a5eda4cf97a7681da2b7a5e2b61f69
7
- data.tar.gz: fcb4db3a7b95b559e9b5afe82962a67e1c50a8b85efa58582d0c6da44698afa5cc95be01c69930983f56b309c3981efba2656497f64b4ba19b797dd7d06b5341
6
+ metadata.gz: f7ee252047b645f04c863afe2f2a9b6dc7e1e8cb7636313e523cd1eb95277c8bf7044cf153c2f8da92e63da69243b581e29e62403940367efa023edb7b218987
7
+ data.tar.gz: d6c471fd137dba3f4fb05423c462b3d26fa0b3ee7a4e0dff223d244eee98cfb6768df2ee3b3d3ba5dbf2a42de4c4f2e80148bbca32816a5c02c096bd8bf41334
@@ -19,9 +19,9 @@ module OpenTelemetry
19
19
  if topic_arn || target_arn
20
20
  arn = topic_arn || target_arn
21
21
  begin
22
- arn.split(':')[-1]
22
+ return arn.split(':')[-1]
23
23
  rescue StandardError
24
- arn
24
+ return arn
25
25
  end
26
26
  end
27
27
 
@@ -35,6 +35,7 @@ module OpenTelemetry
35
35
  def get_messaging_attributes(context, service_name, operation)
36
36
  return get_sns_attributes(context, operation) if service_name == 'SNS'
37
37
  return get_sqs_attributes(context, operation) if service_name == 'SQS'
38
+
38
39
  {}
39
40
  end
40
41
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module AwsSdk
10
- VERSION = '0.1.1'
10
+ VERSION = '0.1.2'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspecto-opentelemetry-instrumentation-aws_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
@@ -245,10 +245,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
245
245
  licenses:
246
246
  - Apache-2.0
247
247
  metadata:
248
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.1.1/file.CHANGELOG.html
248
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.1.2/file.CHANGELOG.html
249
249
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/aws_sdk
250
250
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
251
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.1.1
251
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.1.2
252
252
  post_install_message:
253
253
  rdoc_options: []
254
254
  require_paths: