aboutsummaryrefslogtreecommitdiff
path: root/end-to-end-test.sh
diff options
context:
space:
mode:
authorEd Schouten <ed@kumina.nl>2016-11-29 14:32:52 +0100
committerEd Schouten <ed@nuxi.nl>2016-12-09 19:58:08 +0100
commita696830c38f8dcb171d36651d0b10fe58cf28d4c (patch)
tree3dc888745af0d67a237305c2cbf9157af2fc2980 /end-to-end-test.sh
parent006d1c7922b765f458fe9b92ce646641bded0f52 (diff)
downloadprometheus_node_collector-a696830c38f8dcb171d36651d0b10fe58cf28d4c.tar.bz2
prometheus_node_collector-a696830c38f8dcb171d36651d0b10fe58cf28d4c.tar.xz
prometheus_node_collector-a696830c38f8dcb171d36651d0b10fe58cf28d4c.zip
Add a collector for NFS client statistics.
This change adds a new collector called "nfs" that parses the contents of /proc/net/rpc/nfs and turns it into metrics. It can be used to inspect the number of operations per type, but also to keep an eye on an extraneous number of retransmissions, which may indicate connectivity issues. I've picked the name "nfs", as most operating systems use "nfs" for the client component and "nfsd" as the server component. If we want to add stats for the NFS server as well, we'd better call such a collector "nfsd".
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-xend-to-end-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh
index 4e4ba41..ce6351e 100755
--- a/end-to-end-test.sh
+++ b/end-to-end-test.sh
@@ -15,6 +15,7 @@ collectors=$(cat << COLLECTORS
15 meminfo_numa 15 meminfo_numa
16 netdev 16 netdev
17 netstat 17 netstat
18 nfs
18 sockstat 19 sockstat
19 stat 20 stat
20 textfile 21 textfile