From f3d7c44453a3fa3bdae39749283c1a2478d4f0b0 Mon Sep 17 00:00:00 2001 From: Kerri Wait <kerri.wait@monash.edu> Date: Tue, 13 Oct 2020 17:36:23 +1100 Subject: [PATCH] Modify telegraf nfsstats to capture GETATTR operations too --- roles/telegraf/files/telegraf_mountstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/telegraf/files/telegraf_mountstats.py b/roles/telegraf/files/telegraf_mountstats.py index 45fcf8a7..56054921 100644 --- a/roles/telegraf/files/telegraf_mountstats.py +++ b/roles/telegraf/files/telegraf_mountstats.py @@ -3,7 +3,7 @@ xprtudpcounters="proto,port,bind_count,rpcsends,rpcreceives,badxids,inflightsend xprttcpcounters="proto,port,bind_count,connect_count,connect_time,idle_time,rpcsends,rpcreceives,badxids,inflightsends,backlogutil".split(',') xprtrdmacounters="proto,port,bind_count,connect_count,idle_time,rpcsends,rpcreceives,badxids,backlogutil,read_chunks,write_chunks,reply_chunks,total_rdma_req',total_rdma_rep,pullup,fixup,hardway,failed_marshal,bad_reply".split(',') NfsOpCounters="operations,transmissions,major_timeouts,bytes_sent,bytes_recv,queue_time,response_time,request_time".split(',') -OPS="WRITE,OPEN,CLOSE,ACCESS,RENAME,SYMLINK,CREATE".split(',') +OPS="GETATTR,WRITE,OPEN,CLOSE,ACCESS,RENAME,SYMLINK,CREATE".split(',') NfsEventCounters = [ 'inoderevalidates', -- GitLab