opentelemetry-instrumentation-aws_sdk 0.2.0 → 0.2.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: 25ec693b3e795860dc934fdfd53cc6e8811edfeb02a1d0e6e00befdfffaa868c
4
- data.tar.gz: d6844163d29157d36b34a6fe845d0cab60e40d020004269d5ccb78f2f8f33f75
3
+ metadata.gz: 7e39c45762b6901dfe9f01f8af46777032e5db7048d6bddcf1db7c6028ee2b9d
4
+ data.tar.gz: 3d04146379e54f7719f45a9aa84c58a6d42027f226f05b22b9a5f779dd8d0206
5
5
  SHA512:
6
- metadata.gz: e43e05fd3994b51649acf47392b14bda90384727c44791fb5e638a67dbe9ac4f67dae91b46180b0cf4354aee0fbcd4eff74118fff3b32151419eb915fa18c1c8
7
- data.tar.gz: 69db39398bc60c76390a4a56054768e294aadaa7b5aa17ffbd257217488a134df452df795f988da03a5e3073f125b8fffd03a7952ed3e9b64590d4a6849bfb9c
6
+ metadata.gz: 9828080c5b07b90484a8c44ff7f8b1dcb8c55b160bda3759c35b120e9d4fe4fbc300259c0b48eeafbb84e0081251396391e4b20b1663840bf61f28bd2361402d
7
+ data.tar.gz: 975cd01920a87b1889d7bd6aa2dd86897b7a881245d4974023d5ccfffaeac4d7064906313c554418ac9f845f44125458238b949f1f406e1c6c7162ff8bc89f84
data/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # Release History: opentelemetry-instrumentation-aws_sdk
2
-
3
- ### v0.2.0 / 2022-01-20
4
-
5
- * ADDED: SQS / SNS messaging attributes and context propagation
6
-
7
- ### v0.1.0 / 2021-12-01
8
-
9
- * Initial release.
2
+
3
+ ### v0.2.1 / 2022-01-21
4
+
5
+ * ADDED: attach HTTP status code to AWS spans
6
+
7
+ ### v0.2.0 / 2022-01-20
8
+
9
+ * ADDED: SQS / SNS messaging attributes and context propagation
10
+
11
+ ### v0.1.0 / 2021-12-01
12
+
13
+ * Initial release.
@@ -37,6 +37,9 @@ module OpenTelemetry
37
37
  else
38
38
  super
39
39
  end.tap do |response|
40
+ span.set_attribute(OpenTelemetry::SemanticConventions::Trace::HTTP_STATUS_CODE,
41
+ context.http_response.status_code)
42
+
40
43
  if (err = response.error)
41
44
  span.record_exception(err)
42
45
  span.status = Trace::Status.error(err.to_s)
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module AwsSdk
10
- VERSION = '0.2.0'
10
+ VERSION = '0.2.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.2.0
4
+ version: 0.2.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-01-20 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -244,10 +244,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
244
244
  licenses:
245
245
  - Apache-2.0
246
246
  metadata:
247
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.2.0/file.CHANGELOG.html
247
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.2.1/file.CHANGELOG.html
248
248
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/aws_sdk
249
249
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
250
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.2.0
250
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-aws_sdk/v0.2.1
251
251
  post_install_message:
252
252
  rdoc_options: []
253
253
  require_paths: