Skip to content
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

Wrong result with the example query #8

Open
arik-porat opened this issue Feb 25, 2021 · 0 comments
Open

Wrong result with the example query #8

arik-porat opened this issue Feb 25, 2021 · 0 comments

Comments

@arik-porat
Copy link

arik-porat commented Feb 25, 2021

I'm getting better results with this query to undestand the number of request per second a pod is doing:
round(
sum(
irate(istio_requests_total{reporter="destination",destination_workload_namespace="namespace",destination_workload="pod-name"}[1m])
),
0.001)
/
count(
count(
container_memory_usage_bytes{
namespace="namespace",
pod_name=~"pod-name.*"
}
) by (pod_name)
)

The first part I've taken from the istio workload dashboard itself.

With the example query I get double the size of the requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant