Prometheus - Convert cpu_user_seconds to CPU Usage %? : <p>Currently i'm monitoring docker containers via Prometheus.io. My problem is that i'm just getting "cpu_user_seconds_total" or "cpu_system_seconds_total". My question is how to convert this ever-increasing value to a CPU percentage?</p>

<p>Currently i'm querying: </p>

<pre><code>rate(container_cpu_user_seconds_total[30s])
</code></pre>

<p>But I don't think that it is quite correct (comparing to top).</p>

<p>How to convert cpu_user_seconds_total to CPU percentage? (Like in top)</p>
