@cryptotaxi247 / netdata-1 / commits / 73a30e17f

add proc_net_rpc_nfs and nfsd charts info (#11625)

Ilya Mashchenko committed Oct 6, 2021 at 14:59 UTC 73a30e17f01edb0bff9d570543ab81d56d6052eb
1 file changed +107 -3
web/gui/dashboard_info.js
+107 -3
@@ -180,13 +180,19 @@ netdataDashboard.menu = {
180 'nfsd': {
181 title: 'NFS Server',
182 icon: '<i class="fas fa-folder-open"></i>',
183 - info: 'Performance metrics of the Network File Server. NFS is a distributed file system protocol, allowing a user on a client computer to access files over a network, much like local storage is accessed. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. The NFS is an open standard defined in Request for Comments (RFC).'
183 + info: 'Performance metrics of the Network File Server. '+
184 + '<a href="https://en.wikipedia.org/wiki/Network_File_System" target="_blank">NFS</a> '+
185 + 'is a distributed file system protocol, allowing a user on a client computer to access files over a network, '+
186 + 'much like local storage is accessed. '+
187 + 'NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system.'
188 },
189
190 'nfs': {
191 title: 'NFS Client',
192 icon: '<i class="fas fa-folder-open"></i>',
189 - info: 'Performance metrics of the NFS operations of this system, acting as an NFS client.'
193 + info: 'Performance metrics of the '+
194 + '<a href="https://en.wikipedia.org/wiki/Network_File_System" target="_blank">NFS</a> '+
195 + 'operations of this system, acting as an NFS client.'
196 },
197
198 'zfs': {
@@ -1952,7 +1958,7 @@ netdataDashboard.context = {
1958
1959 'ipv6.sockstat6_tcp_sockets': {
1960 info: 'The number of TCP sockets in any '+
1955 - '<a href="https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Protocol_operation" target="">state</a>, '+
1961 + '<a href="https://en.wikipedia.org/wiki/Transmission_Control_Protocol#Protocol_operation" target="_blank">state</a>, '+
1962 'excluding TIME-WAIT and CLOSED.'
1963 },
1964
@@ -2830,6 +2836,104 @@ netdataDashboard.context = {
2836 '<b>Metadata</b> is bcache\'s metadata overhead. '
2837 },
2838
2839 + // ------------------------------------------------------------------------
2840 + // NFS client
2841 +
2842 + 'nfs.net': {
2843 + info: 'The number of received UDP and TCP packets.'
2844 + },
2845 +
2846 + 'nfs.rpc': {
2847 + info: '<p>Remote Procedure Call (RPC) statistics.</p>'+
2848 + '</p><b>Calls</b> - all RPC calls. '+
2849 + '<b>Retransmits</b> - retransmitted calls. '+
2850 + '<b>AuthRefresh</b> - authentication refresh calls (validating credentials with the server).</p>'
2851 + },
2852 +
2853 + 'nfs.proc2': {
2854 + info: 'NFSv2 RPC calls. The individual metrics are described in '+
2855 + '<a href="https://datatracker.ietf.org/doc/html/rfc1094#section-2.2" target="_blank">RFC1094</a>.'
2856 + },
2857 +
2858 + 'nfs.proc3': {
2859 + info: 'NFSv3 RPC calls. The individual metrics are described in '+
2860 + '<a href="https://datatracker.ietf.org/doc/html/rfc1813#section-3" target="_blank">RFC1813</a>.'
2861 + },
2862 +
2863 + 'nfs.proc4': {
2864 + info: 'NFSv4 RPC calls. The individual metrics are described in '+
2865 + '<a href="https://datatracker.ietf.org/doc/html/rfc8881#section-18" target="_blank">RFC8881</a>.'
2866 + },
2867 +
2868 + // ------------------------------------------------------------------------
2869 + // NFS server
2870 +
2871 + 'nfsd.readcache': {
2872 + info: '<p>Reply cache statistics. '+
2873 + 'The reply cache keeps track of responses to recently performed non-idempotent transactions, and '+
2874 + 'in case of a replay, the cached response is sent instead of attempting to perform the operation again.</p>'+
2875 + '<b>Hits</b> - client did not receive a reply and re-transmitted its request. This event is undesirable. '+
2876 + '<b>Misses</b> - an operation that requires caching (idempotent). '+
2877 + '<b>Nocache</b> - an operation that does not require caching (non-idempotent).'
2878 + },
2879 +
2880 + 'nfsd.filehandles': {
2881 + info: '<p>File handle statistics. '+
2882 + 'File handles are small pieces of memory that keep track of what file is opened.</p>'+
2883 + '<p><b>Stale</b> - happen when a file handle references a location that has been recycled. '+
2884 + 'This also occurs when the server loses connection and '+
2885 + 'applications are still using files that are no longer accessible.'
2886 + },
2887 +
2888 + 'nfsd.io': {
2889 + info: 'The amount of data transferred to and from disk.'
2890 + },
2891 +
2892 + 'nfsd.threads': {
2893 + info: 'The number of threads used by the NFS daemon.'
2894 + },
2895 +
2896 + 'nfsd.readahead': {
2897 + info: '<p>Read-ahead cache statistics. '+
2898 + 'NFS read-ahead predictively requests blocks from a file in advance of I/O requests by the application. '+
2899 + 'It is designed to improve client sequential read throughput.</p>'+
2900 + '<p><b>10%</b>-<b>100%</b> - histogram of depth the block was found. '+
2901 + 'This means how far the cached block is from the original block that was first requested. '+
2902 + '<b>Misses</b> - not found in the read-ahead cache.</p>'
2903 + },
2904 +
2905 + 'nfsd.net': {
2906 + info: 'The number of received UDP and TCP packets.'
2907 + },
2908 +
2909 + 'nfsd.rpc': {
2910 + info: '<p>Remote Procedure Call (RPC) statistics.</p>'+
2911 + '</p><b>Calls</b> - all RPC calls. '+
2912 + '<b>BadAuth</b> - bad authentication. '+
2913 + 'It does not count if you try to mount from a machine that it\'s not in your exports file. '+
2914 + '<b>BadFormat</b> - other errors.</p>'
2915 + },
2916 +
2917 + 'nfsd.proc2': {
2918 + info: 'NFSv2 RPC calls. The individual metrics are described in '+
2919 + '<a href="https://datatracker.ietf.org/doc/html/rfc1094#section-2.2" target="_blank">RFC1094</a>.'
2920 + },
2921 +
2922 + 'nfsd.proc3': {
2923 + info: 'NFSv3 RPC calls. The individual metrics are described in '+
2924 + '<a href="https://datatracker.ietf.org/doc/html/rfc1813#section-3" target="_blank">RFC1813</a>.'
2925 + },
2926 +
2927 + 'nfsd.proc4': {
2928 + info: 'NFSv4 RPC calls. The individual metrics are described in '+
2929 + '<a href="https://datatracker.ietf.org/doc/html/rfc8881#section-18" target="_blank">RFC8881</a>.'
2930 + },
2931 +
2932 + 'nfsd.proc4ops': {
2933 + info: 'NFSv4 RPC operations. The individual metrics are described in '+
2934 + '<a href="https://datatracker.ietf.org/doc/html/rfc8881#section-18" target="_blank">RFC8881</a>.'
2935 + },
2936 +
2937 // ------------------------------------------------------------------------
2938 // ZFS pools
2939 'zfspool.state': {