I have aws ec2 CPUUtilization data in Prometheus. Let's say I have data for 100 ec2 instances for last 24 hours in a 5min granular. Now I want to find the top 10 ec2 instances with the highest CPUUtilization in past 24 hours. How should I compare them to select?
I tried to use the topk() function, but that seems like returning more than 10 instances. My understanding is it will return the topk instances in each timestamp, which will result in way more than k instances; I also tried to use ave_over_time function, after applying this function on each time series, the results are still bunch of time series and still I don't know how to compare them. So what are the options for me for this? Thanks -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ce826926-7a73-4a46-941e-c01e7625b1e9n%40googlegroups.com.

