Number of running threads.

32 views
Skip to first unread message

Yagyansh S. Kumar

unread,
Mar 2, 2020, 7:01:21 AM3/2/20
to Prometheus Users
Is there any way by which I can get the number of currently running threads on a Linux server using node_exporter?
Have researched a lot but haven't found anything yet.

Julien Pivotto

unread,
Mar 2, 2020, 7:06:10 AM3/2/20
to Yagyansh S. Kumar, Prometheus Users
Hi,

You have the metrics

node_processes_pids
and
node_processes_threads

enabled by --collector.processes

regards

>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c7a2471a-6188-48b4-a7d5-518aef16619b%40googlegroups.com.


--
(o- Julien Pivotto
//\ Open-Source Consultant
V_/_ Inuits - https://www.inuits.eu
signature.asc

Yagyansh S. Kumar

unread,
Mar 2, 2020, 7:20:51 AM3/2/20
to Prometheus Users
Ah, another collector. Missed that completely. Thanks for the quick response.


On Monday, March 2, 2020 at 5:36:10 PM UTC+5:30, Julien Pivotto wrote:
On 02 Mar 04:01, Yagyansh S. Kumar wrote:
> Is there any way by which I can get the number of currently running threads
> on a Linux server using node_exporter?
> Have researched a lot but haven't found anything yet.

Hi,

You have the metrics

node_processes_pids
and
node_processes_threads

enabled by --collector.processes

regards

>
> --
> 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 promethe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages