-
Notifications
You must be signed in to change notification settings - Fork 241
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
Some spans are not appearing in X-Ray #2323
Comments
Hi @rcdailey
Not sure why these spans are not showing up in X-Ray, and I need more information from you. I tried mapping out the spans for trace id
If you search in X-Ray console for trace If possible, can you send me the trace screenshot and raw json data for the above trace id from your X-Ray console? |
Perhaps the Span Kind is not being exported as Segments to Xray. See |
I apologize for the delay in my response. I no longer work at the company where I ran into this issue, so I unfortunately am not able to follow up with more details. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
I am using a library named Rebus to publish messages to an SQS queue in an ASP.NET C# WebApi application. The receiver for these messages is a
BackgroundService
in the same process. I initialize Open Telemetry for .NET once in the main Program.cs.I noticed in X-Ray, that certain spans are not appearing in the service map or in the traces list. I do, however, see the spans exported from the ADOT otel collector. Given the multi-faceted nature of this issue, I'm not sure if this is the best place for my question, but it's a start.
My expectation is that I see all spans in the trace event (which is a call to one of the endpoints in my web api). I also would like a better understanding of why these spans do not appear in X-Ray but show up fine in applications like Jaeger.
My environment:
ECS to host my WebApi microservice. In the same ECS task, I also have the adot otel collector running, which my webapi sends telemetry to. From there, my collector is configured to export to xray.
Here is my collector config:
My initialization code in C#:
As far as Rebus goes, I'm using
Rebus.OpenTelemetry
package which ensures that baggage/headers are propagated with messages sent over SQS so that traces on the receiving end can be correlated. Maybe the issue is in this package, but I'm not sure.And I'll attach a log file containing debug output from the collector for trace information. Notice that you'll see spans with instrumentation scope "Rebus.Diagnostics". These do not appear in X-Ray. Nor do the S3.DeleteObject HTTP calls. All of these show up in the attached log though, so I know the instrumentation itself is working.
otel-collector-debug-output.txt
I've spent hours combing over the logs but there's a lot of information and I'm not sure how to identify what is the cause.
The text was updated successfully, but these errors were encountered: