-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
api: model edge and middle proxies in tracing configurations #7751
Comments
@kyessenov I think I need more context about what a "middle/edge" proxy is? For example in Istio there is currently a proxy associated with each of the Ingress and Egress gateways, and also a proxy associated with workloads that trace inbound & outbound traffic from that workload. How does the concepts of middle and edge proxy relate to this example - or are they different? |
Gateway proxy would be an example, or a k8s ingress proxy. It is any proxy that is not directly associated with a user workload. Istio models gateways as a client proxy for the mesh (all requests are marked as inbound), but it has a problem that requests coming from inside the mesh to the gateway are not represented properly. |
Ok thanks for the explanation. I think one of the issues is the use of Ingress/Egress concepts in envoy vs as a mesh ingress/egress in something like Istio. As part of #7723, maybe it would be a good idea to have the re-named traffic direction values of Inbound and Outbound, instead of Ingress and Egress. Then to address your requirement, if we had a "traffic direction" value of "Gateway" - it could be used to generate two spans within the proxy, a Might mean a better name is required for "traffic direction", but could have four values: Inbound (server span), Outbound (client span), Gateway (server and client spans) and PassThrough (no spans). |
Complete |
@mattklein123 not sure this is complete - #7723 only deals with the Inbound and Outbound cases. Do we want to leave this open to further discuss and possibly implement the Gateway and PassThrough cases? |
+1, I'm going to reopen, happy to close out if this is really solved somewhere though. |
Sorry for closing too early, SGTM. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
Reference: #7723
The existing traffic direction configuration provides two options: ingress and egress.
For Envoy deployed as a middle or an edge proxy, there is no guideline for setting this option.
The option affects the behavior of the tracing engine (e.g. whether to open or close a span).
Edge/middle (which are sometimes combined) may perform at least two distinct actions in the context of distributed tracing:
This is a request to extend the API with ability to control tracing behavior for the middle/edge proxies.
/cc @objectiser @htuch
The text was updated successfully, but these errors were encountered: