Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Instrumentation.AWS] Update AWS SDK Activity Tags (#1857) #1865

Merged
merged 7 commits into from
Jun 12, 2024

Conversation

yiran29
Copy link
Contributor

@yiran29 yiran29 commented Jun 4, 2024

Based on Opentelemetry Semantic Conventions for AWS SDK: https://opentelemetry.io/docs/specs/semconv/cloud-providers/aws-sdk, update Activity Tags for rpc.service, rpc.system, rpc.method.

Fixes #1857

Changes

Currently AWS SDK instrumentation did not set RPC Activity Tags as mentioned in https://opentelemetry.io/docs/specs/semconv/cloud-providers/aws-sdk/, this change will add missing tags. Changes have been tested with OpenTelemetry.Instrumentation.AWS.Tests

@yiran29 yiran29 requested a review from a team June 4, 2024 19:05
Copy link

linux-foundation-easycla bot commented Jun 4, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@vishweshbankwar
Copy link
Member

@yiran29 - Could you please sign the CLA? #1865 (comment)

@Kielek Kielek added the comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS label Jun 4, 2024
@birojnayak
Copy link
Contributor

@ppittle @Kielek could you guys please review soon ?

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.56%. Comparing base (71655ce) to head (fc38dd1).
Report is 298 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1865       +/-   ##
===========================================
+ Coverage   73.91%   87.56%   +13.64%     
===========================================
  Files         267       12      -255     
  Lines        9615      201     -9414     
===========================================
- Hits         7107      176     -6931     
+ Misses       2508       25     -2483     
Flag Coverage Δ
unittests-Instrumentation.AWS 87.56% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...on.AWS/Implementation/AWSTracingPipelineHandler.cs 85.85% <100.00%> (-1.90%) ⬇️

... and 267 files with indirect coverage changes

Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a changelog entry too.

@Kielek
Copy link
Contributor

Kielek commented Jun 10, 2024

@yiran29, could you please handle comment from @cijothomas? #1865 (review)

Then the PR can be merged.

@yiran29
Copy link
Contributor Author

yiran29 commented Jun 11, 2024

@yiran29, could you please handle comment from @cijothomas? #1865 (review)

Then the PR can be merged.

@Kielek I have updated the CHANGELOG for AWS Instrumentation. Thanks!

@Kielek Kielek merged commit 4ade0e2 into open-telemetry:main Jun 12, 2024
55 checks passed
vastin added a commit to aws-observability/aws-otel-dotnet-instrumentation that referenced this pull request Jun 27, 2024
- miss rpc.system in AWS SDK span. fixed in open-telemetry/opentelemetry-dotnet-contrib#1865 and pending for release.
- miss leading / in span.DisplayName of http server span.
- env var OTEL_EXPORTER_OTLP_TRACES_ENDPOINT doesn't take effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding rpc.system for AWS SDK specifications as per Semantic Conventions
8 participants