Page MenuHomePhabricator

Track NFS statistics through Prometheus
Open, NormalPublic


The diamond NfsdCollector will be removed (T183454) and we need a replacement for that.

It collects NFS statistics and number of open connections on port 2049.

The former needs the "nfsd" collector from node-exporter. Unfortunatelly that is not available in our 0.14 package currently.

For the later, we can use the "textfile" collector and have a cronjob that will output to a file that node-exporter will use to export the metrics (like it's done for the intel-microcode monitoring).

Another more time-expensive solution is to improve the "tcpstat" collector with per-port statistics (the information is already available in /proc/net/tcp but it's choosing to export just aggregate statistics).

Event Timeline

GTirloni created this task.Nov 29 2018, 4:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 29 2018, 4:40 PM
GTirloni claimed this task.Dec 20 2018, 6:52 PM
GTirloni triaged this task as Normal priority.
GTirloni removed a subscriber: GTirloni.
GTirloni removed GTirloni as the assignee of this task.Dec 28 2018, 6:20 PM
GTirloni added a subscriber: GTirloni.
GTirloni added a comment.EditedMar 22 2019, 8:41 PM

prometheus-node-exporter-0.17.0 is available through a feature flag in node_exporter.pp

GTirloni removed a subscriber: GTirloni.Mar 23 2019, 8:46 PM