-
Notifications
You must be signed in to change notification settings - Fork 298
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
AWS X-Ray traces without span info #1930
Comments
I had the same problem. I was able to fix it by adding some custom tags to the trace:
I was also able to populate the
Hope this helps! |
@ppittle, FYI |
I would suggest looking into using Application Signals. It's built on top of the Opentelemetry Auto Instrumentation agent and it enriches the spans with AWS specific attributes to be able to see them on the CloudWatch console. AWS Otel Instrumentation package for reference and it works the same way that the Opentelemetry Auto Instrumentation agent does so you could follow the instructions there but use the zip files from the AWS Instrumentation release page. |
The current version of Opentelemetry.Instrumentation.AWS should be doing that for you though since you are manually instrumenting your application. Do you mind sharing the version that you were using? |
Component
OpenTelemetry.Extensions.AWS
Package Version
Runtime Version
net8.0
Description
I currently have an application that is collecting metrics and traces using Open Telemetry. Locally, I have an Aspire board that shows me the correct traces with the correct span info. I'm trying to see the span info of my traces on AWS.
Steps to Reproduce
This is a snippet of the code I'm using for this example:
Expected Result
I was expecting something similar to what my aspire board is showing, but on AWS side:
(Note that the delays here were different from the following evidence)
As seen above, the aspire board is showing me the
GET /
,Fastttt
and theSlowwww
info.Actual Result
When testing it in AWS, even though the traces are received and so is the metadata, there is no span info displayed on the waterfall chart. Not even the response code is showing:
And a snippet of the corresponding metadata:
Additional Context
No response
The text was updated successfully, but these errors were encountered: