-
Notifications
You must be signed in to change notification settings - Fork 101
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
Provide a new label for metrics regarding destination type #1128
Comments
For Sandwich, we use find_inbound_upstream: Checks if the connection address is a workload that is part of the HBONE address's Waypoints. The tricky part for inbound to-workload is figuring out if the traffic was originally Service or Workload addressed. Can we make a good enough guess here for telemetry purposes? For example, inbound workload has both Other option would be Waypoint adding a header with the original HBONE target that it saw. |
Dumb question: wouldn't (Istio) waypoints provide some header with a value of envoy? |
There are some headers, I don't know any that are guaranteed unless we add one |
Just to make sure I'm clear... I think for ztunnel, I think it would be useful to add |
maybe too verbose, but just an idea: |
The 'from waypoint' is the tricky part. 'To waypoint' is easy, and |
The unfortunate effect is that currently, to try and identify these waypoint edges, a consumer like Kiali needs to combine waypoint config and telemetry. This is a slippery slope because config is current, but telem reflects the past. So it's much better if everything can be identified in the telemetry. Just wanted to confirm my question above, with waypoints, the |
No, waypoint should report TCP as well if the service is TCP (same semantics as a sidecar) |
Hmmm, I'm not seeing it. I'll re-check... |
I think due to istio/istio#53593 |
I propose adding a new label to all the traffic metrics in ztunnel:
traffic_type: waypoint|direct
.The motivation here is to allow querying for traffic without duplication when dealing with waypoints.
When I have a waypoint, I will get 3 timeseries:
client-->waypoint
,client-->server
,waypoint-->server
.Logically, I know the first and last metrics are "to/from waypoint" traffic. However, there is no query to actually express that information, so I cannot filter it out. With the
traffic_type
we could identify this.On outbound this is trivial. Its a bit less clear if we can 100% identify waypoint traffic on the inbound path
The text was updated successfully, but these errors were encountered: