I suppose that you're missing the square brackets around the interval:
rate(process_cpu_seconds_total[5m])
On Wed, Dec 12, 2018 at 8:17 AM <abhaydd...@gmail.com> wrote:
>
> Hi ,
>
> I want to get CPU usage percentage of Prometheus server.
> I am using process_cpu_seconds_total for this.
> I have use rate(process_cpu_seconds_total [5m])