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

-- 
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/4a09fca6-a12c-405f-b4a1-cea7e4df7c90n%40googlegroups.com.

Reply via email to