Advertisement
devinteske

NFS Server I/O Dashboard for Grafana

Mar 13th, 2020
778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 60.36 KB | None | 0 0
  1. {
  2.   "annotations": {
  3.     "list": [
  4.       {
  5.         "builtIn": 1,
  6.         "datasource": "-- Grafana --",
  7.         "enable": true,
  8.         "hide": true,
  9.         "iconColor": "rgba(0, 211, 255, 1)",
  10.         "name": "Annotations & Alerts",
  11.         "type": "dashboard"
  12.       }
  13.     ]
  14.   },
  15.   "editable": true,
  16.   "gnetId": null,
  17.   "graphTooltip": 1,
  18.   "id": 66,
  19.   "iteration": 1584392563204,
  20.   "links": [],
  21.   "panels": [
  22.     {
  23.       "cacheTimeout": null,
  24.       "colorBackground": false,
  25.       "colorValue": false,
  26.       "colors": [
  27.         "#299c46",
  28.         "rgba(237, 129, 40, 0.89)",
  29.         "#d44a3a"
  30.       ],
  31.       "datasource": "nfsd_stats",
  32.       "format": "none",
  33.       "gauge": {
  34.         "maxValue": 100,
  35.         "minValue": 0,
  36.         "show": false,
  37.         "thresholdLabels": false,
  38.         "thresholdMarkers": true
  39.       },
  40.       "gridPos": {
  41.         "h": 2,
  42.         "w": 6,
  43.         "x": 0,
  44.         "y": 0
  45.       },
  46.       "id": 11,
  47.       "interval": null,
  48.       "links": [],
  49.       "mappingType": 1,
  50.       "mappingTypes": [
  51.         {
  52.           "name": "value to text",
  53.           "value": 1
  54.         },
  55.         {
  56.           "name": "range to text",
  57.           "value": 2
  58.         }
  59.       ],
  60.       "maxDataPoints": 100,
  61.       "nullPointMode": "connected",
  62.       "nullText": null,
  63.       "options": {},
  64.       "pluginVersion": "6.2.5",
  65.       "postfix": " interfaces",
  66.       "postfixFontSize": "50%",
  67.       "prefix": "",
  68.       "prefixFontSize": "50%",
  69.       "rangeMaps": [
  70.         {
  71.           "from": "null",
  72.           "text": "N/A",
  73.           "to": "null"
  74.         }
  75.       ],
  76.       "sparkline": {
  77.         "fillColor": "rgba(31, 118, 189, 0.18)",
  78.         "full": false,
  79.         "lineColor": "rgb(31, 120, 193)",
  80.         "show": false
  81.       },
  82.       "tableColumn": "",
  83.       "targets": [
  84.         {
  85.           "groupBy": [
  86.             {
  87.               "params": [
  88.                 "$__interval"
  89.               ],
  90.               "type": "time"
  91.             },
  92.             {
  93.               "params": [
  94.                 "null"
  95.               ],
  96.               "type": "fill"
  97.             }
  98.           ],
  99.           "measurement": "tail",
  100.           "orderByTime": "ASC",
  101.           "policy": "default",
  102.           "query": "SELECT count(distinct(\"server\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY \"server\" fill(none))",
  103.           "rawQuery": true,
  104.           "refId": "A",
  105.           "resultFormat": "time_series",
  106.           "select": [
  107.             [
  108.               {
  109.                 "params": [
  110.                   "value"
  111.                 ],
  112.                 "type": "field"
  113.               },
  114.               {
  115.                 "params": [],
  116.                 "type": "mean"
  117.               }
  118.             ]
  119.           ],
  120.           "tags": [
  121.             {
  122.               "key": "host",
  123.               "operator": "=",
  124.               "value": "vnas01"
  125.             },
  126.             {
  127.               "condition": "AND",
  128.               "key": "ident",
  129.               "operator": "=",
  130.               "value": "group"
  131.             }
  132.           ]
  133.         }
  134.       ],
  135.       "thresholds": "",
  136.       "timeFrom": null,
  137.       "timeShift": null,
  138.       "title": "",
  139.       "type": "singlestat",
  140.       "valueFontSize": "80%",
  141.       "valueMaps": [
  142.         {
  143.           "op": "=",
  144.           "text": "N/A",
  145.           "value": "null"
  146.         }
  147.       ],
  148.       "valueName": "total"
  149.     },
  150.     {
  151.       "cacheTimeout": null,
  152.       "colorBackground": false,
  153.       "colorValue": false,
  154.       "colors": [
  155.         "#299c46",
  156.         "rgba(237, 129, 40, 0.89)",
  157.         "#d44a3a"
  158.       ],
  159.       "datasource": "nfsd_stats",
  160.       "format": "none",
  161.       "gauge": {
  162.         "maxValue": 100,
  163.         "minValue": 0,
  164.         "show": false,
  165.         "thresholdLabels": false,
  166.         "thresholdMarkers": true
  167.       },
  168.       "gridPos": {
  169.         "h": 2,
  170.         "w": 6,
  171.         "x": 6,
  172.         "y": 0
  173.       },
  174.       "id": 8,
  175.       "interval": null,
  176.       "links": [],
  177.       "mappingType": 1,
  178.       "mappingTypes": [
  179.         {
  180.           "name": "value to text",
  181.           "value": 1
  182.         },
  183.         {
  184.           "name": "range to text",
  185.           "value": 2
  186.         }
  187.       ],
  188.       "maxDataPoints": 100,
  189.       "nullPointMode": "connected",
  190.       "nullText": null,
  191.       "options": {},
  192.       "pluginVersion": "6.2.5",
  193.       "postfix": " clients",
  194.       "postfixFontSize": "50%",
  195.       "prefix": "",
  196.       "prefixFontSize": "50%",
  197.       "rangeMaps": [
  198.         {
  199.           "from": "null",
  200.           "text": "N/A",
  201.           "to": "null"
  202.         }
  203.       ],
  204.       "sparkline": {
  205.         "fillColor": "rgba(31, 118, 189, 0.18)",
  206.         "full": true,
  207.         "lineColor": "rgb(31, 120, 193)",
  208.         "show": true
  209.       },
  210.       "tableColumn": "count",
  211.       "targets": [
  212.         {
  213.           "groupBy": [
  214.             {
  215.               "params": [
  216.                 "$__interval"
  217.               ],
  218.               "type": "time"
  219.             },
  220.             {
  221.               "params": [
  222.                 "null"
  223.               ],
  224.               "type": "fill"
  225.             }
  226.           ],
  227.           "measurement": "tail",
  228.           "orderByTime": "ASC",
  229.           "policy": "default",
  230.           "query": "SELECT count(distinct(\"client\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'client') AND $timeFilter GROUP BY \"client\" fill(none)) GROUP BY time($buckets) fill(none)",
  231.           "rawQuery": true,
  232.           "refId": "A",
  233.           "resultFormat": "time_series",
  234.           "select": [
  235.             [
  236.               {
  237.                 "params": [
  238.                   "value"
  239.                 ],
  240.                 "type": "field"
  241.               },
  242.               {
  243.                 "params": [],
  244.                 "type": "mean"
  245.               }
  246.             ]
  247.           ],
  248.           "tags": [
  249.             {
  250.               "key": "host",
  251.               "operator": "=",
  252.               "value": "vnas01"
  253.             },
  254.             {
  255.               "condition": "AND",
  256.               "key": "ident",
  257.               "operator": "=",
  258.               "value": "group"
  259.             }
  260.           ]
  261.         }
  262.       ],
  263.       "thresholds": "",
  264.       "timeFrom": null,
  265.       "timeShift": null,
  266.       "title": "",
  267.       "type": "singlestat",
  268.       "valueFontSize": "80%",
  269.       "valueMaps": [
  270.         {
  271.           "op": "=",
  272.           "text": "N/A",
  273.           "value": "null"
  274.         }
  275.       ],
  276.       "valueName": "current"
  277.     },
  278.     {
  279.       "cacheTimeout": null,
  280.       "colorBackground": false,
  281.       "colorValue": false,
  282.       "colors": [
  283.         "#299c46",
  284.         "rgba(237, 129, 40, 0.89)",
  285.         "#d44a3a"
  286.       ],
  287.       "datasource": "nfsd_stats",
  288.       "format": "none",
  289.       "gauge": {
  290.         "maxValue": 100,
  291.         "minValue": 0,
  292.         "show": false,
  293.         "thresholdLabels": false,
  294.         "thresholdMarkers": true
  295.       },
  296.       "gridPos": {
  297.         "h": 2,
  298.         "w": 6,
  299.         "x": 12,
  300.         "y": 0
  301.       },
  302.       "id": 9,
  303.       "interval": null,
  304.       "links": [],
  305.       "mappingType": 1,
  306.       "mappingTypes": [
  307.         {
  308.           "name": "value to text",
  309.           "value": 1
  310.         },
  311.         {
  312.           "name": "range to text",
  313.           "value": 2
  314.         }
  315.       ],
  316.       "maxDataPoints": 100,
  317.       "nullPointMode": "connected",
  318.       "nullText": null,
  319.       "options": {},
  320.       "pluginVersion": "6.2.5",
  321.       "postfix": " users",
  322.       "postfixFontSize": "50%",
  323.       "prefix": "",
  324.       "prefixFontSize": "50%",
  325.       "rangeMaps": [
  326.         {
  327.           "from": "null",
  328.           "text": "N/A",
  329.           "to": "null"
  330.         }
  331.       ],
  332.       "sparkline": {
  333.         "fillColor": "rgba(31, 118, 189, 0.18)",
  334.         "full": true,
  335.         "lineColor": "rgb(31, 120, 193)",
  336.         "show": true
  337.       },
  338.       "tableColumn": "",
  339.       "targets": [
  340.         {
  341.           "groupBy": [
  342.             {
  343.               "params": [
  344.                 "$__interval"
  345.               ],
  346.               "type": "time"
  347.             },
  348.             {
  349.               "params": [
  350.                 "null"
  351.               ],
  352.               "type": "fill"
  353.             }
  354.           ],
  355.           "measurement": "tail",
  356.           "orderByTime": "ASC",
  357.           "policy": "default",
  358.           "query": "SELECT count(distinct(\"user\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'user') AND $timeFilter GROUP BY \"user\" fill(none)) GROUP BY time($buckets) fill(none)",
  359.           "rawQuery": true,
  360.           "refId": "A",
  361.           "resultFormat": "time_series",
  362.           "select": [
  363.             [
  364.               {
  365.                 "params": [
  366.                   "value"
  367.                 ],
  368.                 "type": "field"
  369.               },
  370.               {
  371.                 "params": [],
  372.                 "type": "mean"
  373.               }
  374.             ]
  375.           ],
  376.           "tags": [
  377.             {
  378.               "key": "host",
  379.               "operator": "=",
  380.               "value": "vnas01"
  381.             },
  382.             {
  383.               "condition": "AND",
  384.               "key": "ident",
  385.               "operator": "=",
  386.               "value": "group"
  387.             }
  388.           ]
  389.         }
  390.       ],
  391.       "thresholds": "",
  392.       "timeFrom": null,
  393.       "timeShift": null,
  394.       "title": "",
  395.       "type": "singlestat",
  396.       "valueFontSize": "80%",
  397.       "valueMaps": [
  398.         {
  399.           "op": "=",
  400.           "text": "N/A",
  401.           "value": "null"
  402.         }
  403.       ],
  404.       "valueName": "current"
  405.     },
  406.     {
  407.       "cacheTimeout": null,
  408.       "colorBackground": false,
  409.       "colorValue": false,
  410.       "colors": [
  411.         "#299c46",
  412.         "rgba(237, 129, 40, 0.89)",
  413.         "#d44a3a"
  414.       ],
  415.       "datasource": "nfsd_stats",
  416.       "format": "none",
  417.       "gauge": {
  418.         "maxValue": 100,
  419.         "minValue": 0,
  420.         "show": false,
  421.         "thresholdLabels": false,
  422.         "thresholdMarkers": true
  423.       },
  424.       "gridPos": {
  425.         "h": 2,
  426.         "w": 6,
  427.         "x": 18,
  428.         "y": 0
  429.       },
  430.       "id": 10,
  431.       "interval": null,
  432.       "links": [],
  433.       "mappingType": 1,
  434.       "mappingTypes": [
  435.         {
  436.           "name": "value to text",
  437.           "value": 1
  438.         },
  439.         {
  440.           "name": "range to text",
  441.           "value": 2
  442.         }
  443.       ],
  444.       "maxDataPoints": 100,
  445.       "nullPointMode": "connected",
  446.       "nullText": null,
  447.       "options": {},
  448.       "pluginVersion": "6.2.5",
  449.       "postfix": " groups",
  450.       "postfixFontSize": "50%",
  451.       "prefix": "",
  452.       "prefixFontSize": "50%",
  453.       "rangeMaps": [
  454.         {
  455.           "from": "null",
  456.           "text": "N/A",
  457.           "to": "null"
  458.         }
  459.       ],
  460.       "sparkline": {
  461.         "fillColor": "rgba(31, 118, 189, 0.18)",
  462.         "full": true,
  463.         "lineColor": "rgb(31, 120, 193)",
  464.         "show": true
  465.       },
  466.       "tableColumn": "",
  467.       "targets": [
  468.         {
  469.           "groupBy": [
  470.             {
  471.               "params": [
  472.                 "$__interval"
  473.               ],
  474.               "type": "time"
  475.             },
  476.             {
  477.               "params": [
  478.                 "null"
  479.               ],
  480.               "type": "fill"
  481.             }
  482.           ],
  483.           "measurement": "tail",
  484.           "orderByTime": "ASC",
  485.           "policy": "default",
  486.           "query": "SELECT count(distinct(\"group\")) FROM (SELECT first(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'group') AND $timeFilter GROUP BY \"group\" fill(none)) GROUP BY time($buckets) fill(none)",
  487.           "rawQuery": true,
  488.           "refId": "A",
  489.           "resultFormat": "time_series",
  490.           "select": [
  491.             [
  492.               {
  493.                 "params": [
  494.                   "value"
  495.                 ],
  496.                 "type": "field"
  497.               },
  498.               {
  499.                 "params": [],
  500.                 "type": "mean"
  501.               }
  502.             ]
  503.           ],
  504.           "tags": [
  505.             {
  506.               "key": "host",
  507.               "operator": "=",
  508.               "value": "vnas01"
  509.             },
  510.             {
  511.               "condition": "AND",
  512.               "key": "ident",
  513.               "operator": "=",
  514.               "value": "group"
  515.             }
  516.           ]
  517.         }
  518.       ],
  519.       "thresholds": "",
  520.       "timeFrom": null,
  521.       "timeShift": null,
  522.       "title": "",
  523.       "type": "singlestat",
  524.       "valueFontSize": "80%",
  525.       "valueMaps": [
  526.         {
  527.           "op": "=",
  528.           "text": "N/A",
  529.           "value": "null"
  530.         }
  531.       ],
  532.       "valueName": "current"
  533.     },
  534.     {
  535.       "aliasColors": {
  536.         "Idle": "rgb(41, 41, 41)",
  537.         "Idle/Other": "rgb(41, 41, 41)",
  538.         "Read (Out)": "#66db70",
  539.         "Write": "#3381d9",
  540.         "Write (In)": "#3381d9"
  541.       },
  542.       "breakPoint": "50%",
  543.       "cacheTimeout": null,
  544.       "combine": {
  545.         "label": "Others",
  546.         "threshold": "0.005"
  547.       },
  548.       "datasource": "nfsd_stats",
  549.       "fontSize": "80%",
  550.       "format": "Bps",
  551.       "gridPos": {
  552.         "h": 7,
  553.         "w": 7,
  554.         "x": 0,
  555.         "y": 2
  556.       },
  557.       "id": 22,
  558.       "interval": null,
  559.       "legend": {
  560.         "header": "",
  561.         "percentage": true,
  562.         "percentageDecimals": 2,
  563.         "show": true,
  564.         "sideWidth": 285,
  565.         "sort": "current",
  566.         "sortDesc": true,
  567.         "values": false
  568.       },
  569.       "legendType": "Right side",
  570.       "links": [],
  571.       "maxDataPoints": 3,
  572.       "nullPointMode": "connected",
  573.       "options": {},
  574.       "pieType": "pie",
  575.       "strokeWidth": "0",
  576.       "targets": [
  577.         {
  578.           "alias": "Idle",
  579.           "groupBy": [
  580.             {
  581.               "params": [
  582.                 "$__interval"
  583.               ],
  584.               "type": "time"
  585.             },
  586.             {
  587.               "params": [
  588.                 "null"
  589.               ],
  590.               "type": "fill"
  591.             }
  592.           ],
  593.           "measurement": "tail",
  594.           "orderByTime": "ASC",
  595.           "policy": "default",
  596.           "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($buckets) fill(null)",
  597.           "rawQuery": true,
  598.           "refId": "A",
  599.           "resultFormat": "time_series",
  600.           "select": [
  601.             [
  602.               {
  603.                 "params": [
  604.                   "total_rate"
  605.                 ],
  606.                 "type": "field"
  607.               },
  608.               {
  609.                 "params": [],
  610.                 "type": "mean"
  611.               },
  612.               {
  613.                 "params": [
  614.                   "- 8053063680"
  615.                 ],
  616.                 "type": "math"
  617.               }
  618.             ]
  619.           ],
  620.           "tags": []
  621.         },
  622.         {
  623.           "alias": "[[tag_server]]",
  624.           "groupBy": [
  625.             {
  626.               "params": [
  627.                 "$buckets"
  628.               ],
  629.               "type": "time"
  630.             },
  631.             {
  632.               "params": [
  633.                 "server"
  634.               ],
  635.               "type": "tag"
  636.             },
  637.             {
  638.               "params": [
  639.                 "null"
  640.               ],
  641.               "type": "fill"
  642.             }
  643.           ],
  644.           "measurement": "tail",
  645.           "orderByTime": "ASC",
  646.           "policy": "default",
  647.           "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
  648.           "rawQuery": false,
  649.           "refId": "B",
  650.           "resultFormat": "time_series",
  651.           "select": [
  652.             [
  653.               {
  654.                 "params": [
  655.                   "total_rate"
  656.                 ],
  657.                 "type": "field"
  658.               },
  659.               {
  660.                 "params": [],
  661.                 "type": "last"
  662.               }
  663.             ]
  664.           ],
  665.           "tags": [
  666.             {
  667.               "key": "host",
  668.               "operator": "=",
  669.               "value": "vnas01"
  670.             },
  671.             {
  672.               "condition": "AND",
  673.               "key": "ident",
  674.               "operator": "=",
  675.               "value": "server"
  676.             }
  677.           ]
  678.         }
  679.       ],
  680.       "timeFrom": null,
  681.       "timeShift": null,
  682.       "title": "Current Interface Bandwidth (60Gbps)",
  683.       "transparent": true,
  684.       "type": "grafana-piechart-panel",
  685.       "valueName": "current"
  686.     },
  687.     {
  688.       "aliasColors": {},
  689.       "bars": false,
  690.       "dashLength": 10,
  691.       "dashes": false,
  692.       "datasource": "nfsd_stats",
  693.       "fill": 0,
  694.       "gridPos": {
  695.         "h": 7,
  696.         "w": 17,
  697.         "x": 7,
  698.         "y": 2
  699.       },
  700.       "id": 6,
  701.       "legend": {
  702.         "alignAsTable": true,
  703.         "avg": true,
  704.         "current": true,
  705.         "max": true,
  706.         "min": false,
  707.         "rightSide": true,
  708.         "show": true,
  709.         "sideWidth": 480,
  710.         "sort": "max",
  711.         "sortDesc": true,
  712.         "total": false,
  713.         "values": true
  714.       },
  715.       "lines": true,
  716.       "linewidth": 1,
  717.       "links": [],
  718.       "nullPointMode": "null as zero",
  719.       "options": {},
  720.       "percentage": false,
  721.       "pointradius": 2,
  722.       "points": false,
  723.       "renderer": "flot",
  724.       "seriesOverrides": [
  725.         {
  726.           "alias": "Total Read (Out)",
  727.           "color": "#66d870",
  728.           "dashes": true
  729.         },
  730.         {
  731.           "alias": "Total Write (In)",
  732.           "color": "#3381d9",
  733.           "dashes": true,
  734.           "transform": "negative-Y",
  735.           "yaxis": 2
  736.         },
  737.         {
  738.           "alias": "/^wr\\./",
  739.           "transform": "negative-Y",
  740.           "yaxis": 2
  741.         }
  742.       ],
  743.       "spaceLength": 10,
  744.       "stack": false,
  745.       "steppedLine": false,
  746.       "targets": [
  747.         {
  748.           "alias": "rd.[[tag_server]]",
  749.           "groupBy": [
  750.             {
  751.               "params": [
  752.                 "$buckets"
  753.               ],
  754.               "type": "time"
  755.             },
  756.             {
  757.               "params": [
  758.                 "server"
  759.               ],
  760.               "type": "tag"
  761.             },
  762.             {
  763.               "params": [
  764.                 "null"
  765.               ],
  766.               "type": "fill"
  767.             }
  768.           ],
  769.           "measurement": "tail",
  770.           "orderByTime": "ASC",
  771.           "policy": "default",
  772.           "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($__interval), \"server\" fill(none)",
  773.           "rawQuery": false,
  774.           "refId": "A",
  775.           "resultFormat": "time_series",
  776.           "select": [
  777.             [
  778.               {
  779.                 "params": [
  780.                   "read_rate"
  781.                 ],
  782.                 "type": "field"
  783.               },
  784.               {
  785.                 "params": [],
  786.                 "type": "max"
  787.               }
  788.             ]
  789.           ],
  790.           "tags": [
  791.             {
  792.               "key": "host",
  793.               "operator": "=",
  794.               "value": "$host"
  795.             },
  796.             {
  797.               "condition": "AND",
  798.               "key": "ident",
  799.               "operator": "=",
  800.               "value": "server"
  801.             }
  802.           ]
  803.         },
  804.         {
  805.           "alias": "wr.[[tag_server]]",
  806.           "groupBy": [
  807.             {
  808.               "params": [
  809.                 "$buckets"
  810.               ],
  811.               "type": "time"
  812.             },
  813.             {
  814.               "params": [
  815.                 "server"
  816.               ],
  817.               "type": "tag"
  818.             },
  819.             {
  820.               "params": [
  821.                 "null"
  822.               ],
  823.               "type": "fill"
  824.             }
  825.           ],
  826.           "measurement": "tail",
  827.           "orderByTime": "ASC",
  828.           "policy": "default",
  829.           "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($__interval), \"server\" fill(none)",
  830.           "rawQuery": false,
  831.           "refId": "B",
  832.           "resultFormat": "time_series",
  833.           "select": [
  834.             [
  835.               {
  836.                 "params": [
  837.                   "write_rate"
  838.                 ],
  839.                 "type": "field"
  840.               },
  841.               {
  842.                 "params": [],
  843.                 "type": "max"
  844.               }
  845.             ]
  846.           ],
  847.           "tags": [
  848.             {
  849.               "key": "host",
  850.               "operator": "=",
  851.               "value": "$host"
  852.             },
  853.             {
  854.               "condition": "AND",
  855.               "key": "ident",
  856.               "operator": "=",
  857.               "value": "server"
  858.             }
  859.           ]
  860.         },
  861.         {
  862.           "alias": "Total Read (Out)",
  863.           "groupBy": [
  864.             {
  865.               "params": [
  866.                 "$buckets"
  867.               ],
  868.               "type": "time"
  869.             },
  870.             {
  871.               "params": [
  872.                 "null"
  873.               ],
  874.               "type": "fill"
  875.             }
  876.           ],
  877.           "measurement": "tail",
  878.           "orderByTime": "ASC",
  879.           "policy": "default",
  880.           "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($__interval) fill(none)",
  881.           "rawQuery": false,
  882.           "refId": "C",
  883.           "resultFormat": "time_series",
  884.           "select": [
  885.             [
  886.               {
  887.                 "params": [
  888.                   "read_rate"
  889.                 ],
  890.                 "type": "field"
  891.               },
  892.               {
  893.                 "params": [],
  894.                 "type": "max"
  895.               }
  896.             ]
  897.           ],
  898.           "tags": [
  899.             {
  900.               "key": "host",
  901.               "operator": "=",
  902.               "value": "$host"
  903.             },
  904.             {
  905.               "condition": "AND",
  906.               "key": "ident",
  907.               "operator": "=",
  908.               "value": "total_server"
  909.             }
  910.           ]
  911.         },
  912.         {
  913.           "alias": "Total Write (In)",
  914.           "groupBy": [
  915.             {
  916.               "params": [
  917.                 "$buckets"
  918.               ],
  919.               "type": "time"
  920.             },
  921.             {
  922.               "params": [
  923.                 "null"
  924.               ],
  925.               "type": "fill"
  926.             }
  927.           ],
  928.           "measurement": "tail",
  929.           "orderByTime": "ASC",
  930.           "policy": "default",
  931.           "query": "SELECT mean(\"read_rate\") FROM \"tail\" WHERE (\"host\" = '$host' AND \"ident\" = 'total_server') AND $timeFilter GROUP BY time($__interval) fill(none)",
  932.           "rawQuery": false,
  933.           "refId": "D",
  934.           "resultFormat": "time_series",
  935.           "select": [
  936.             [
  937.               {
  938.                 "params": [
  939.                   "write_rate"
  940.                 ],
  941.                 "type": "field"
  942.               },
  943.               {
  944.                 "params": [],
  945.                 "type": "max"
  946.               }
  947.             ]
  948.           ],
  949.           "tags": [
  950.             {
  951.               "key": "host",
  952.               "operator": "=",
  953.               "value": "$host"
  954.             },
  955.             {
  956.               "condition": "AND",
  957.               "key": "ident",
  958.               "operator": "=",
  959.               "value": "total_server"
  960.             }
  961.           ]
  962.         }
  963.       ],
  964.       "thresholds": [],
  965.       "timeFrom": null,
  966.       "timeRegions": [],
  967.       "timeShift": null,
  968.       "title": "Interface Bandwidth ($buckets buckets)",
  969.       "tooltip": {
  970.         "shared": true,
  971.         "sort": 2,
  972.         "value_type": "individual"
  973.       },
  974.       "transparent": true,
  975.       "type": "graph",
  976.       "xaxis": {
  977.         "buckets": null,
  978.         "mode": "time",
  979.         "name": null,
  980.         "show": true,
  981.         "values": []
  982.       },
  983.       "yaxes": [
  984.         {
  985.           "format": "Bps",
  986.           "label": null,
  987.           "logBase": 1,
  988.           "max": null,
  989.           "min": null,
  990.           "show": true
  991.         },
  992.         {
  993.           "format": "Bps",
  994.           "label": null,
  995.           "logBase": 1,
  996.           "max": null,
  997.           "min": null,
  998.           "show": true
  999.         }
  1000.       ],
  1001.       "yaxis": {
  1002.         "align": true,
  1003.         "alignLevel": null
  1004.       }
  1005.     },
  1006.     {
  1007.       "aliasColors": {
  1008.         "Idle": "rgb(41, 41, 41)",
  1009.         "Idle/Other": "rgb(41, 41, 41)",
  1010.         "Read (Out)": "#66db70",
  1011.         "Write": "#3381d9",
  1012.         "Write (In)": "#3381d9"
  1013.       },
  1014.       "breakPoint": "50%",
  1015.       "cacheTimeout": null,
  1016.       "combine": {
  1017.         "label": "Others",
  1018.         "threshold": "0.005"
  1019.       },
  1020.       "datasource": "nfsd_stats",
  1021.       "fontSize": "80%",
  1022.       "format": "Bps",
  1023.       "gridPos": {
  1024.         "h": 7,
  1025.         "w": 7,
  1026.         "x": 0,
  1027.         "y": 9
  1028.       },
  1029.       "id": 24,
  1030.       "interval": null,
  1031.       "legend": {
  1032.         "header": "",
  1033.         "percentage": true,
  1034.         "percentageDecimals": 2,
  1035.         "show": true,
  1036.         "sideWidth": 285,
  1037.         "sort": "current",
  1038.         "sortDesc": true,
  1039.         "values": false
  1040.       },
  1041.       "legendType": "Right side",
  1042.       "links": [],
  1043.       "maxDataPoints": 3,
  1044.       "nullPointMode": "connected",
  1045.       "options": {},
  1046.       "pieType": "pie",
  1047.       "strokeWidth": "0",
  1048.       "targets": [
  1049.         {
  1050.           "alias": "Idle",
  1051.           "groupBy": [
  1052.             {
  1053.               "params": [
  1054.                 "$__interval"
  1055.               ],
  1056.               "type": "time"
  1057.             },
  1058.             {
  1059.               "params": [
  1060.                 "null"
  1061.               ],
  1062.               "type": "fill"
  1063.             }
  1064.           ],
  1065.           "hide": true,
  1066.           "measurement": "tail",
  1067.           "orderByTime": "ASC",
  1068.           "policy": "default",
  1069.           "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_client') AND $timeFilter GROUP BY time($buckets) fill(none)",
  1070.           "rawQuery": true,
  1071.           "refId": "A",
  1072.           "resultFormat": "time_series",
  1073.           "select": [
  1074.             [
  1075.               {
  1076.                 "params": [
  1077.                   "total_rate"
  1078.                 ],
  1079.                 "type": "field"
  1080.               },
  1081.               {
  1082.                 "params": [],
  1083.                 "type": "mean"
  1084.               },
  1085.               {
  1086.                 "params": [
  1087.                   "- 8053063680"
  1088.                 ],
  1089.                 "type": "math"
  1090.               }
  1091.             ]
  1092.           ],
  1093.           "tags": []
  1094.         },
  1095.         {
  1096.           "alias": "[[tag_client]]",
  1097.           "groupBy": [
  1098.             {
  1099.               "params": [
  1100.                 "$buckets"
  1101.               ],
  1102.               "type": "time"
  1103.             },
  1104.             {
  1105.               "params": [
  1106.                 "client"
  1107.               ],
  1108.               "type": "tag"
  1109.             },
  1110.             {
  1111.               "params": [
  1112.                 "none"
  1113.               ],
  1114.               "type": "fill"
  1115.             }
  1116.           ],
  1117.           "measurement": "tail",
  1118.           "orderByTime": "ASC",
  1119.           "policy": "default",
  1120.           "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
  1121.           "rawQuery": false,
  1122.           "refId": "B",
  1123.           "resultFormat": "time_series",
  1124.           "select": [
  1125.             [
  1126.               {
  1127.                 "params": [
  1128.                   "total_rate"
  1129.                 ],
  1130.                 "type": "field"
  1131.               },
  1132.               {
  1133.                 "params": [],
  1134.                 "type": "last"
  1135.               }
  1136.             ]
  1137.           ],
  1138.           "tags": [
  1139.             {
  1140.               "key": "host",
  1141.               "operator": "=",
  1142.               "value": "vnas01"
  1143.             },
  1144.             {
  1145.               "condition": "AND",
  1146.               "key": "ident",
  1147.               "operator": "=",
  1148.               "value": "client"
  1149.             }
  1150.           ]
  1151.         }
  1152.       ],
  1153.       "timeFrom": null,
  1154.       "timeShift": null,
  1155.       "title": "Current Client Bandwidth",
  1156.       "transparent": true,
  1157.       "type": "grafana-piechart-panel",
  1158.       "valueName": "current"
  1159.     },
  1160.     {
  1161.       "aliasColors": {},
  1162.       "bars": false,
  1163.       "dashLength": 10,
  1164.       "dashes": false,
  1165.       "datasource": "nfsd_stats",
  1166.       "fill": 0,
  1167.       "gridPos": {
  1168.         "h": 7,
  1169.         "w": 17,
  1170.         "x": 7,
  1171.         "y": 9
  1172.       },
  1173.       "id": 4,
  1174.       "legend": {
  1175.         "alignAsTable": true,
  1176.         "avg": true,
  1177.         "current": true,
  1178.         "max": true,
  1179.         "min": false,
  1180.         "rightSide": true,
  1181.         "show": true,
  1182.         "sideWidth": 480,
  1183.         "sort": "current",
  1184.         "sortDesc": true,
  1185.         "total": false,
  1186.         "values": true
  1187.       },
  1188.       "lines": true,
  1189.       "linewidth": 1,
  1190.       "links": [],
  1191.       "nullPointMode": "null as zero",
  1192.       "options": {},
  1193.       "percentage": false,
  1194.       "pointradius": 2,
  1195.       "points": false,
  1196.       "renderer": "flot",
  1197.       "seriesOverrides": [
  1198.         {
  1199.           "alias": "Total Read (Out)",
  1200.           "color": "#66db70",
  1201.           "dashes": true
  1202.         },
  1203.         {
  1204.           "alias": "Total Write (In)",
  1205.           "color": "#3381d9",
  1206.           "dashes": true,
  1207.           "transform": "negative-Y",
  1208.           "yaxis": 2
  1209.         },
  1210.         {
  1211.           "alias": "/^wr\\./",
  1212.           "transform": "negative-Y",
  1213.           "yaxis": 2
  1214.         }
  1215.       ],
  1216.       "spaceLength": 10,
  1217.       "stack": false,
  1218.       "steppedLine": false,
  1219.       "targets": [
  1220.         {
  1221.           "alias": "rd.[[tag_client]]",
  1222.           "groupBy": [
  1223.             {
  1224.               "params": [
  1225.                 "$buckets"
  1226.               ],
  1227.               "type": "time"
  1228.             },
  1229.             {
  1230.               "params": [
  1231.                 "client"
  1232.               ],
  1233.               "type": "tag"
  1234.             },
  1235.             {
  1236.               "params": [
  1237.                 "null"
  1238.               ],
  1239.               "type": "fill"
  1240.             }
  1241.           ],
  1242.           "hide": false,
  1243.           "measurement": "tail",
  1244.           "orderByTime": "ASC",
  1245.           "policy": "default",
  1246.           "refId": "A",
  1247.           "resultFormat": "time_series",
  1248.           "select": [
  1249.             [
  1250.               {
  1251.                 "params": [
  1252.                   "read_rate"
  1253.                 ],
  1254.                 "type": "field"
  1255.               },
  1256.               {
  1257.                 "params": [],
  1258.                 "type": "max"
  1259.               }
  1260.             ]
  1261.           ],
  1262.           "tags": [
  1263.             {
  1264.               "key": "host",
  1265.               "operator": "=",
  1266.               "value": "$host"
  1267.             },
  1268.             {
  1269.               "condition": "AND",
  1270.               "key": "ident",
  1271.               "operator": "=",
  1272.               "value": "client"
  1273.             }
  1274.           ]
  1275.         },
  1276.         {
  1277.           "alias": "wr.[[tag_client]]",
  1278.           "groupBy": [
  1279.             {
  1280.               "params": [
  1281.                 "$buckets"
  1282.               ],
  1283.               "type": "time"
  1284.             },
  1285.             {
  1286.               "params": [
  1287.                 "client"
  1288.               ],
  1289.               "type": "tag"
  1290.             },
  1291.             {
  1292.               "params": [
  1293.                 "null"
  1294.               ],
  1295.               "type": "fill"
  1296.             }
  1297.           ],
  1298.           "hide": false,
  1299.           "measurement": "tail",
  1300.           "orderByTime": "ASC",
  1301.           "policy": "default",
  1302.           "refId": "B",
  1303.           "resultFormat": "time_series",
  1304.           "select": [
  1305.             [
  1306.               {
  1307.                 "params": [
  1308.                   "write_rate"
  1309.                 ],
  1310.                 "type": "field"
  1311.               },
  1312.               {
  1313.                 "params": [],
  1314.                 "type": "max"
  1315.               }
  1316.             ]
  1317.           ],
  1318.           "tags": [
  1319.             {
  1320.               "key": "host",
  1321.               "operator": "=",
  1322.               "value": "$host"
  1323.             },
  1324.             {
  1325.               "condition": "AND",
  1326.               "key": "ident",
  1327.               "operator": "=",
  1328.               "value": "client"
  1329.             }
  1330.           ]
  1331.         },
  1332.         {
  1333.           "alias": "Total Read (Out)",
  1334.           "groupBy": [
  1335.             {
  1336.               "params": [
  1337.                 "$buckets"
  1338.               ],
  1339.               "type": "time"
  1340.             },
  1341.             {
  1342.               "params": [
  1343.                 "null"
  1344.               ],
  1345.               "type": "fill"
  1346.             }
  1347.           ],
  1348.           "measurement": "tail",
  1349.           "orderByTime": "ASC",
  1350.           "policy": "default",
  1351.           "refId": "C",
  1352.           "resultFormat": "time_series",
  1353.           "select": [
  1354.             [
  1355.               {
  1356.                 "params": [
  1357.                   "read_rate"
  1358.                 ],
  1359.                 "type": "field"
  1360.               },
  1361.               {
  1362.                 "params": [],
  1363.                 "type": "max"
  1364.               }
  1365.             ]
  1366.           ],
  1367.           "tags": [
  1368.             {
  1369.               "key": "host",
  1370.               "operator": "=",
  1371.               "value": "$host"
  1372.             },
  1373.             {
  1374.               "condition": "AND",
  1375.               "key": "ident",
  1376.               "operator": "=",
  1377.               "value": "total_client"
  1378.             }
  1379.           ]
  1380.         },
  1381.         {
  1382.           "alias": "Total Write (In)",
  1383.           "groupBy": [
  1384.             {
  1385.               "params": [
  1386.                 "$buckets"
  1387.               ],
  1388.               "type": "time"
  1389.             },
  1390.             {
  1391.               "params": [
  1392.                 "null"
  1393.               ],
  1394.               "type": "fill"
  1395.             }
  1396.           ],
  1397.           "measurement": "tail",
  1398.           "orderByTime": "ASC",
  1399.           "policy": "default",
  1400.           "refId": "D",
  1401.           "resultFormat": "time_series",
  1402.           "select": [
  1403.             [
  1404.               {
  1405.                 "params": [
  1406.                   "write_rate"
  1407.                 ],
  1408.                 "type": "field"
  1409.               },
  1410.               {
  1411.                 "params": [],
  1412.                 "type": "max"
  1413.               }
  1414.             ]
  1415.           ],
  1416.           "tags": [
  1417.             {
  1418.               "key": "host",
  1419.               "operator": "=",
  1420.               "value": "$host"
  1421.             },
  1422.             {
  1423.               "condition": "AND",
  1424.               "key": "ident",
  1425.               "operator": "=",
  1426.               "value": "total_client"
  1427.             }
  1428.           ]
  1429.         }
  1430.       ],
  1431.       "thresholds": [],
  1432.       "timeFrom": null,
  1433.       "timeRegions": [],
  1434.       "timeShift": null,
  1435.       "title": "Client Bandwidth ($buckets buckets)",
  1436.       "tooltip": {
  1437.         "shared": true,
  1438.         "sort": 2,
  1439.         "value_type": "individual"
  1440.       },
  1441.       "transparent": true,
  1442.       "type": "graph",
  1443.       "xaxis": {
  1444.         "buckets": null,
  1445.         "mode": "time",
  1446.         "name": null,
  1447.         "show": true,
  1448.         "values": []
  1449.       },
  1450.       "yaxes": [
  1451.         {
  1452.           "format": "Bps",
  1453.           "label": null,
  1454.           "logBase": 1,
  1455.           "max": null,
  1456.           "min": null,
  1457.           "show": true
  1458.         },
  1459.         {
  1460.           "format": "Bps",
  1461.           "label": null,
  1462.           "logBase": 1,
  1463.           "max": null,
  1464.           "min": null,
  1465.           "show": true
  1466.         }
  1467.       ],
  1468.       "yaxis": {
  1469.         "align": true,
  1470.         "alignLevel": null
  1471.       }
  1472.     },
  1473.     {
  1474.       "aliasColors": {
  1475.         "Idle": "rgb(41, 41, 41)",
  1476.         "Idle/Other": "rgb(41, 41, 41)",
  1477.         "Read (Out)": "#66db70",
  1478.         "Write": "#3381d9",
  1479.         "Write (In)": "#3381d9"
  1480.       },
  1481.       "breakPoint": "50%",
  1482.       "cacheTimeout": null,
  1483.       "combine": {
  1484.         "label": "Others",
  1485.         "threshold": "0.005"
  1486.       },
  1487.       "datasource": "nfsd_stats",
  1488.       "fontSize": "80%",
  1489.       "format": "Bps",
  1490.       "gridPos": {
  1491.         "h": 7,
  1492.         "w": 7,
  1493.         "x": 0,
  1494.         "y": 16
  1495.       },
  1496.       "id": 23,
  1497.       "interval": null,
  1498.       "legend": {
  1499.         "header": "",
  1500.         "percentage": true,
  1501.         "percentageDecimals": 2,
  1502.         "show": true,
  1503.         "sideWidth": 285,
  1504.         "sort": "current",
  1505.         "sortDesc": true,
  1506.         "values": false
  1507.       },
  1508.       "legendType": "Right side",
  1509.       "links": [],
  1510.       "maxDataPoints": 3,
  1511.       "nullPointMode": "connected",
  1512.       "options": {},
  1513.       "pieType": "pie",
  1514.       "strokeWidth": "0",
  1515.       "targets": [
  1516.         {
  1517.           "alias": "Idle",
  1518.           "groupBy": [
  1519.             {
  1520.               "params": [
  1521.                 "$__interval"
  1522.               ],
  1523.               "type": "time"
  1524.             },
  1525.             {
  1526.               "params": [
  1527.                 "null"
  1528.               ],
  1529.               "type": "fill"
  1530.             }
  1531.           ],
  1532.           "hide": true,
  1533.           "measurement": "tail",
  1534.           "orderByTime": "ASC",
  1535.           "policy": "default",
  1536.           "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_user') AND $timeFilter GROUP BY time($buckets) fill(none)",
  1537.           "rawQuery": true,
  1538.           "refId": "A",
  1539.           "resultFormat": "time_series",
  1540.           "select": [
  1541.             [
  1542.               {
  1543.                 "params": [
  1544.                   "total_rate"
  1545.                 ],
  1546.                 "type": "field"
  1547.               },
  1548.               {
  1549.                 "params": [],
  1550.                 "type": "mean"
  1551.               },
  1552.               {
  1553.                 "params": [
  1554.                   "- 8053063680"
  1555.                 ],
  1556.                 "type": "math"
  1557.               }
  1558.             ]
  1559.           ],
  1560.           "tags": []
  1561.         },
  1562.         {
  1563.           "alias": "[[tag_user]]",
  1564.           "groupBy": [
  1565.             {
  1566.               "params": [
  1567.                 "$buckets"
  1568.               ],
  1569.               "type": "time"
  1570.             },
  1571.             {
  1572.               "params": [
  1573.                 "user"
  1574.               ],
  1575.               "type": "tag"
  1576.             },
  1577.             {
  1578.               "params": [
  1579.                 "none"
  1580.               ],
  1581.               "type": "fill"
  1582.             }
  1583.           ],
  1584.           "measurement": "tail",
  1585.           "orderByTime": "ASC",
  1586.           "policy": "default",
  1587.           "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
  1588.           "rawQuery": false,
  1589.           "refId": "B",
  1590.           "resultFormat": "time_series",
  1591.           "select": [
  1592.             [
  1593.               {
  1594.                 "params": [
  1595.                   "total_rate"
  1596.                 ],
  1597.                 "type": "field"
  1598.               },
  1599.               {
  1600.                 "params": [],
  1601.                 "type": "last"
  1602.               }
  1603.             ]
  1604.           ],
  1605.           "tags": [
  1606.             {
  1607.               "key": "host",
  1608.               "operator": "=",
  1609.               "value": "vnas01"
  1610.             },
  1611.             {
  1612.               "condition": "AND",
  1613.               "key": "ident",
  1614.               "operator": "=",
  1615.               "value": "user"
  1616.             }
  1617.           ]
  1618.         }
  1619.       ],
  1620.       "timeFrom": null,
  1621.       "timeShift": null,
  1622.       "title": "Current User Bandwidth",
  1623.       "transparent": true,
  1624.       "type": "grafana-piechart-panel",
  1625.       "valueName": "current"
  1626.     },
  1627.     {
  1628.       "aliasColors": {},
  1629.       "bars": false,
  1630.       "dashLength": 10,
  1631.       "dashes": false,
  1632.       "datasource": "nfsd_stats",
  1633.       "fill": 0,
  1634.       "gridPos": {
  1635.         "h": 7,
  1636.         "w": 17,
  1637.         "x": 7,
  1638.         "y": 16
  1639.       },
  1640.       "id": 2,
  1641.       "legend": {
  1642.         "alignAsTable": true,
  1643.         "avg": true,
  1644.         "current": true,
  1645.         "max": true,
  1646.         "min": false,
  1647.         "rightSide": true,
  1648.         "show": true,
  1649.         "sideWidth": 480,
  1650.         "sort": "max",
  1651.         "sortDesc": true,
  1652.         "total": false,
  1653.         "values": true
  1654.       },
  1655.       "lines": true,
  1656.       "linewidth": 1,
  1657.       "links": [],
  1658.       "nullPointMode": "null as zero",
  1659.       "options": {},
  1660.       "percentage": false,
  1661.       "pointradius": 2,
  1662.       "points": false,
  1663.       "renderer": "flot",
  1664.       "seriesOverrides": [
  1665.         {
  1666.           "alias": "Total Read (Out)",
  1667.           "color": "#66db70",
  1668.           "dashes": true
  1669.         },
  1670.         {
  1671.           "alias": "Total Write (In)",
  1672.           "color": "#3381d9",
  1673.           "dashes": true,
  1674.           "transform": "negative-Y",
  1675.           "yaxis": 2
  1676.         },
  1677.         {
  1678.           "alias": "/^wr\\./",
  1679.           "transform": "negative-Y",
  1680.           "yaxis": 2
  1681.         }
  1682.       ],
  1683.       "spaceLength": 10,
  1684.       "stack": false,
  1685.       "steppedLine": false,
  1686.       "targets": [
  1687.         {
  1688.           "alias": "rd.[[tag_user]]",
  1689.           "groupBy": [
  1690.             {
  1691.               "params": [
  1692.                 "$buckets"
  1693.               ],
  1694.               "type": "time"
  1695.             },
  1696.             {
  1697.               "params": [
  1698.                 "user"
  1699.               ],
  1700.               "type": "tag"
  1701.             },
  1702.             {
  1703.               "params": [
  1704.                 "null"
  1705.               ],
  1706.               "type": "fill"
  1707.             }
  1708.           ],
  1709.           "measurement": "tail",
  1710.           "orderByTime": "ASC",
  1711.           "policy": "default",
  1712.           "refId": "A",
  1713.           "resultFormat": "time_series",
  1714.           "select": [
  1715.             [
  1716.               {
  1717.                 "params": [
  1718.                   "read_rate"
  1719.                 ],
  1720.                 "type": "field"
  1721.               },
  1722.               {
  1723.                 "params": [],
  1724.                 "type": "max"
  1725.               }
  1726.             ]
  1727.           ],
  1728.           "tags": [
  1729.             {
  1730.               "key": "host",
  1731.               "operator": "=",
  1732.               "value": "$host"
  1733.             },
  1734.             {
  1735.               "condition": "AND",
  1736.               "key": "ident",
  1737.               "operator": "=",
  1738.               "value": "user"
  1739.             }
  1740.           ]
  1741.         },
  1742.         {
  1743.           "alias": "wr.[[tag_user]]",
  1744.           "groupBy": [
  1745.             {
  1746.               "params": [
  1747.                 "$buckets"
  1748.               ],
  1749.               "type": "time"
  1750.             },
  1751.             {
  1752.               "params": [
  1753.                 "user"
  1754.               ],
  1755.               "type": "tag"
  1756.             },
  1757.             {
  1758.               "params": [
  1759.                 "null"
  1760.               ],
  1761.               "type": "fill"
  1762.             }
  1763.           ],
  1764.           "measurement": "tail",
  1765.           "orderByTime": "ASC",
  1766.           "policy": "default",
  1767.           "refId": "B",
  1768.           "resultFormat": "time_series",
  1769.           "select": [
  1770.             [
  1771.               {
  1772.                 "params": [
  1773.                   "write_rate"
  1774.                 ],
  1775.                 "type": "field"
  1776.               },
  1777.               {
  1778.                 "params": [],
  1779.                 "type": "max"
  1780.               }
  1781.             ]
  1782.           ],
  1783.           "tags": [
  1784.             {
  1785.               "key": "host",
  1786.               "operator": "=",
  1787.               "value": "$host"
  1788.             },
  1789.             {
  1790.               "condition": "AND",
  1791.               "key": "ident",
  1792.               "operator": "=",
  1793.               "value": "user"
  1794.             }
  1795.           ]
  1796.         },
  1797.         {
  1798.           "alias": "Total Read (Out)",
  1799.           "groupBy": [
  1800.             {
  1801.               "params": [
  1802.                 "$buckets"
  1803.               ],
  1804.               "type": "time"
  1805.             },
  1806.             {
  1807.               "params": [
  1808.                 "null"
  1809.               ],
  1810.               "type": "fill"
  1811.             }
  1812.           ],
  1813.           "measurement": "tail",
  1814.           "orderByTime": "ASC",
  1815.           "policy": "default",
  1816.           "refId": "C",
  1817.           "resultFormat": "time_series",
  1818.           "select": [
  1819.             [
  1820.               {
  1821.                 "params": [
  1822.                   "read_rate"
  1823.                 ],
  1824.                 "type": "field"
  1825.               },
  1826.               {
  1827.                 "params": [],
  1828.                 "type": "max"
  1829.               }
  1830.             ]
  1831.           ],
  1832.           "tags": [
  1833.             {
  1834.               "key": "host",
  1835.               "operator": "=",
  1836.               "value": "$host"
  1837.             },
  1838.             {
  1839.               "condition": "AND",
  1840.               "key": "ident",
  1841.               "operator": "=",
  1842.               "value": "total_user"
  1843.             }
  1844.           ]
  1845.         },
  1846.         {
  1847.           "alias": "Total Write (In)",
  1848.           "groupBy": [
  1849.             {
  1850.               "params": [
  1851.                 "$buckets"
  1852.               ],
  1853.               "type": "time"
  1854.             },
  1855.             {
  1856.               "params": [
  1857.                 "null"
  1858.               ],
  1859.               "type": "fill"
  1860.             }
  1861.           ],
  1862.           "measurement": "tail",
  1863.           "orderByTime": "ASC",
  1864.           "policy": "default",
  1865.           "refId": "D",
  1866.           "resultFormat": "time_series",
  1867.           "select": [
  1868.             [
  1869.               {
  1870.                 "params": [
  1871.                   "write_rate"
  1872.                 ],
  1873.                 "type": "field"
  1874.               },
  1875.               {
  1876.                 "params": [],
  1877.                 "type": "max"
  1878.               }
  1879.             ]
  1880.           ],
  1881.           "tags": [
  1882.             {
  1883.               "key": "host",
  1884.               "operator": "=",
  1885.               "value": "$host"
  1886.             },
  1887.             {
  1888.               "condition": "AND",
  1889.               "key": "ident",
  1890.               "operator": "=",
  1891.               "value": "total_user"
  1892.             }
  1893.           ]
  1894.         }
  1895.       ],
  1896.       "thresholds": [],
  1897.       "timeFrom": null,
  1898.       "timeRegions": [],
  1899.       "timeShift": null,
  1900.       "title": "User Bandwidth ($buckets buckets)",
  1901.       "tooltip": {
  1902.         "shared": true,
  1903.         "sort": 2,
  1904.         "value_type": "individual"
  1905.       },
  1906.       "transparent": true,
  1907.       "type": "graph",
  1908.       "xaxis": {
  1909.         "buckets": null,
  1910.         "mode": "time",
  1911.         "name": null,
  1912.         "show": true,
  1913.         "values": []
  1914.       },
  1915.       "yaxes": [
  1916.         {
  1917.           "format": "Bps",
  1918.           "label": null,
  1919.           "logBase": 1,
  1920.           "max": null,
  1921.           "min": null,
  1922.           "show": true
  1923.         },
  1924.         {
  1925.           "format": "Bps",
  1926.           "label": null,
  1927.           "logBase": 1,
  1928.           "max": null,
  1929.           "min": null,
  1930.           "show": true
  1931.         }
  1932.       ],
  1933.       "yaxis": {
  1934.         "align": true,
  1935.         "alignLevel": null
  1936.       }
  1937.     },
  1938.     {
  1939.       "aliasColors": {
  1940.         "Idle": "rgb(41, 41, 41)",
  1941.         "Idle/Other": "rgb(41, 41, 41)",
  1942.         "Read (Out)": "#66db70",
  1943.         "Write": "#3381d9",
  1944.         "Write (In)": "#3381d9"
  1945.       },
  1946.       "breakPoint": "50%",
  1947.       "cacheTimeout": null,
  1948.       "combine": {
  1949.         "label": "Others",
  1950.         "threshold": "0.005"
  1951.       },
  1952.       "datasource": "nfsd_stats",
  1953.       "fontSize": "80%",
  1954.       "format": "Bps",
  1955.       "gridPos": {
  1956.         "h": 7,
  1957.         "w": 7,
  1958.         "x": 0,
  1959.         "y": 23
  1960.       },
  1961.       "id": 25,
  1962.       "interval": null,
  1963.       "legend": {
  1964.         "header": "",
  1965.         "percentage": true,
  1966.         "percentageDecimals": 2,
  1967.         "show": true,
  1968.         "sideWidth": 285,
  1969.         "sort": "current",
  1970.         "sortDesc": true,
  1971.         "values": false
  1972.       },
  1973.       "legendType": "Right side",
  1974.       "links": [],
  1975.       "maxDataPoints": 3,
  1976.       "nullPointMode": "connected",
  1977.       "options": {},
  1978.       "pieType": "pie",
  1979.       "strokeWidth": "0",
  1980.       "targets": [
  1981.         {
  1982.           "alias": "Idle",
  1983.           "groupBy": [
  1984.             {
  1985.               "params": [
  1986.                 "$__interval"
  1987.               ],
  1988.               "type": "time"
  1989.             },
  1990.             {
  1991.               "params": [
  1992.                 "null"
  1993.               ],
  1994.               "type": "fill"
  1995.             }
  1996.           ],
  1997.           "hide": true,
  1998.           "measurement": "tail",
  1999.           "orderByTime": "ASC",
  2000.           "policy": "default",
  2001.           "query": "SELECT 7500000000 - last(\"total_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'total_group') AND $timeFilter GROUP BY time($buckets) fill(none)",
  2002.           "rawQuery": true,
  2003.           "refId": "A",
  2004.           "resultFormat": "time_series",
  2005.           "select": [
  2006.             [
  2007.               {
  2008.                 "params": [
  2009.                   "total_rate"
  2010.                 ],
  2011.                 "type": "field"
  2012.               },
  2013.               {
  2014.                 "params": [],
  2015.                 "type": "mean"
  2016.               },
  2017.               {
  2018.                 "params": [
  2019.                   "- 8053063680"
  2020.                 ],
  2021.                 "type": "math"
  2022.               }
  2023.             ]
  2024.           ],
  2025.           "tags": []
  2026.         },
  2027.         {
  2028.           "alias": "[[tag_group]]",
  2029.           "groupBy": [
  2030.             {
  2031.               "params": [
  2032.                 "$buckets"
  2033.               ],
  2034.               "type": "time"
  2035.             },
  2036.             {
  2037.               "params": [
  2038.                 "group"
  2039.               ],
  2040.               "type": "tag"
  2041.             },
  2042.             {
  2043.               "params": [
  2044.                 "none"
  2045.               ],
  2046.               "type": "fill"
  2047.             }
  2048.           ],
  2049.           "measurement": "tail",
  2050.           "orderByTime": "ASC",
  2051.           "policy": "default",
  2052.           "query": "SELECT max(\"read_rate\") FROM \"tail\" WHERE (\"host\" = 'vnas01' AND \"ident\" = 'server') AND $timeFilter GROUP BY time($buckets), \"server\" fill(null)",
  2053.           "rawQuery": false,
  2054.           "refId": "B",
  2055.           "resultFormat": "time_series",
  2056.           "select": [
  2057.             [
  2058.               {
  2059.                 "params": [
  2060.                   "total_rate"
  2061.                 ],
  2062.                 "type": "field"
  2063.               },
  2064.               {
  2065.                 "params": [],
  2066.                 "type": "last"
  2067.               }
  2068.             ]
  2069.           ],
  2070.           "tags": [
  2071.             {
  2072.               "key": "host",
  2073.               "operator": "=",
  2074.               "value": "vnas01"
  2075.             },
  2076.             {
  2077.               "condition": "AND",
  2078.               "key": "ident",
  2079.               "operator": "=",
  2080.               "value": "group"
  2081.             }
  2082.           ]
  2083.         }
  2084.       ],
  2085.       "timeFrom": null,
  2086.       "timeShift": null,
  2087.       "title": "Current Group Bandwidth",
  2088.       "transparent": true,
  2089.       "type": "grafana-piechart-panel",
  2090.       "valueName": "current"
  2091.     },
  2092.     {
  2093.       "aliasColors": {},
  2094.       "bars": false,
  2095.       "dashLength": 10,
  2096.       "dashes": false,
  2097.       "datasource": "nfsd_stats",
  2098.       "fill": 0,
  2099.       "gridPos": {
  2100.         "h": 7,
  2101.         "w": 17,
  2102.         "x": 7,
  2103.         "y": 23
  2104.       },
  2105.       "id": 5,
  2106.       "legend": {
  2107.         "alignAsTable": true,
  2108.         "avg": true,
  2109.         "current": true,
  2110.         "max": true,
  2111.         "min": false,
  2112.         "rightSide": true,
  2113.         "show": true,
  2114.         "sideWidth": 480,
  2115.         "sort": "max",
  2116.         "sortDesc": true,
  2117.         "total": false,
  2118.         "values": true
  2119.       },
  2120.       "lines": true,
  2121.       "linewidth": 1,
  2122.       "links": [],
  2123.       "nullPointMode": "null as zero",
  2124.       "options": {},
  2125.       "percentage": false,
  2126.       "pointradius": 2,
  2127.       "points": false,
  2128.       "renderer": "flot",
  2129.       "seriesOverrides": [
  2130.         {
  2131.           "alias": "Total Read (Out)",
  2132.           "color": "#66db70",
  2133.           "dashes": true
  2134.         },
  2135.         {
  2136.           "alias": "Total Write (In)",
  2137.           "color": "#3381d9",
  2138.           "dashes": true,
  2139.           "transform": "negative-Y",
  2140.           "yaxis": 2
  2141.         },
  2142.         {
  2143.           "alias": "/^wr\\./",
  2144.           "transform": "negative-Y",
  2145.           "yaxis": 2
  2146.         }
  2147.       ],
  2148.       "spaceLength": 10,
  2149.       "stack": false,
  2150.       "steppedLine": false,
  2151.       "targets": [
  2152.         {
  2153.           "alias": "rd.[[tag_group]]",
  2154.           "groupBy": [
  2155.             {
  2156.               "params": [
  2157.                 "$buckets"
  2158.               ],
  2159.               "type": "time"
  2160.             },
  2161.             {
  2162.               "params": [
  2163.                 "group"
  2164.               ],
  2165.               "type": "tag"
  2166.             },
  2167.             {
  2168.               "params": [
  2169.                 "null"
  2170.               ],
  2171.               "type": "fill"
  2172.             }
  2173.           ],
  2174.           "measurement": "tail",
  2175.           "orderByTime": "ASC",
  2176.           "policy": "default",
  2177.           "refId": "A",
  2178.           "resultFormat": "time_series",
  2179.           "select": [
  2180.             [
  2181.               {
  2182.                 "params": [
  2183.                   "read_rate"
  2184.                 ],
  2185.                 "type": "field"
  2186.               },
  2187.               {
  2188.                 "params": [],
  2189.                 "type": "max"
  2190.               }
  2191.             ]
  2192.           ],
  2193.           "tags": [
  2194.             {
  2195.               "key": "host",
  2196.               "operator": "=",
  2197.               "value": "$host"
  2198.             },
  2199.             {
  2200.               "condition": "AND",
  2201.               "key": "ident",
  2202.               "operator": "=",
  2203.               "value": "group"
  2204.             }
  2205.           ]
  2206.         },
  2207.         {
  2208.           "alias": "wr.[[tag_group]]",
  2209.           "groupBy": [
  2210.             {
  2211.               "params": [
  2212.                 "$buckets"
  2213.               ],
  2214.               "type": "time"
  2215.             },
  2216.             {
  2217.               "params": [
  2218.                 "group"
  2219.               ],
  2220.               "type": "tag"
  2221.             },
  2222.             {
  2223.               "params": [
  2224.                 "null"
  2225.               ],
  2226.               "type": "fill"
  2227.             }
  2228.           ],
  2229.           "measurement": "tail",
  2230.           "orderByTime": "ASC",
  2231.           "policy": "default",
  2232.           "refId": "B",
  2233.           "resultFormat": "time_series",
  2234.           "select": [
  2235.             [
  2236.               {
  2237.                 "params": [
  2238.                   "write_rate"
  2239.                 ],
  2240.                 "type": "field"
  2241.               },
  2242.               {
  2243.                 "params": [],
  2244.                 "type": "max"
  2245.               }
  2246.             ]
  2247.           ],
  2248.           "tags": [
  2249.             {
  2250.               "key": "host",
  2251.               "operator": "=",
  2252.               "value": "$host"
  2253.             },
  2254.             {
  2255.               "condition": "AND",
  2256.               "key": "ident",
  2257.               "operator": "=",
  2258.               "value": "group"
  2259.             }
  2260.           ]
  2261.         },
  2262.         {
  2263.           "alias": "Total Read (Out)",
  2264.           "groupBy": [
  2265.             {
  2266.               "params": [
  2267.                 "$buckets"
  2268.               ],
  2269.               "type": "time"
  2270.             },
  2271.             {
  2272.               "params": [
  2273.                 "null"
  2274.               ],
  2275.               "type": "fill"
  2276.             }
  2277.           ],
  2278.           "measurement": "tail",
  2279.           "orderByTime": "ASC",
  2280.           "policy": "default",
  2281.           "refId": "C",
  2282.           "resultFormat": "time_series",
  2283.           "select": [
  2284.             [
  2285.               {
  2286.                 "params": [
  2287.                   "read_rate"
  2288.                 ],
  2289.                 "type": "field"
  2290.               },
  2291.               {
  2292.                 "params": [],
  2293.                 "type": "max"
  2294.               }
  2295.             ]
  2296.           ],
  2297.           "tags": [
  2298.             {
  2299.               "key": "host",
  2300.               "operator": "=",
  2301.               "value": "$host"
  2302.             },
  2303.             {
  2304.               "condition": "AND",
  2305.               "key": "ident",
  2306.               "operator": "=",
  2307.               "value": "total_group"
  2308.             }
  2309.           ]
  2310.         },
  2311.         {
  2312.           "alias": "Total Write (In)",
  2313.           "groupBy": [
  2314.             {
  2315.               "params": [
  2316.                 "$buckets"
  2317.               ],
  2318.               "type": "time"
  2319.             },
  2320.             {
  2321.               "params": [
  2322.                 "null"
  2323.               ],
  2324.               "type": "fill"
  2325.             }
  2326.           ],
  2327.           "measurement": "tail",
  2328.           "orderByTime": "ASC",
  2329.           "policy": "default",
  2330.           "refId": "D",
  2331.           "resultFormat": "time_series",
  2332.           "select": [
  2333.             [
  2334.               {
  2335.                 "params": [
  2336.                   "write_rate"
  2337.                 ],
  2338.                 "type": "field"
  2339.               },
  2340.               {
  2341.                 "params": [],
  2342.                 "type": "max"
  2343.               }
  2344.             ]
  2345.           ],
  2346.           "tags": [
  2347.             {
  2348.               "key": "host",
  2349.               "operator": "=",
  2350.               "value": "$host"
  2351.             },
  2352.             {
  2353.               "condition": "AND",
  2354.               "key": "ident",
  2355.               "operator": "=",
  2356.               "value": "total_group"
  2357.             }
  2358.           ]
  2359.         }
  2360.       ],
  2361.       "thresholds": [],
  2362.       "timeFrom": null,
  2363.       "timeRegions": [],
  2364.       "timeShift": null,
  2365.       "title": "Group Bandwidth ($buckets buckets)",
  2366.       "tooltip": {
  2367.         "shared": true,
  2368.         "sort": 2,
  2369.         "value_type": "individual"
  2370.       },
  2371.       "transparent": true,
  2372.       "type": "graph",
  2373.       "xaxis": {
  2374.         "buckets": null,
  2375.         "mode": "time",
  2376.         "name": null,
  2377.         "show": true,
  2378.         "values": []
  2379.       },
  2380.       "yaxes": [
  2381.         {
  2382.           "format": "Bps",
  2383.           "label": null,
  2384.           "logBase": 1,
  2385.           "max": null,
  2386.           "min": null,
  2387.           "show": true
  2388.         },
  2389.         {
  2390.           "format": "Bps",
  2391.           "label": null,
  2392.           "logBase": 1,
  2393.           "max": null,
  2394.           "min": null,
  2395.           "show": true
  2396.         }
  2397.       ],
  2398.       "yaxis": {
  2399.         "align": true,
  2400.         "alignLevel": null
  2401.       }
  2402.     }
  2403.   ],
  2404.   "refresh": "5m",
  2405.   "schemaVersion": 18,
  2406.   "style": "dark",
  2407.   "tags": [],
  2408.   "templating": {
  2409.     "list": [
  2410.       {
  2411.         "current": {
  2412.           "selected": true,
  2413.           "text": "vnas01",
  2414.           "value": "vnas01"
  2415.         },
  2416.         "hide": 2,
  2417.         "label": "Host",
  2418.         "name": "host",
  2419.         "options": [
  2420.           {
  2421.             "selected": true,
  2422.             "text": "vnas01",
  2423.             "value": "vnas01"
  2424.           }
  2425.         ],
  2426.         "query": "vnas01",
  2427.         "skipUrlSync": false,
  2428.         "type": "constant"
  2429.       },
  2430.       {
  2431.         "auto": true,
  2432.         "auto_count": 50,
  2433.         "auto_min": "300s",
  2434.         "current": {
  2435.           "text": "auto",
  2436.           "value": "$__auto_interval_buckets"
  2437.         },
  2438.         "hide": 0,
  2439.         "label": "Buckets",
  2440.         "name": "buckets",
  2441.         "options": [
  2442.           {
  2443.             "selected": true,
  2444.             "text": "auto",
  2445.             "value": "$__auto_interval_buckets"
  2446.           },
  2447.           {
  2448.             "selected": false,
  2449.             "text": "5m",
  2450.             "value": "5m"
  2451.           },
  2452.           {
  2453.             "selected": false,
  2454.             "text": "10m",
  2455.             "value": "10m"
  2456.           },
  2457.           {
  2458.             "selected": false,
  2459.             "text": "30m",
  2460.             "value": "30m"
  2461.           },
  2462.           {
  2463.             "selected": false,
  2464.             "text": "1h",
  2465.             "value": "1h"
  2466.           },
  2467.           {
  2468.             "selected": false,
  2469.             "text": "6h",
  2470.             "value": "6h"
  2471.           },
  2472.           {
  2473.             "selected": false,
  2474.             "text": "12h",
  2475.             "value": "12h"
  2476.           },
  2477.           {
  2478.             "selected": false,
  2479.             "text": "1d",
  2480.             "value": "1d"
  2481.           },
  2482.           {
  2483.             "selected": false,
  2484.             "text": "7d",
  2485.             "value": "7d"
  2486.           },
  2487.           {
  2488.             "selected": false,
  2489.             "text": "14d",
  2490.             "value": "14d"
  2491.           },
  2492.           {
  2493.             "selected": false,
  2494.             "text": "30d",
  2495.             "value": "30d"
  2496.           }
  2497.         ],
  2498.         "query": "5m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
  2499.         "refresh": 2,
  2500.         "skipUrlSync": false,
  2501.         "type": "interval"
  2502.       },
  2503.       {
  2504.         "datasource": "nfsd_stats",
  2505.         "filters": [],
  2506.         "hide": 0,
  2507.         "label": null,
  2508.         "name": "Filters",
  2509.         "skipUrlSync": false,
  2510.         "type": "adhoc"
  2511.       }
  2512.     ]
  2513.   },
  2514.   "time": {
  2515.     "from": "now-12h",
  2516.     "to": "now"
  2517.   },
  2518.   "timepicker": {
  2519.     "refresh_intervals": [
  2520.       "5s",
  2521.       "10s",
  2522.       "30s",
  2523.       "1m",
  2524.       "5m",
  2525.       "15m",
  2526.       "30m",
  2527.       "1h",
  2528.       "2h",
  2529.       "1d"
  2530.     ],
  2531.     "time_options": [
  2532.       "5m",
  2533.       "15m",
  2534.       "1h",
  2535.       "6h",
  2536.       "12h",
  2537.       "24h",
  2538.       "2d",
  2539.       "7d",
  2540.       "30d"
  2541.     ]
  2542.   },
  2543.   "timezone": "",
  2544.   "title": "vnas01",
  2545.   "uid": "qiad4FXWk",
  2546.   "version": 132
  2547. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement