mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-18 22:51:27 +01:00
14a4f0028e
* vendor: Update prometheus/procfs Signed-off-by: Hannes Körber <hannes.koerber@haktec.de> * mountstats: Use new NFS protocol field In https://github.com/prometheus/procfs/pull/100, the NFSTransportStats struct was expanded by a field called protocol that specifies the NFS protocol in use, either "tcp" or "udp". This commit adds the protocol as a label to all NFS metrics exported via the mountstats collector. Signed-off-by: Hannes Körber <hannes.koerber@haktec.de> * Update fixtures for UDP mount Signed-off-by: Hannes Körber <hannes.koerber@haktec.de>
49 lines
2.6 KiB
Plaintext
49 lines
2.6 KiB
Plaintext
device rootfs mounted on / with fstype rootfs
|
|
device sysfs mounted on /sys with fstype sysfs
|
|
device proc mounted on /proc with fstype proc
|
|
device /dev/sda1 mounted on / with fstype ext4
|
|
device 192.168.1.1:/srv/test mounted on /mnt/nfs/test with fstype nfs4 statvers=1.1
|
|
opts: rw,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.5,local_lock=none
|
|
age: 13968
|
|
caps: caps=0xfff7,wtmult=512,dtsize=32768,bsize=0,namlen=255
|
|
nfsv4: bm0=0xfdffafff,bm1=0xf9be3e,bm2=0x0,acl=0x0,pnfs=not configured
|
|
sec: flavor=1,pseudoflavor=1
|
|
events: 52 226 0 0 1 13 398 0 0 331 0 47 0 0 77 0 0 77 0 0 0 0 0 0 0 0 0
|
|
bytes: 1207640230 0 0 0 1210214218 0 295483 0
|
|
RPC iostats version: 1.0 p/v: 100003/4 (nfs)
|
|
xprt: tcp 832 0 1 0 11 6428 6428 0 12154 0 24 26 5726
|
|
per-op statistics
|
|
NULL: 0 0 0 0 0 0 0 0
|
|
READ: 1298 1298 0 207680 1210292152 6 79386 79407
|
|
WRITE: 0 0 0 0 0 0 0 0
|
|
|
|
device 192.168.1.1:/srv/test mounted on /mnt/nfs/test-dupe with fstype nfs4 statvers=1.1
|
|
opts: rw,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.5,local_lock=none
|
|
age: 13968
|
|
caps: caps=0xfff7,wtmult=512,dtsize=32768,bsize=0,namlen=255
|
|
nfsv4: bm0=0xfdffafff,bm1=0xf9be3e,bm2=0x0,acl=0x0,pnfs=not configured
|
|
sec: flavor=1,pseudoflavor=1
|
|
events: 52 226 0 0 1 13 398 0 0 331 0 47 0 0 77 0 0 77 0 0 0 0 0 0 0 0 0
|
|
bytes: 1207640230 0 0 0 1210214218 0 295483 0
|
|
RPC iostats version: 1.0 p/v: 100003/4 (nfs)
|
|
xprt: tcp 832 0 1 0 11 6428 6428 0 12154 0 24 26 5726
|
|
per-op statistics
|
|
NULL: 0 0 0 0 0 0 0 0
|
|
READ: 1298 1298 0 207680 1210292152 6 79386 79407
|
|
WRITE: 0 0 0 0 0 0 0 0
|
|
|
|
device 192.168.1.1:/srv/test mounted on /mnt/nfs/test-dupe with fstype nfs4 statvers=1.1
|
|
opts: rw,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,hard,proto=udp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.5,local_lock=none
|
|
age: 13968
|
|
caps: caps=0xfff7,wtmult=512,dtsize=32768,bsize=0,namlen=255
|
|
nfsv4: bm0=0xfdffafff,bm1=0xf9be3e,bm2=0x0,acl=0x0,pnfs=not configured
|
|
sec: flavor=1,pseudoflavor=1
|
|
events: 52 226 0 0 1 13 398 0 0 331 0 47 0 0 77 0 0 77 0 0 0 0 0 0 0 0 0
|
|
bytes: 1207640230 0 0 0 1210214218 0 295483 0
|
|
RPC iostats version: 1.0 p/v: 100003/4 (nfs)
|
|
xprt: udp 832 0 6428 6428 0 12154 0 24 26 5726
|
|
per-op statistics
|
|
NULL: 0 0 0 0 0 0 0 0
|
|
READ: 1298 1298 0 207680 1210292152 6 79386 79407
|
|
WRITE: 0 0 0 0 0 0 0 0
|