rate(container_cpu_usage_seconds_total[1m])--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6e5adf18-1fd0-4388-98b8-d2ea932a419f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Use a range query instead of an instant query.In the Prometheus Graph UI, you do it by clicking the Graph tab (instead of Console).
On Thu, Jul 26, 2018 at 10:24 AM, Pei Hsuan <c207...@gmail.com> wrote:
Hi,I wondering how to use the metrics from cadvisor to plot the cpu usage history of an container.I know I can useto get the average cpu usage base on the data in past 1 minute.rate(container_cpu_usage_seconds_total[1m])But how to get the historical cpu usage not just the current one?
--
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 prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.