node exporter node_sockstat_TCP_alloc not coherent with node_netstat_Tcp_CurrEstab

8/17/2021

I am using node exporter with kubernetes and prometheus to moniter the number of current tcp connections

From this post i found that node_sockstat_TCP_alloc or node_netstat_Tcp_CurrEstab metric can be used for such thing.

I started doing tcp connection using mosquito connect and pub.

The node_sockstat_TCP_alloc increased as the number of mqtt user increase

enter image description here

But node_netstat_Tcp_CurrEstab is always constant

enter image description here

-- karlos
kubernetes
prometheus-node-exporter
tcp

0 Answers