Hi Brian,

Thank you for the update. The node_cpu_second metric is already present in 
the system. However, the 'st' value highlighted below is not being 
reflected, and I am want to capture only this specific parameter. Pls 
suggest.

%Cpu(s):  1.5 us,  1.2 sy,  0.0 ni, 97.3 id,  0.0 wa,  0.0 hi,  0.0 si,* 0.0 
st*

On Wednesday, August 23, 2023 at 7:14:40 PM UTC+5:30 Brian Candler wrote:

> The CPU steal time is already available as a metric from node_exporter, 
> as node_cpu_seconds_total{instance="XXX",cpu="N",mode="steal"}
>
> Since this is an accumulated number of seconds, you'd use rate() to find 
> out how fast it is growing.
>
> If you want to view this in Grafana there are existing dashboards you can 
> use, e.g. https://grafana.com/grafana/dashboards/1860-node-exporter-full/
>
> On Wednesday, 23 August 2023 at 11:55:02 UTC+1 Monica wrote:
>
>> Hi All,
>>
>> I need to capture the 'st' parameter (which represents the time stolen 
>> from this virtual machine by the hypervisor) from the Linux 'top' command 
>> using Prometheus for monitoring purposes.
>>
>> %Cpu(s):  1.5 us,  1.2 sy,  0.0 ni, 97.3 id,  0.0 wa,  0.0 hi,  0.0 si,* 
>> 0.0 st*
>>
>> Could anyone please suggest whether this is achievable using Prometheus? 
>> If so, could you also explain how?
>>
>

-- 
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/798fec63-bbca-4cc8-b209-af5de38b3a5dn%40googlegroups.com.

Reply via email to