rfmoz / grafana-dashboards

Grafana dashboards
Apache License 2.0
1.13k stars 440 forks source link

node_exporter: add `node_netstat_TcpExt_TCPRcvQDrop` #104

Closed Dentrax closed 3 months ago

Dentrax commented 1 year ago

Why this metric is important?

rfmoz commented 3 months ago

It seems an interesting value to monitor but I don't see it on the default Prometheus Exporter output.

rfmoz commented 3 months ago

To see that value, on /etc/default/prometheus-node-exporter add the following argument:

--collector.netstat.fields="^(.*_(InErrors|InErrs)|Ip_Forwarding|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Listen.*|Syncookies.*|TCPSynRetrans|TCPOFOQueue|TCPRcvQDrop)|Tcp_(ActiveOpens|InSegs|OutSegs|OutRsts|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InDatagrams|OutDatagrams|NoPorts|RcvbufErrors|SndbufErrors))$"
rfmoz commented 3 months ago

The last commit cad8539 included the graph for TCPRcvQDrop and TCPOFOQueue under TCP errors.

rfmoz commented 3 months ago

Probably this will be enabled by default on node-exporter:

https://github.com/prometheus/node_exporter/pull/3021