-
Notifications
You must be signed in to change notification settings - Fork 290
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
Conversation
@yiran29 - Could you please sign the CLA? #1865 (comment) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ 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
Flags with carried forward coverage won't be shown. Click here to find out more.
|
src/OpenTelemetry.Instrumentation.AWS/Implementation/AWSTracingPipelineHandler.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
@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! |
- 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.
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