Hello All,
I was scraping data for fetching CPU usage for every minute and the query i'm using is ((1 - avg(irate(node_cpu_seconds_total{mode="idle",instance=~"$ip"}[5m])) by (instance)) * 100),
i'm getting the average data but i want the last data sample which is evaluated.
Could you please help me with a proper query to fetch cpu usage of entire instance for a particular minute.
Thanks and Regards,
Sandesh S