Advertisement
buraglio

Faucet 1.8.23 working port stats json

Jan 7th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.54 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": 0,
  18.   "id": 5,
  19.   "iteration": 1546879907818,
  20.   "links": [],
  21.   "panels": [
  22.     {
  23.       "aliasColors": {},
  24.       "bars": true,
  25.       "dashLength": 10,
  26.       "dashes": false,
  27.       "datasource": "Prometheus",
  28.       "fill": 1,
  29.       "gridPos": {
  30.         "h": 7,
  31.         "w": 12,
  32.         "x": 0,
  33.         "y": 0
  34.       },
  35.       "id": 1,
  36.       "legend": {
  37.         "alignAsTable": false,
  38.         "avg": false,
  39.         "current": false,
  40.         "max": false,
  41.         "min": false,
  42.         "rightSide": false,
  43.         "show": true,
  44.         "total": false,
  45.         "values": false
  46.       },
  47.       "lines": false,
  48.       "linewidth": 1,
  49.       "links": [],
  50.       "nullPointMode": "null",
  51.       "percentage": false,
  52.       "pointradius": 5,
  53.       "points": false,
  54.       "renderer": "flot",
  55.       "seriesOverrides": [],
  56.       "spaceLength": 10,
  57.       "stack": false,
  58.       "steppedLine": false,
  59.       "targets": [
  60.         {
  61.           "dsType": "influxdb",
  62.           "expr": "instance_port:of_port_rx_bits:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"}",
  63.           "format": "time_series",
  64.           "groupBy": [
  65.             {
  66.               "params": [
  67.                 "$__interval"
  68.               ],
  69.               "type": "time"
  70.             },
  71.             {
  72.               "params": [
  73.                 "null"
  74.               ],
  75.               "type": "fill"
  76.             }
  77.           ],
  78.           "intervalFactor": 2,
  79.           "legendFormat": "{{dp_name}} {{port_name}} in",
  80.           "metric": "",
  81.           "orderByTime": "ASC",
  82.           "policy": "default",
  83.           "refId": "A",
  84.           "resultFormat": "time_series",
  85.           "select": [
  86.             [
  87.               {
  88.                 "params": [
  89.                   "value"
  90.                 ],
  91.                 "type": "field"
  92.               },
  93.               {
  94.                 "params": [],
  95.                 "type": "mean"
  96.               }
  97.             ]
  98.           ],
  99.           "step": 2,
  100.           "tags": []
  101.         },
  102.         {
  103.           "expr": "instance_port:of_port_tx_bits:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"} * -1",
  104.           "format": "time_series",
  105.           "intervalFactor": 2,
  106.           "legendFormat": "{{dp_name}} {{port_name}} out",
  107.           "refId": "B",
  108.           "step": 2
  109.         }
  110.       ],
  111.       "thresholds": [],
  112.       "timeFrom": null,
  113.       "timeRegions": [],
  114.       "timeShift": null,
  115.       "title": "Bits in/out per second",
  116.       "tooltip": {
  117.         "shared": true,
  118.         "sort": 0,
  119.         "value_type": "individual"
  120.       },
  121.       "type": "graph",
  122.       "xaxis": {
  123.         "buckets": null,
  124.         "mode": "time",
  125.         "name": null,
  126.         "show": true,
  127.         "values": []
  128.       },
  129.       "yaxes": [
  130.         {
  131.           "format": "bps",
  132.           "label": null,
  133.           "logBase": 1,
  134.           "max": null,
  135.           "min": null,
  136.           "show": true
  137.         },
  138.         {
  139.           "format": "short",
  140.           "label": null,
  141.           "logBase": 1,
  142.           "max": null,
  143.           "min": null,
  144.           "show": true
  145.         }
  146.       ],
  147.       "yaxis": {
  148.         "align": false,
  149.         "alignLevel": null
  150.       }
  151.     },
  152.     {
  153.       "aliasColors": {},
  154.       "bars": true,
  155.       "dashLength": 10,
  156.       "dashes": false,
  157.       "datasource": "Prometheus",
  158.       "fill": 1,
  159.       "gridPos": {
  160.         "h": 7,
  161.         "w": 12,
  162.         "x": 12,
  163.         "y": 0
  164.       },
  165.       "id": 2,
  166.       "legend": {
  167.         "alignAsTable": false,
  168.         "avg": false,
  169.         "current": false,
  170.         "max": false,
  171.         "min": false,
  172.         "rightSide": false,
  173.         "show": true,
  174.         "total": false,
  175.         "values": false
  176.       },
  177.       "lines": false,
  178.       "linewidth": 1,
  179.       "links": [],
  180.       "nullPointMode": "null",
  181.       "percentage": false,
  182.       "pointradius": 5,
  183.       "points": false,
  184.       "renderer": "flot",
  185.       "seriesOverrides": [],
  186.       "spaceLength": 10,
  187.       "stack": false,
  188.       "steppedLine": false,
  189.       "targets": [
  190.         {
  191.           "dsType": "influxdb",
  192.           "expr": "instance_port:of_port_rx_packets:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"}",
  193.           "format": "time_series",
  194.           "groupBy": [
  195.             {
  196.               "params": [
  197.                 "$__interval"
  198.               ],
  199.               "type": "time"
  200.             },
  201.             {
  202.               "params": [
  203.                 "null"
  204.               ],
  205.               "type": "fill"
  206.             }
  207.           ],
  208.           "intervalFactor": 2,
  209.           "legendFormat": "{{dp_name}} {{port_name}} in",
  210.           "metric": "",
  211.           "orderByTime": "ASC",
  212.           "policy": "default",
  213.           "refId": "A",
  214.           "resultFormat": "time_series",
  215.           "select": [
  216.             [
  217.               {
  218.                 "params": [
  219.                   "value"
  220.                 ],
  221.                 "type": "field"
  222.               },
  223.               {
  224.                 "params": [],
  225.                 "type": "mean"
  226.               }
  227.             ]
  228.           ],
  229.           "step": 2,
  230.           "tags": []
  231.         },
  232.         {
  233.           "expr": "instance_port:of_port_tx_packets:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"} * -1",
  234.           "format": "time_series",
  235.           "intervalFactor": 2,
  236.           "legendFormat": "{{dp_name}} {{port_name}} out",
  237.           "refId": "B",
  238.           "step": 2
  239.         }
  240.       ],
  241.       "thresholds": [],
  242.       "timeFrom": null,
  243.       "timeRegions": [],
  244.       "timeShift": null,
  245.       "title": "Packets in/out per second",
  246.       "tooltip": {
  247.         "shared": true,
  248.         "sort": 0,
  249.         "value_type": "individual"
  250.       },
  251.       "type": "graph",
  252.       "xaxis": {
  253.         "buckets": null,
  254.         "mode": "time",
  255.         "name": null,
  256.         "show": true,
  257.         "values": []
  258.       },
  259.       "yaxes": [
  260.         {
  261.           "format": "pps",
  262.           "label": null,
  263.           "logBase": 1,
  264.           "max": null,
  265.           "min": null,
  266.           "show": true
  267.         },
  268.         {
  269.           "format": "short",
  270.           "label": null,
  271.           "logBase": 1,
  272.           "max": null,
  273.           "min": null,
  274.           "show": true
  275.         }
  276.       ],
  277.       "yaxis": {
  278.         "align": false,
  279.         "alignLevel": null
  280.       }
  281.     },
  282.     {
  283.       "aliasColors": {},
  284.       "bars": true,
  285.       "dashLength": 10,
  286.       "dashes": false,
  287.       "datasource": "Prometheus",
  288.       "fill": 1,
  289.       "gridPos": {
  290.         "h": 7,
  291.         "w": 12,
  292.         "x": 0,
  293.         "y": 7
  294.       },
  295.       "id": 3,
  296.       "legend": {
  297.         "alignAsTable": false,
  298.         "avg": false,
  299.         "current": false,
  300.         "max": false,
  301.         "min": false,
  302.         "rightSide": false,
  303.         "show": true,
  304.         "total": false,
  305.         "values": false
  306.       },
  307.       "lines": false,
  308.       "linewidth": 1,
  309.       "links": [],
  310.       "nullPointMode": "null",
  311.       "percentage": false,
  312.       "pointradius": 5,
  313.       "points": false,
  314.       "renderer": "flot",
  315.       "seriesOverrides": [],
  316.       "spaceLength": 10,
  317.       "stack": false,
  318.       "steppedLine": false,
  319.       "targets": [
  320.         {
  321.           "dsType": "influxdb",
  322.           "expr": "instance_port:of_port_rx_dropped:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"}",
  323.           "format": "time_series",
  324.           "groupBy": [
  325.             {
  326.               "params": [
  327.                 "$__interval"
  328.               ],
  329.               "type": "time"
  330.             },
  331.             {
  332.               "params": [
  333.                 "null"
  334.               ],
  335.               "type": "fill"
  336.             }
  337.           ],
  338.           "intervalFactor": 2,
  339.           "legendFormat": "{{dp_name}} {{port_name}} in",
  340.           "metric": "",
  341.           "orderByTime": "ASC",
  342.           "policy": "default",
  343.           "refId": "A",
  344.           "resultFormat": "time_series",
  345.           "select": [
  346.             [
  347.               {
  348.                 "params": [
  349.                   "value"
  350.                 ],
  351.                 "type": "field"
  352.               },
  353.               {
  354.                 "params": [],
  355.                 "type": "mean"
  356.               }
  357.             ]
  358.           ],
  359.           "step": 2,
  360.           "tags": []
  361.         },
  362.         {
  363.           "expr": "instance_port:of_port_tx_dropped:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"} * -1",
  364.           "format": "time_series",
  365.           "intervalFactor": 2,
  366.           "legendFormat": "{{dp_name}} {{port_name}} out",
  367.           "refId": "B",
  368.           "step": 2
  369.         }
  370.       ],
  371.       "thresholds": [],
  372.       "timeFrom": null,
  373.       "timeRegions": [],
  374.       "timeShift": null,
  375.       "title": "Dropped in/out per second",
  376.       "tooltip": {
  377.         "shared": true,
  378.         "sort": 0,
  379.         "value_type": "individual"
  380.       },
  381.       "type": "graph",
  382.       "xaxis": {
  383.         "buckets": null,
  384.         "mode": "time",
  385.         "name": null,
  386.         "show": true,
  387.         "values": []
  388.       },
  389.       "yaxes": [
  390.         {
  391.           "format": "pps",
  392.           "label": null,
  393.           "logBase": 1,
  394.           "max": null,
  395.           "min": null,
  396.           "show": true
  397.         },
  398.         {
  399.           "format": "short",
  400.           "label": null,
  401.           "logBase": 1,
  402.           "max": null,
  403.           "min": null,
  404.           "show": true
  405.         }
  406.       ],
  407.       "yaxis": {
  408.         "align": false,
  409.         "alignLevel": null
  410.       }
  411.     },
  412.     {
  413.       "aliasColors": {},
  414.       "bars": true,
  415.       "dashLength": 10,
  416.       "dashes": false,
  417.       "datasource": "Prometheus",
  418.       "fill": 1,
  419.       "gridPos": {
  420.         "h": 7,
  421.         "w": 12,
  422.         "x": 12,
  423.         "y": 7
  424.       },
  425.       "id": 4,
  426.       "legend": {
  427.         "alignAsTable": false,
  428.         "avg": false,
  429.         "current": false,
  430.         "max": false,
  431.         "min": false,
  432.         "rightSide": false,
  433.         "show": true,
  434.         "total": false,
  435.         "values": false
  436.       },
  437.       "lines": false,
  438.       "linewidth": 1,
  439.       "links": [],
  440.       "nullPointMode": "null",
  441.       "percentage": false,
  442.       "pointradius": 5,
  443.       "points": false,
  444.       "renderer": "flot",
  445.       "seriesOverrides": [],
  446.       "spaceLength": 10,
  447.       "stack": false,
  448.       "steppedLine": false,
  449.       "targets": [
  450.         {
  451.           "dsType": "influxdb",
  452.           "expr": "instance_port:of_port_rx_errors:rate1m{dp_name=~\"[[dp_name]]\", port_name=~\"[[port_name]]\"}",
  453.           "format": "time_series",
  454.           "groupBy": [
  455.             {
  456.               "params": [
  457.                 "$__interval"
  458.               ],
  459.               "type": "time"
  460.             },
  461.             {
  462.               "params": [
  463.                 "null"
  464.               ],
  465.               "type": "fill"
  466.             }
  467.           ],
  468.           "intervalFactor": 2,
  469.           "legendFormat": "{{dp_name}} {{port_name}} in",
  470.           "metric": "",
  471.           "orderByTime": "ASC",
  472.           "policy": "default",
  473.           "refId": "A",
  474.           "resultFormat": "time_series",
  475.           "select": [
  476.             [
  477.               {
  478.                 "params": [
  479.                   "value"
  480.                 ],
  481.                 "type": "field"
  482.               },
  483.               {
  484.                 "params": [],
  485.                 "type": "mean"
  486.               }
  487.             ]
  488.           ],
  489.           "step": 2,
  490.           "tags": []
  491.         }
  492.       ],
  493.       "thresholds": [],
  494.       "timeFrom": null,
  495.       "timeRegions": [],
  496.       "timeShift": null,
  497.       "title": "Errors per second",
  498.       "tooltip": {
  499.         "shared": true,
  500.         "sort": 0,
  501.         "value_type": "individual"
  502.       },
  503.       "type": "graph",
  504.       "xaxis": {
  505.         "buckets": null,
  506.         "mode": "time",
  507.         "name": null,
  508.         "show": true,
  509.         "values": []
  510.       },
  511.       "yaxes": [
  512.         {
  513.           "format": "pps",
  514.           "label": null,
  515.           "logBase": 1,
  516.           "max": null,
  517.           "min": null,
  518.           "show": true
  519.         },
  520.         {
  521.           "format": "short",
  522.           "label": null,
  523.           "logBase": 1,
  524.           "max": null,
  525.           "min": null,
  526.           "show": true
  527.         }
  528.       ],
  529.       "yaxis": {
  530.         "align": false,
  531.         "alignLevel": null
  532.       }
  533.     }
  534.   ],
  535.   "refresh": "10s",
  536.   "schemaVersion": 16,
  537.   "style": "dark",
  538.   "tags": [
  539.     "FAUCET"
  540.   ],
  541.   "templating": {
  542.     "list": [
  543.       {
  544.         "allValue": null,
  545.         "current": {
  546.           "text": "sw1",
  547.           "value": "sw1"
  548.         },
  549.         "datasource": "Prometheus",
  550.         "definition": "",
  551.         "hide": 0,
  552.         "includeAll": false,
  553.         "label": "Datapath Name",
  554.         "multi": false,
  555.         "name": "dp_name",
  556.         "options": [],
  557.         "query": "label_values(of_port_rx_bytes, dp_name)",
  558.         "refresh": 2,
  559.         "regex": "",
  560.         "skipUrlSync": false,
  561.         "sort": 2,
  562.         "tagValuesQuery": "",
  563.         "tags": [],
  564.         "tagsQuery": "label_values(faucet_config_dp_name, name)",
  565.         "type": "query",
  566.         "useTags": false
  567.       },
  568.       {
  569.         "allValue": null,
  570.         "current": {
  571.           "text": "All",
  572.           "value": "$__all"
  573.         },
  574.         "datasource": "Prometheus",
  575.         "definition": "",
  576.         "hide": 0,
  577.         "includeAll": true,
  578.         "label": "Port",
  579.         "multi": true,
  580.         "name": "port_name",
  581.         "options": [],
  582.         "query": "query_result(of_port_rx_bytes{dp_name =~ \"$dp_name\"})",
  583.         "refresh": 2,
  584.         "regex": "/port_name=\"(.*)\"/",
  585.         "skipUrlSync": false,
  586.         "sort": 3,
  587.         "tagValuesQuery": "",
  588.         "tags": [],
  589.         "tagsQuery": "",
  590.         "type": "query",
  591.         "useTags": false
  592.       }
  593.     ]
  594.   },
  595.   "time": {
  596.     "from": "now-1h",
  597.     "to": "now"
  598.   },
  599.   "timepicker": {
  600.     "refresh_intervals": [
  601.       "5s",
  602.       "10s",
  603.       "30s",
  604.       "1m",
  605.       "5m",
  606.       "15m",
  607.       "30m",
  608.       "1h",
  609.       "2h",
  610.       "1d"
  611.     ],
  612.     "time_options": [
  613.       "5m",
  614.       "15m",
  615.       "1h",
  616.       "6h",
  617.       "12h",
  618.       "24h",
  619.       "2d",
  620.       "7d",
  621.       "30d"
  622.     ]
  623.   },
  624.   "timezone": "",
  625.   "title": "Faucet Port Statistics",
  626.   "uid": "lAHj2jRRz",
  627.   "version": 1
  628. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement