You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The graph for an Ambient namespace is not generated correctly when the traffic is not generated throw a Gateway.
It depends where the traffic was originated, for some reason the total bytes are 0 for some of the istio_tcp_received_bytes_total and istio_tcp_sent_bytes_total
sum(rate(istio_tcp_sent_bytes_total)) Is 0 for some workloads.
sum(rate(istio_tcp_received_bytes_total{reporter="destination",destination_workload_namespace="default"} [30600s])) by (source_cluster,source_workload_namespace,source_workload,source_canonical_service,source_canonical_revision,destination_cluster,destination_service_namespace,destination_service,destination_service_name,destination_workload_namespace,destination_workload,destination_canonical_service,destination_canonical_revision,response_flags)
Expected Behavior
See the whole graphic:
What are the steps to reproduce this bug?
Create a kind cluster (Also minikube would be valid)
Describe the bug
The graph for an Ambient namespace is not generated correctly when the traffic is not generated throw a Gateway.
It depends where the traffic was originated, for some reason the total bytes are 0 for some of the
istio_tcp_received_bytes_total
andistio_tcp_sent_bytes_total
sum(rate(istio_tcp_sent_bytes_total)) Is 0 for some workloads.
sum(rate(istio_tcp_received_bytes_total{reporter="destination",destination_workload_namespace="default"} [30600s])) by (source_cluster,source_workload_namespace,source_workload,source_canonical_service,source_canonical_revision,destination_cluster,destination_service_namespace,destination_service,destination_service_name,destination_workload_namespace,destination_workload,destination_canonical_service,destination_canonical_revision,response_flags)
Expected Behavior
See the whole graphic:
What are the steps to reproduce this bug?
istio/install-istio-via-istioctl.sh -c kubectl -cp ambient
Generate some traffic:
kubectl exec deploy/sleep -- curl -s http://productpage:9080/ | grep -o "<title>.*</title>"
kubectl exec deploy/notsleep -- curl -s http://productpage:9080/ | grep -o "<title>.*</title>"
See the graphic:
Send some traffic throw the gateway:
kubectl exec deploy/sleep -- curl -s "http://$GATEWAY_HOST/productpage" | grep -o "<title>.*</title>"
See the graph:
Environment
Learn about how to determine versions here.
The text was updated successfully, but these errors were encountered: