I am trying to create a query such that I find the 5 containers with the highest average cpu usage, then display their cpu usage over time. I can easily find the containers with the highest average, or even display the top 5 containers with the highest cpu usage per timeslice, but I am not sure how to do both together. The problem with displaying the top 5 per timeslice is that it often ends up displaying many more than 5 containers since the highest will vary per timeslice, instead of limiting to 5 series being displayed.
I hope this question makes sense and that this is possible.
Please sign in to leave a comment.