-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mark frontend server spans as synthetic when coming from loadgen #1181
Conversation
This change will change the way synthetic requests work: * frontend service will no longer restart the trace * frontend-proxy will be visible in all traces * loadgen will be visible in all synthetic traces This will ensure that service-graphs can correctly be built and we dont artificially hide services, but instead a trace will contain all the hops.
If we add this change we will drop the example for linked traces. |
I am sure we can come up with a better one. The current state is hiding too much behind the span link. I tried looking if we could configure envoy to restart and link, but to no avail :-/ |
We split the traces to showcase trace linking early in the demo's development. Though the traces look nicer when not linked, we specifically try to showcase the OpenTelemetry functionality this PR is removing. |
@puckpuck I think we it's less about looks, I found it to be confusing when the service graph and trace didn't contain the frontend-proxy. I think we can probably highlight this capability in a better place and I'd be happy to add it somewhere else. Can you think of a better place that doesn't hide a critical piece of the puzzle? Maybe in a downstream message consumer? |
Quoting the OTel docs here, it seems that the link would be a better fit for the message queue indeed:
I'd be okay with that change. |
I'm a little hesitant to remove something (child spans for accounting and frauddetection) from our existing traces, but not completely against the idea. I think it makes sense to have an issue to discuss a better spot for span links and hold off on this PR until we get that resolved and implemented. |
Vendor support for span link visualization is patchy although we should encourage more representation. Does jaeger display span links well or is just an attribute? |
Jaeger does support Span Links. Honeycomb does as well. |
Cool. I’m okay with the change |
Dynatrace also supports it |
Conflicts resolved. |
Could you post a screenshot of what you're seeing without this PR? I'm a bit confused on if this is working as intended or not. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
@cedricziel, did you see this comment? |
Ahh. Dropped the ball here, sorry. Thanks @julianocosta89 ! |
Changes
This change will change the way synthetic requests work:
This will ensure that service-graphs can correctly be built and we dont artificially hide services, but instead a trace will contain all the hops.
Merge Requirements
For new features contributions please make sure you have completed the following
essential items:
CHANGELOG.md
updated to document new feature additionsRelated: #1180