Advertisement
Guest User

Untitled

a guest
Jan 4th, 2018
1,461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 63.55 KB | None | 0 0
  1. {
  2.   "dashboard": {
  3.     "__inputs": [
  4.       {
  5.         "name": "DS_PROMETHEUS",
  6.         "label": "Prometheus",
  7.         "description": "",
  8.         "type": "datasource",
  9.         "pluginId": "prometheus",
  10.         "pluginName": "Prometheus"
  11.       }
  12.     ],
  13.     "__requires": [
  14.       {
  15.         "type": "panel",
  16.         "id": "singlestat",
  17.         "name": "Singlestat",
  18.         "version": ""
  19.       },
  20.       {
  21.         "type": "panel",
  22.         "id": "graph",
  23.         "name": "Graph",
  24.         "version": ""
  25.       },
  26.       {
  27.         "type": "panel",
  28.         "id": "table",
  29.         "name": "Table",
  30.         "version": ""
  31.       },
  32.       {
  33.         "type": "grafana",
  34.         "id": "grafana",
  35.         "name": "Grafana",
  36.         "version": "4.0.0-beta2"
  37.       },
  38.       {
  39.         "type": "datasource",
  40.         "id": "prometheus",
  41.         "name": "Prometheus",
  42.         "version": "1.0.0"
  43.       }
  44.     ],
  45.     "id": null,
  46.     "title": "Docker and system monitoring",
  47.     "description": "A simple overview of the most important Docker host and container metrics. (cAdvisor/Prometheus)",
  48.     "tags": [],
  49.     "style": "dark",
  50.     "timezone": "browser",
  51.     "editable": true,
  52.     "sharedCrosshair": true,
  53.     "hideControls": false,
  54.     "time": {
  55.       "from": "now-24h",
  56.       "to": "now"
  57.     },
  58.     "timepicker": {
  59.       "refresh_intervals": [
  60.         "5s",
  61.         "10s",
  62.         "30s",
  63.         "1m",
  64.         "5m",
  65.         "15m",
  66.         "30m",
  67.         "1h",
  68.         "2h",
  69.         "1d"
  70.       ],
  71.       "time_options": [
  72.         "5m",
  73.         "15m",
  74.         "1h",
  75.         "6h",
  76.         "12h",
  77.         "24h",
  78.         "2d",
  79.         "7d",
  80.         "30d"
  81.       ]
  82.     },
  83.     "templating": {
  84.       "list": [
  85.         {
  86.           "allValue": ".+",
  87.           "current": {},
  88.           "datasource": "${DS_PROMETHEUS}",
  89.           "hide": 0,
  90.           "includeAll": true,
  91.           "label": "Container Group",
  92.           "multi": true,
  93.           "name": "containergroup",
  94.           "options": [],
  95.           "query": "label_values(container_group)",
  96.           "refresh": 1,
  97.           "regex": "",
  98.           "sort": 0,
  99.           "tagValuesQuery": null,
  100.           "tagsQuery": null,
  101.           "type": "query"
  102.         },
  103.         {
  104.           "auto": true,
  105.           "auto_count": 50,
  106.           "auto_min": "50s",
  107.           "current": {
  108.             "text": "auto",
  109.             "value": "$__auto_interval"
  110.           },
  111.           "datasource": null,
  112.           "hide": 0,
  113.           "includeAll": false,
  114.           "label": "Interval",
  115.           "multi": false,
  116.           "name": "interval",
  117.           "options": [
  118.             {
  119.               "text": "auto",
  120.               "value": "$__auto_interval",
  121.               "selected": true
  122.             },
  123.             {
  124.               "text": "30s",
  125.               "value": "30s",
  126.               "selected": false
  127.             },
  128.             {
  129.               "text": "1m",
  130.               "value": "1m",
  131.               "selected": false
  132.             },
  133.             {
  134.               "text": "2m",
  135.               "value": "2m",
  136.               "selected": false
  137.             },
  138.             {
  139.               "text": "3m",
  140.               "value": "3m",
  141.               "selected": false
  142.             },
  143.             {
  144.               "text": "5m",
  145.               "value": "5m",
  146.               "selected": false
  147.             },
  148.             {
  149.               "text": "7m",
  150.               "value": "7m",
  151.               "selected": false
  152.             },
  153.             {
  154.               "text": "10m",
  155.               "value": "10m",
  156.               "selected": false
  157.             },
  158.             {
  159.               "text": "30m",
  160.               "value": "30m",
  161.               "selected": false
  162.             },
  163.             {
  164.               "text": "1h",
  165.               "value": "1h",
  166.               "selected": false
  167.             },
  168.             {
  169.               "text": "6h",
  170.               "value": "6h",
  171.               "selected": false
  172.             },
  173.             {
  174.               "text": "12h",
  175.               "value": "12h",
  176.               "selected": false
  177.             },
  178.             {
  179.               "text": "1d",
  180.               "value": "1d",
  181.               "selected": false
  182.             },
  183.             {
  184.               "text": "7d",
  185.               "value": "7d",
  186.               "selected": false
  187.             },
  188.             {
  189.               "text": "14d",
  190.               "value": "14d",
  191.               "selected": false
  192.             },
  193.             {
  194.               "text": "30d",
  195.               "value": "30d",
  196.               "selected": false
  197.             }
  198.           ],
  199.           "query": "30s,1m,2m,3m,5m,7m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
  200.           "refresh": 2,
  201.           "type": "interval"
  202.         },
  203.         {
  204.           "allValue": null,
  205.           "current": {},
  206.           "datasource": "${DS_PROMETHEUS}",
  207.           "hide": 0,
  208.           "includeAll": false,
  209.           "label": "Node",
  210.           "multi": true,
  211.           "name": "server",
  212.           "options": [],
  213.           "query": "label_values(node_boot_time, instance)",
  214.           "refresh": 1,
  215.           "regex": "/([^:]+):.*/",
  216.           "sort": 0,
  217.           "tagValuesQuery": null,
  218.           "tagsQuery": null,
  219.           "type": "query"
  220.         }
  221.       ]
  222.     },
  223.     "annotations": {
  224.       "list": []
  225.     },
  226.     "refresh": "5m",
  227.     "schemaVersion": 13,
  228.     "version": 57,
  229.     "links": [],
  230.     "gnetId": 893,
  231.     "rows": [
  232.       {
  233.         "title": "Dashboard Row",
  234.         "panels": [
  235.           {
  236.             "cacheTimeout": null,
  237.             "colorBackground": false,
  238.             "colorValue": false,
  239.             "colors": [
  240.               "rgba(245, 54, 54, 0.9)",
  241.               "rgba(237, 129, 40, 0.89)",
  242.               "rgba(50, 172, 45, 0.97)"
  243.             ],
  244.             "datasource": "${DS_PROMETHEUS}",
  245.             "decimals": 0,
  246.             "editable": true,
  247.             "error": false,
  248.             "format": "s",
  249.             "gauge": {
  250.               "maxValue": 100,
  251.               "minValue": 0,
  252.               "show": false,
  253.               "thresholdLabels": false,
  254.               "thresholdMarkers": true
  255.             },
  256.             "height": "",
  257.             "id": 24,
  258.             "interval": null,
  259.             "links": [],
  260.             "mappingType": 1,
  261.             "mappingTypes": [
  262.               {
  263.                 "name": "value to text",
  264.                 "value": 1
  265.               },
  266.               {
  267.                 "name": "range to text",
  268.                 "value": 2
  269.               }
  270.             ],
  271.             "maxDataPoints": 100,
  272.             "nullPointMode": "connected",
  273.             "nullText": null,
  274.             "postfix": "",
  275.             "postfixFontSize": "30%",
  276.             "prefix": "",
  277.             "prefixFontSize": "20%",
  278.             "rangeMaps": [
  279.               {
  280.                 "from": "null",
  281.                 "text": "N/A",
  282.                 "to": "null"
  283.               }
  284.             ],
  285.             "span": 2,
  286.             "sparkline": {
  287.               "fillColor": "rgba(31, 118, 189, 0.18)",
  288.               "full": false,
  289.               "lineColor": "rgb(31, 120, 193)",
  290.               "show": false
  291.             },
  292.             "targets": [
  293.               {
  294.                 "expr": "time() - node_boot_time{instance=~\"$server:.*\"}",
  295.                 "hide": false,
  296.                 "intervalFactor": 2,
  297.                 "legendFormat": "",
  298.                 "refId": "A",
  299.                 "step": 1800
  300.               }
  301.             ],
  302.             "thresholds": "",
  303.             "title": "Uptime",
  304.             "type": "singlestat",
  305.             "valueFontSize": "80%",
  306.             "valueMaps": [
  307.               {
  308.                 "op": "=",
  309.                 "text": "N/A",
  310.                 "value": "null"
  311.               }
  312.             ],
  313.             "valueName": "current"
  314.           },
  315.           {
  316.             "cacheTimeout": null,
  317.             "colorBackground": false,
  318.             "colorValue": false,
  319.             "colors": [
  320.               "rgba(245, 54, 54, 0.9)",
  321.               "rgba(237, 129, 40, 0.89)",
  322.               "rgba(50, 172, 45, 0.97)"
  323.             ],
  324.             "datasource": "${DS_PROMETHEUS}",
  325.             "editable": true,
  326.             "error": false,
  327.             "format": "none",
  328.             "gauge": {
  329.               "maxValue": 100,
  330.               "minValue": 0,
  331.               "show": false,
  332.               "thresholdLabels": false,
  333.               "thresholdMarkers": true
  334.             },
  335.             "id": 31,
  336.             "interval": null,
  337.             "links": [],
  338.             "mappingType": 1,
  339.             "mappingTypes": [
  340.               {
  341.                 "name": "value to text",
  342.                 "value": 1
  343.               },
  344.               {
  345.                 "name": "range to text",
  346.                 "value": 2
  347.               }
  348.             ],
  349.             "maxDataPoints": 100,
  350.             "nullPointMode": "connected",
  351.             "nullText": null,
  352.             "postfix": "",
  353.             "postfixFontSize": "50%",
  354.             "prefix": "",
  355.             "prefixFontSize": "50%",
  356.             "rangeMaps": [
  357.               {
  358.                 "from": "null",
  359.                 "text": "N/A",
  360.                 "to": "null"
  361.               }
  362.             ],
  363.             "span": 2,
  364.             "sparkline": {
  365.               "fillColor": "rgba(31, 118, 189, 0.18)",
  366.               "full": false,
  367.               "lineColor": "rgb(31, 120, 193)",
  368.               "show": false
  369.             },
  370.             "targets": [
  371.               {
  372.                 "expr": "count(rate(container_last_seen{name=~\".+\"}[$interval]))",
  373.                 "intervalFactor": 2,
  374.                 "refId": "A",
  375.                 "step": 1800
  376.               }
  377.             ],
  378.             "thresholds": "",
  379.             "title": "Containers",
  380.             "type": "singlestat",
  381.             "valueFontSize": "120%",
  382.             "valueMaps": [
  383.               {
  384.                 "op": "=",
  385.                 "text": "N/A",
  386.                 "value": "null"
  387.               }
  388.             ],
  389.             "valueName": "current"
  390.           },
  391.           {
  392.             "cacheTimeout": null,
  393.             "colorBackground": false,
  394.             "colorValue": false,
  395.             "colors": [
  396.               "rgba(50, 172, 45, 0.97)",
  397.               "rgba(237, 129, 40, 0.89)",
  398.               "rgba(245, 54, 54, 0.9)"
  399.             ],
  400.             "datasource": "${DS_PROMETHEUS}",
  401.             "decimals": 1,
  402.             "editable": true,
  403.             "error": false,
  404.             "format": "percentunit",
  405.             "gauge": {
  406.               "maxValue": 1,
  407.               "minValue": 0,
  408.               "show": true,
  409.               "thresholdLabels": false,
  410.               "thresholdMarkers": true
  411.             },
  412.             "id": 26,
  413.             "interval": null,
  414.             "links": [],
  415.             "mappingType": 1,
  416.             "mappingTypes": [
  417.               {
  418.                 "name": "value to text",
  419.                 "value": 1
  420.               },
  421.               {
  422.                 "name": "range to text",
  423.                 "value": 2
  424.               }
  425.             ],
  426.             "maxDataPoints": 100,
  427.             "nullPointMode": "connected",
  428.             "nullText": null,
  429.             "postfix": "",
  430.             "postfixFontSize": "50%",
  431.             "prefix": "",
  432.             "prefixFontSize": "50%",
  433.             "rangeMaps": [
  434.               {
  435.                 "from": "null",
  436.                 "text": "N/A",
  437.                 "to": "null"
  438.               }
  439.             ],
  440.             "span": 2,
  441.             "sparkline": {
  442.               "fillColor": "rgba(31, 118, 189, 0.18)",
  443.               "full": false,
  444.               "lineColor": "rgb(31, 120, 193)",
  445.               "show": false
  446.             },
  447.             "targets": [
  448.               {
  449.                 "expr": "min((node_filesystem_size{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"} - node_filesystem_free{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"} )/ node_filesystem_size{fstype=~\"xfs|ext4\",instance=~\"$server:.*\"})",
  450.                 "hide": false,
  451.                 "intervalFactor": 2,
  452.                 "refId": "A",
  453.                 "step": 1800
  454.               }
  455.             ],
  456.             "thresholds": "0.75, 0.90",
  457.             "title": "Disk space",
  458.             "type": "singlestat",
  459.             "valueFontSize": "80%",
  460.             "valueMaps": [
  461.               {
  462.                 "op": "=",
  463.                 "text": "N/A",
  464.                 "value": "null"
  465.               }
  466.             ],
  467.             "valueName": "current"
  468.           },
  469.           {
  470.             "cacheTimeout": null,
  471.             "colorBackground": false,
  472.             "colorValue": false,
  473.             "colors": [
  474.               "rgba(50, 172, 45, 0.97)",
  475.               "rgba(237, 129, 40, 0.89)",
  476.               "rgba(245, 54, 54, 0.9)"
  477.             ],
  478.             "datasource": "${DS_PROMETHEUS}",
  479.             "decimals": 0,
  480.             "editable": true,
  481.             "error": false,
  482.             "format": "percent",
  483.             "gauge": {
  484.               "maxValue": 100,
  485.               "minValue": 0,
  486.               "show": true,
  487.               "thresholdLabels": false,
  488.               "thresholdMarkers": true
  489.             },
  490.             "id": 25,
  491.             "interval": null,
  492.             "links": [],
  493.             "mappingType": 1,
  494.             "mappingTypes": [
  495.               {
  496.                 "name": "value to text",
  497.                 "value": 1
  498.               },
  499.               {
  500.                 "name": "range to text",
  501.                 "value": 2
  502.               }
  503.             ],
  504.             "maxDataPoints": 100,
  505.             "nullPointMode": "connected",
  506.             "nullText": null,
  507.             "postfix": "",
  508.             "postfixFontSize": "50%",
  509.             "prefix": "",
  510.             "prefixFontSize": "50%",
  511.             "rangeMaps": [
  512.               {
  513.                 "from": "null",
  514.                 "text": "N/A",
  515.                 "to": "null"
  516.               }
  517.             ],
  518.             "span": 2,
  519.             "sparkline": {
  520.               "fillColor": "rgba(31, 118, 189, 0.18)",
  521.               "full": false,
  522.               "lineColor": "rgb(31, 120, 193)",
  523.               "show": false
  524.             },
  525.             "targets": [
  526.               {
  527.                 "expr": "((node_memory_MemTotal{instance=~\"$server:.*\"} - node_memory_MemAvailable{instance=~\"$server:.*\"}) / node_memory_MemTotal{instance=~\"$server:.*\"}) * 100",
  528.                 "intervalFactor": 2,
  529.                 "refId": "A",
  530.                 "step": 1800
  531.               }
  532.             ],
  533.             "thresholds": "70, 90",
  534.             "title": "Memory",
  535.             "type": "singlestat",
  536.             "valueFontSize": "80%",
  537.             "valueMaps": [
  538.               {
  539.                 "op": "=",
  540.                 "text": "N/A",
  541.                 "value": "null"
  542.               }
  543.             ],
  544.             "valueName": "current"
  545.           },
  546.           {
  547.             "cacheTimeout": null,
  548.             "colorBackground": false,
  549.             "colorValue": false,
  550.             "colors": [
  551.               "rgba(50, 172, 45, 0.97)",
  552.               "rgba(237, 129, 40, 0.89)",
  553.               "rgba(245, 54, 54, 0.9)"
  554.             ],
  555.             "datasource": "${DS_PROMETHEUS}",
  556.             "decimals": 0,
  557.             "editable": true,
  558.             "error": false,
  559.             "format": "decbytes",
  560.             "gauge": {
  561.               "maxValue": 500000000,
  562.               "minValue": 0,
  563.               "show": true,
  564.               "thresholdLabels": false,
  565.               "thresholdMarkers": true
  566.             },
  567.             "id": 30,
  568.             "interval": null,
  569.             "links": [],
  570.             "mappingType": 1,
  571.             "mappingTypes": [
  572.               {
  573.                 "name": "value to text",
  574.                 "value": 1
  575.               },
  576.               {
  577.                 "name": "range to text",
  578.                 "value": 2
  579.               }
  580.             ],
  581.             "maxDataPoints": 100,
  582.             "nullPointMode": "connected",
  583.             "nullText": null,
  584.             "postfix": "",
  585.             "postfixFontSize": "50%",
  586.             "prefix": "",
  587.             "prefixFontSize": "50%",
  588.             "rangeMaps": [
  589.               {
  590.                 "from": "null",
  591.                 "text": "N/A",
  592.                 "to": "null"
  593.               }
  594.             ],
  595.             "span": 2,
  596.             "sparkline": {
  597.               "fillColor": "rgba(31, 118, 189, 0.18)",
  598.               "full": false,
  599.               "lineColor": "rgb(31, 120, 193)",
  600.               "show": false
  601.             },
  602.             "targets": [
  603.               {
  604.                 "expr": "(node_memory_SwapTotal{instance=~'$server:.*'} - node_memory_SwapFree{instance=~'$server:.*'})",
  605.                 "intervalFactor": 2,
  606.                 "legendFormat": "",
  607.                 "refId": "A",
  608.                 "step": 1800
  609.               }
  610.             ],
  611.             "thresholds": "400000000",
  612.             "title": "Swap",
  613.             "type": "singlestat",
  614.             "valueFontSize": "80%",
  615.             "valueMaps": [
  616.               {
  617.                 "op": "=",
  618.                 "text": "N/A",
  619.                 "value": "null"
  620.               }
  621.             ],
  622.             "valueName": "current"
  623.           },
  624.           {
  625.             "cacheTimeout": null,
  626.             "colorBackground": false,
  627.             "colorValue": false,
  628.             "colors": [
  629.               "rgba(245, 54, 54, 0.9)",
  630.               "rgba(237, 129, 40, 0.89)",
  631.               "rgba(50, 172, 45, 0.97)"
  632.             ],
  633.             "datasource": "${DS_PROMETHEUS}",
  634.             "decimals": 0,
  635.             "editable": true,
  636.             "error": false,
  637.             "format": "percentunit",
  638.             "gauge": {
  639.               "maxValue": 100,
  640.               "minValue": 0,
  641.               "show": false,
  642.               "thresholdLabels": false,
  643.               "thresholdMarkers": true
  644.             },
  645.             "id": 27,
  646.             "interval": null,
  647.             "links": [],
  648.             "mappingType": 1,
  649.             "mappingTypes": [
  650.               {
  651.                 "name": "value to text",
  652.                 "value": 1
  653.               },
  654.               {
  655.                 "name": "range to text",
  656.                 "value": 2
  657.               }
  658.             ],
  659.             "maxDataPoints": 100,
  660.             "nullPointMode": "connected",
  661.             "nullText": null,
  662.             "postfix": "",
  663.             "postfixFontSize": "50%",
  664.             "prefix": "",
  665.             "prefixFontSize": "50%",
  666.             "rangeMaps": [
  667.               {
  668.                 "from": "null",
  669.                 "text": "N/A",
  670.                 "to": "null"
  671.               }
  672.             ],
  673.             "span": 2,
  674.             "sparkline": {
  675.               "fillColor": "rgba(50, 189, 31, 0.18)",
  676.               "full": false,
  677.               "lineColor": "rgb(69, 193, 31)",
  678.               "show": true
  679.             },
  680.             "targets": [
  681.               {
  682.                 "expr": "node_load1{instance=~\"$server:.*\"} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{instance=~\"$server:.*\"}))",
  683.                 "intervalFactor": 2,
  684.                 "refId": "A",
  685.                 "step": 1800
  686.               }
  687.             ],
  688.             "thresholds": "0.8,0.9",
  689.             "title": "Load",
  690.             "type": "singlestat",
  691.             "valueFontSize": "80%",
  692.             "valueMaps": [
  693.               {
  694.                 "op": "=",
  695.                 "text": "N/A",
  696.                 "value": "null"
  697.               }
  698.             ],
  699.             "valueName": "avg"
  700.           }
  701.         ],
  702.         "showTitle": false,
  703.         "titleSize": "h6",
  704.         "height": 150,
  705.         "repeat": null,
  706.         "repeatRowId": null,
  707.         "repeatIteration": null,
  708.         "collapse": false
  709.       },
  710.       {
  711.         "title": "New row",
  712.         "panels": [
  713.           {
  714.             "aliasColors": {
  715.               "SENT": "#BF1B00"
  716.             },
  717.             "bars": false,
  718.             "datasource": "${DS_PROMETHEUS}",
  719.             "editable": true,
  720.             "error": false,
  721.             "fill": 1,
  722.             "grid": {},
  723.             "id": 19,
  724.             "legend": {
  725.               "avg": false,
  726.               "current": false,
  727.               "max": false,
  728.               "min": false,
  729.               "show": false,
  730.               "total": false,
  731.               "values": false
  732.             },
  733.             "lines": true,
  734.             "linewidth": 1,
  735.             "links": [],
  736.             "nullPointMode": "null as zero",
  737.             "percentage": false,
  738.             "pointradius": 1,
  739.             "points": false,
  740.             "renderer": "flot",
  741.             "seriesOverrides": [],
  742.             "span": 2,
  743.             "stack": false,
  744.             "steppedLine": false,
  745.             "targets": [
  746.               {
  747.                 "expr": "sum(rate(container_network_receive_bytes_total{id=\"/\"}[$interval])) by (id)",
  748.                 "intervalFactor": 2,
  749.                 "legendFormat": "RECEIVED",
  750.                 "refId": "A",
  751.                 "step": 600
  752.               },
  753.               {
  754.                 "expr": "- sum(rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])) by (id)",
  755.                 "hide": false,
  756.                 "intervalFactor": 2,
  757.                 "legendFormat": "SENT",
  758.                 "refId": "B",
  759.                 "step": 600
  760.               }
  761.             ],
  762.             "thresholds": [],
  763.             "timeFrom": null,
  764.             "timeShift": null,
  765.             "title": "Network Traffic",
  766.             "tooltip": {
  767.               "msResolution": true,
  768.               "shared": true,
  769.               "sort": 0,
  770.               "value_type": "cumulative"
  771.             },
  772.             "transparent": false,
  773.             "type": "graph",
  774.             "xaxis": {
  775.               "mode": "time",
  776.               "name": null,
  777.               "show": false,
  778.               "values": []
  779.             },
  780.             "yaxes": [
  781.               {
  782.                 "format": "bytes",
  783.                 "label": null,
  784.                 "logBase": 1,
  785.                 "max": null,
  786.                 "min": null,
  787.                 "show": true
  788.               },
  789.               {
  790.                 "format": "short",
  791.                 "label": null,
  792.                 "logBase": 1,
  793.                 "max": null,
  794.                 "min": null,
  795.                 "show": false
  796.               }
  797.             ]
  798.           },
  799.           {
  800.             "aliasColors": {
  801.               "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}": "#BA43A9"
  802.             },
  803.             "bars": false,
  804.             "datasource": "${DS_PROMETHEUS}",
  805.             "editable": true,
  806.             "error": false,
  807.             "fill": 1,
  808.             "grid": {},
  809.             "id": 5,
  810.             "legend": {
  811.               "avg": false,
  812.               "current": false,
  813.               "max": false,
  814.               "min": false,
  815.               "show": false,
  816.               "total": false,
  817.               "values": false
  818.             },
  819.             "lines": true,
  820.             "linewidth": 1,
  821.             "links": [],
  822.             "nullPointMode": "null as zero",
  823.             "percentage": false,
  824.             "pointradius": 5,
  825.             "points": false,
  826.             "renderer": "flot",
  827.             "seriesOverrides": [],
  828.             "span": 2,
  829.             "stack": true,
  830.             "steppedLine": false,
  831.             "targets": [
  832.               {
  833.                 "expr": "sum(rate(container_cpu_system_seconds_total[1m]))",
  834.                 "hide": true,
  835.                 "intervalFactor": 2,
  836.                 "legendFormat": "a",
  837.                 "refId": "B",
  838.                 "step": 120
  839.               },
  840.               {
  841.                 "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))",
  842.                 "hide": true,
  843.                 "interval": "",
  844.                 "intervalFactor": 2,
  845.                 "legendFormat": "nur container",
  846.                 "refId": "F",
  847.                 "step": 10
  848.               },
  849.               {
  850.                 "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))",
  851.                 "hide": true,
  852.                 "interval": "",
  853.                 "intervalFactor": 2,
  854.                 "legendFormat": "nur docker host",
  855.                 "metric": "",
  856.                 "refId": "A",
  857.                 "step": 20
  858.               },
  859.               {
  860.                 "expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
  861.                 "hide": false,
  862.                 "interval": "",
  863.                 "intervalFactor": 2,
  864.                 "legendFormat": "host",
  865.                 "metric": "",
  866.                 "refId": "C",
  867.                 "step": 600
  868.               },
  869.               {
  870.                 "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m])) + sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m])) + sum(rate(process_cpu_seconds_total[1m]))",
  871.                 "hide": true,
  872.                 "intervalFactor": 2,
  873.                 "legendFormat": "",
  874.                 "refId": "D",
  875.                 "step": 120
  876.               }
  877.             ],
  878.             "thresholds": [],
  879.             "timeFrom": null,
  880.             "timeShift": null,
  881.             "title": "CPU Usage",
  882.             "tooltip": {
  883.               "msResolution": true,
  884.               "shared": true,
  885.               "sort": 0,
  886.               "value_type": "cumulative"
  887.             },
  888.             "type": "graph",
  889.             "xaxis": {
  890.               "mode": "time",
  891.               "name": null,
  892.               "show": false,
  893.               "values": []
  894.             },
  895.             "yaxes": [
  896.               {
  897.                 "format": "percent",
  898.                 "label": "",
  899.                 "logBase": 1,
  900.                 "max": null,
  901.                 "min": null,
  902.                 "show": true
  903.               },
  904.               {
  905.                 "format": "short",
  906.                 "label": null,
  907.                 "logBase": 1,
  908.                 "max": null,
  909.                 "min": null,
  910.                 "show": false
  911.               }
  912.             ]
  913.           },
  914.           {
  915.             "alert": {
  916.               "conditions": [
  917.                 {
  918.                   "evaluator": {
  919.                     "params": [
  920.                       1.25
  921.                     ],
  922.                     "type": "gt"
  923.                   },
  924.                   "query": {
  925.                     "params": [
  926.                       "A",
  927.                       "5m",
  928.                       "now"
  929.                     ]
  930.                   },
  931.                   "reducer": {
  932.                     "params": [],
  933.                     "type": "avg"
  934.                   },
  935.                   "type": "query"
  936.                 }
  937.               ],
  938.               "executionErrorState": "alerting",
  939.               "frequency": "60s",
  940.               "handler": 1,
  941.               "name": "Panel Title alert",
  942.               "noDataState": "keep_state",
  943.               "notifications": [
  944.                 {
  945.                   "id": 1
  946.                 }
  947.               ]
  948.             },
  949.             "aliasColors": {},
  950.             "bars": false,
  951.             "datasource": "${DS_PROMETHEUS}",
  952.             "decimals": 0,
  953.             "editable": true,
  954.             "error": false,
  955.             "fill": 1,
  956.             "id": 28,
  957.             "legend": {
  958.               "avg": false,
  959.               "current": false,
  960.               "max": false,
  961.               "min": false,
  962.               "show": false,
  963.               "total": false,
  964.               "values": false
  965.             },
  966.             "lines": true,
  967.             "linewidth": 1,
  968.             "links": [],
  969.             "nullPointMode": "connected",
  970.             "percentage": false,
  971.             "pointradius": 5,
  972.             "points": false,
  973.             "renderer": "flot",
  974.             "seriesOverrides": [],
  975.             "span": 2,
  976.             "stack": false,
  977.             "steppedLine": false,
  978.             "targets": [
  979.               {
  980.                 "expr": "node_load1{instance=~\"$server:.*\"} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{instance=~\"$server:.*\"}))",
  981.                 "intervalFactor": 2,
  982.                 "refId": "A",
  983.                 "step": 600
  984.               }
  985.             ],
  986.             "thresholds": [
  987.               {
  988.                 "colorMode": "critical",
  989.                 "fill": true,
  990.                 "line": true,
  991.                 "op": "gt",
  992.                 "value": 1.25
  993.               }
  994.             ],
  995.             "timeFrom": null,
  996.             "timeShift": null,
  997.             "title": "Load",
  998.             "tooltip": {
  999.               "msResolution": false,
  1000.               "shared": true,
  1001.               "sort": 0,
  1002.               "value_type": "individual"
  1003.             },
  1004.             "type": "graph",
  1005.             "xaxis": {
  1006.               "mode": "time",
  1007.               "name": null,
  1008.               "show": false,
  1009.               "values": []
  1010.             },
  1011.             "yaxes": [
  1012.               {
  1013.                 "format": "percentunit",
  1014.                 "label": null,
  1015.                 "logBase": 1,
  1016.                 "max": "1.50",
  1017.                 "min": null,
  1018.                 "show": true
  1019.               },
  1020.               {
  1021.                 "format": "short",
  1022.                 "label": null,
  1023.                 "logBase": 1,
  1024.                 "max": null,
  1025.                 "min": null,
  1026.                 "show": false
  1027.               }
  1028.             ]
  1029.           },
  1030.           {
  1031.             "alert": {
  1032.               "conditions": [
  1033.                 {
  1034.                   "evaluator": {
  1035.                     "params": [
  1036.                       850000000000
  1037.                     ],
  1038.                     "type": "gt"
  1039.                   },
  1040.                   "query": {
  1041.                     "params": [
  1042.                       "A",
  1043.                       "5m",
  1044.                       "now"
  1045.                     ]
  1046.                   },
  1047.                   "reducer": {
  1048.                     "params": [],
  1049.                     "type": "avg"
  1050.                   },
  1051.                   "type": "query"
  1052.                 }
  1053.               ],
  1054.               "executionErrorState": "alerting",
  1055.               "frequency": "60s",
  1056.               "handler": 1,
  1057.               "name": "Free/Used Disk Space alert",
  1058.               "noDataState": "keep_state",
  1059.               "notifications": [
  1060.                 {
  1061.                   "id": 1
  1062.                 }
  1063.               ]
  1064.             },
  1065.             "aliasColors": {
  1066.               "Belegete Festplatte": "#BF1B00",
  1067.               "Free Disk Space": "#7EB26D",
  1068.               "Used Disk Space": "#7EB26D",
  1069.               "{}": "#BF1B00"
  1070.             },
  1071.             "bars": false,
  1072.             "datasource": "${DS_PROMETHEUS}",
  1073.             "editable": true,
  1074.             "error": false,
  1075.             "fill": 1,
  1076.             "grid": {},
  1077.             "id": 13,
  1078.             "legend": {
  1079.               "avg": false,
  1080.               "current": false,
  1081.               "max": false,
  1082.               "min": false,
  1083.               "show": false,
  1084.               "total": false,
  1085.               "values": false
  1086.             },
  1087.             "lines": true,
  1088.             "linewidth": 1,
  1089.             "links": [],
  1090.             "nullPointMode": "null as zero",
  1091.             "percentage": false,
  1092.             "pointradius": 5,
  1093.             "points": false,
  1094.             "renderer": "flot",
  1095.             "seriesOverrides": [
  1096.               {
  1097.                 "alias": "Used Disk Space",
  1098.                 "yaxis": 1
  1099.               }
  1100.             ],
  1101.             "span": 2,
  1102.             "stack": true,
  1103.             "steppedLine": false,
  1104.             "targets": [
  1105.               {
  1106.                 "expr": "node_filesystem_size{fstype=\"aufs\"} - node_filesystem_free{fstype=\"aufs\"}",
  1107.                 "hide": false,
  1108.                 "intervalFactor": 2,
  1109.                 "legendFormat": "Used Disk Space",
  1110.                 "refId": "A",
  1111.                 "step": 600
  1112.               }
  1113.             ],
  1114.             "thresholds": [
  1115.               {
  1116.                 "colorMode": "critical",
  1117.                 "fill": true,
  1118.                 "line": true,
  1119.                 "op": "gt",
  1120.                 "value": 850000000000
  1121.               }
  1122.             ],
  1123.             "timeFrom": null,
  1124.             "timeShift": null,
  1125.             "title": "Used Disk Space",
  1126.             "tooltip": {
  1127.               "msResolution": true,
  1128.               "shared": true,
  1129.               "sort": 0,
  1130.               "value_type": "individual"
  1131.             },
  1132.             "type": "graph",
  1133.             "xaxis": {
  1134.               "mode": "time",
  1135.               "name": null,
  1136.               "show": false,
  1137.               "values": []
  1138.             },
  1139.             "yaxes": [
  1140.               {
  1141.                 "format": "bytes",
  1142.                 "label": "",
  1143.                 "logBase": 1,
  1144.                 "max": 1000000000000,
  1145.                 "min": 0,
  1146.                 "show": true
  1147.               },
  1148.               {
  1149.                 "format": "short",
  1150.                 "label": null,
  1151.                 "logBase": 1,
  1152.                 "max": null,
  1153.                 "min": null,
  1154.                 "show": false
  1155.               }
  1156.             ]
  1157.           },
  1158.           {
  1159.             "alert": {
  1160.               "conditions": [
  1161.                 {
  1162.                   "evaluator": {
  1163.                     "params": [
  1164.                       10000000000
  1165.                     ],
  1166.                     "type": "gt"
  1167.                   },
  1168.                   "query": {
  1169.                     "params": [
  1170.                       "A",
  1171.                       "5m",
  1172.                       "now"
  1173.                     ]
  1174.                   },
  1175.                   "reducer": {
  1176.                     "params": [],
  1177.                     "type": "avg"
  1178.                   },
  1179.                   "type": "query"
  1180.                 }
  1181.               ],
  1182.               "executionErrorState": "alerting",
  1183.               "frequency": "60s",
  1184.               "handler": 1,
  1185.               "name": "Available Memory alert",
  1186.               "noDataState": "keep_state",
  1187.               "notifications": [
  1188.                 {
  1189.                   "id": 1
  1190.                 }
  1191.               ]
  1192.             },
  1193.             "aliasColors": {
  1194.               "Available Memory": "#7EB26D",
  1195.               "Unavailable Memory": "#7EB26D"
  1196.             },
  1197.             "bars": false,
  1198.             "datasource": "${DS_PROMETHEUS}",
  1199.             "editable": true,
  1200.             "error": false,
  1201.             "fill": 1,
  1202.             "grid": {},
  1203.             "id": 20,
  1204.             "legend": {
  1205.               "avg": false,
  1206.               "current": false,
  1207.               "max": false,
  1208.               "min": false,
  1209.               "show": false,
  1210.               "total": false,
  1211.               "values": false
  1212.             },
  1213.             "lines": true,
  1214.             "linewidth": 1,
  1215.             "links": [],
  1216.             "nullPointMode": "null as zero",
  1217.             "percentage": false,
  1218.             "pointradius": 5,
  1219.             "points": false,
  1220.             "renderer": "flot",
  1221.             "seriesOverrides": [],
  1222.             "span": 2,
  1223.             "stack": true,
  1224.             "steppedLine": false,
  1225.             "targets": [
  1226.               {
  1227.                 "expr": "container_memory_rss{name=~\".+\"}",
  1228.                 "hide": true,
  1229.                 "intervalFactor": 2,
  1230.                 "legendFormat": "{{__name__}}",
  1231.                 "refId": "D",
  1232.                 "step": 20
  1233.               },
  1234.               {
  1235.                 "expr": "sum(container_memory_rss{name=~\".+\"})",
  1236.                 "hide": true,
  1237.                 "intervalFactor": 2,
  1238.                 "legendFormat": "{{__name__}}",
  1239.                 "refId": "A",
  1240.                 "step": 20
  1241.               },
  1242.               {
  1243.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  1244.                 "hide": true,
  1245.                 "intervalFactor": 2,
  1246.                 "legendFormat": "{{name}}",
  1247.                 "refId": "B",
  1248.                 "step": 20
  1249.               },
  1250.               {
  1251.                 "expr": "container_memory_rss{id=\"/\"}",
  1252.                 "hide": true,
  1253.                 "intervalFactor": 2,
  1254.                 "legendFormat": "{{__name__}}",
  1255.                 "refId": "C",
  1256.                 "step": 20
  1257.               },
  1258.               {
  1259.                 "expr": "sum(container_memory_rss)",
  1260.                 "hide": true,
  1261.                 "intervalFactor": 2,
  1262.                 "legendFormat": "{{__name__}}",
  1263.                 "refId": "E",
  1264.                 "step": 20
  1265.               },
  1266.               {
  1267.                 "expr": "node_memory_Buffers",
  1268.                 "hide": true,
  1269.                 "intervalFactor": 2,
  1270.                 "legendFormat": "node_memory_Dirty",
  1271.                 "refId": "N",
  1272.                 "step": 30
  1273.               },
  1274.               {
  1275.                 "expr": "node_memory_MemFree",
  1276.                 "hide": true,
  1277.                 "intervalFactor": 2,
  1278.                 "legendFormat": "{{__name__}}",
  1279.                 "refId": "F",
  1280.                 "step": 20
  1281.               },
  1282.               {
  1283.                 "expr": "node_memory_MemAvailable",
  1284.                 "hide": true,
  1285.                 "intervalFactor": 2,
  1286.                 "legendFormat": "Available Memory",
  1287.                 "refId": "H",
  1288.                 "step": 20
  1289.               },
  1290.               {
  1291.                 "expr": "node_memory_MemTotal - node_memory_MemAvailable",
  1292.                 "hide": false,
  1293.                 "intervalFactor": 2,
  1294.                 "legendFormat": "Unavailable Memory",
  1295.                 "refId": "G",
  1296.                 "step": 600
  1297.               },
  1298.               {
  1299.                 "expr": "node_memory_Inactive",
  1300.                 "hide": true,
  1301.                 "intervalFactor": 2,
  1302.                 "legendFormat": "{{__name__}}",
  1303.                 "refId": "I",
  1304.                 "step": 30
  1305.               },
  1306.               {
  1307.                 "expr": "node_memory_KernelStack",
  1308.                 "hide": true,
  1309.                 "intervalFactor": 2,
  1310.                 "legendFormat": "{{__name__}}",
  1311.                 "refId": "J",
  1312.                 "step": 30
  1313.               },
  1314.               {
  1315.                 "expr": "node_memory_Active",
  1316.                 "hide": true,
  1317.                 "intervalFactor": 2,
  1318.                 "legendFormat": "{{__name__}}",
  1319.                 "refId": "K",
  1320.                 "step": 30
  1321.               },
  1322.               {
  1323.                 "expr": "node_memory_MemTotal - (node_memory_Active + node_memory_MemFree + node_memory_Inactive)",
  1324.                 "hide": true,
  1325.                 "intervalFactor": 2,
  1326.                 "legendFormat": "Unknown",
  1327.                 "refId": "L",
  1328.                 "step": 40
  1329.               },
  1330.               {
  1331.                 "expr": "node_memory_MemFree + node_memory_Inactive ",
  1332.                 "hide": true,
  1333.                 "intervalFactor": 2,
  1334.                 "legendFormat": "{{__name__}}",
  1335.                 "refId": "M",
  1336.                 "step": 30
  1337.               },
  1338.               {
  1339.                 "expr": "container_memory_rss{name=~\".+\"}",
  1340.                 "hide": true,
  1341.                 "intervalFactor": 2,
  1342.                 "legendFormat": "{{__name__}}",
  1343.                 "refId": "O",
  1344.                 "step": 30
  1345.               },
  1346.               {
  1347.                 "expr": "node_memory_Inactive + node_memory_MemFree + node_memory_MemAvailable",
  1348.                 "hide": true,
  1349.                 "intervalFactor": 2,
  1350.                 "legendFormat": "",
  1351.                 "refId": "P",
  1352.                 "step": 40
  1353.               }
  1354.             ],
  1355.             "thresholds": [
  1356.               {
  1357.                 "colorMode": "critical",
  1358.                 "fill": true,
  1359.                 "line": true,
  1360.                 "op": "gt",
  1361.                 "value": 10000000000
  1362.               }
  1363.             ],
  1364.             "timeFrom": null,
  1365.             "timeShift": null,
  1366.             "title": "Available Memory",
  1367.             "tooltip": {
  1368.               "msResolution": true,
  1369.               "shared": true,
  1370.               "sort": 0,
  1371.               "value_type": "individual"
  1372.             },
  1373.             "type": "graph",
  1374.             "xaxis": {
  1375.               "mode": "time",
  1376.               "name": null,
  1377.               "show": false,
  1378.               "values": []
  1379.             },
  1380.             "yaxes": [
  1381.               {
  1382.                 "format": "bytes",
  1383.                 "label": "",
  1384.                 "logBase": 1,
  1385.                 "max": 16000000000,
  1386.                 "min": 0,
  1387.                 "show": true
  1388.               },
  1389.               {
  1390.                 "format": "short",
  1391.                 "label": null,
  1392.                 "logBase": 1,
  1393.                 "max": null,
  1394.                 "min": null,
  1395.                 "show": false
  1396.               }
  1397.             ]
  1398.           },
  1399.           {
  1400.             "aliasColors": {
  1401.               "IN on /sda": "#7EB26D",
  1402.               "OUT on /sda": "#890F02"
  1403.             },
  1404.             "bars": false,
  1405.             "datasource": "${DS_PROMETHEUS}",
  1406.             "editable": true,
  1407.             "error": false,
  1408.             "fill": 1,
  1409.             "grid": {},
  1410.             "id": 3,
  1411.             "legend": {
  1412.               "avg": false,
  1413.               "current": false,
  1414.               "max": false,
  1415.               "min": false,
  1416.               "show": false,
  1417.               "total": false,
  1418.               "values": false
  1419.             },
  1420.             "lines": true,
  1421.             "linewidth": 1,
  1422.             "links": [],
  1423.             "nullPointMode": "null as zero",
  1424.             "percentage": false,
  1425.             "pointradius": 5,
  1426.             "points": false,
  1427.             "renderer": "flot",
  1428.             "seriesOverrides": [],
  1429.             "span": 2,
  1430.             "stack": false,
  1431.             "steppedLine": false,
  1432.             "targets": [
  1433.               {
  1434.                 "expr": "-sum(rate(node_disk_bytes_read[$interval])) by (device)",
  1435.                 "hide": false,
  1436.                 "intervalFactor": 2,
  1437.                 "legendFormat": "OUT on /{{device}}",
  1438.                 "metric": "node_disk_bytes_read",
  1439.                 "refId": "A",
  1440.                 "step": 600
  1441.               },
  1442.               {
  1443.                 "expr": "sum(rate(node_disk_bytes_written[$interval])) by (device)",
  1444.                 "intervalFactor": 2,
  1445.                 "legendFormat": "IN on /{{device}}",
  1446.                 "metric": "",
  1447.                 "refId": "B",
  1448.                 "step": 600
  1449.               }
  1450.             ],
  1451.             "thresholds": [],
  1452.             "timeFrom": null,
  1453.             "timeShift": null,
  1454.             "title": "Disk I/O",
  1455.             "tooltip": {
  1456.               "msResolution": true,
  1457.               "shared": true,
  1458.               "sort": 0,
  1459.               "value_type": "cumulative"
  1460.             },
  1461.             "type": "graph",
  1462.             "xaxis": {
  1463.               "mode": "time",
  1464.               "name": null,
  1465.               "show": false,
  1466.               "values": []
  1467.             },
  1468.             "yaxes": [
  1469.               {
  1470.                 "format": "Bps",
  1471.                 "label": null,
  1472.                 "logBase": 1,
  1473.                 "max": null,
  1474.                 "min": null,
  1475.                 "show": true
  1476.               },
  1477.               {
  1478.                 "format": "short",
  1479.                 "label": null,
  1480.                 "logBase": 1,
  1481.                 "max": null,
  1482.                 "min": null,
  1483.                 "show": false
  1484.               }
  1485.             ]
  1486.           }
  1487.         ],
  1488.         "showTitle": false,
  1489.         "titleSize": "h6",
  1490.         "height": 202,
  1491.         "repeat": null,
  1492.         "repeatRowId": null,
  1493.         "repeatIteration": null,
  1494.         "collapse": false
  1495.       },
  1496.       {
  1497.         "title": "New row",
  1498.         "panels": [
  1499.           {
  1500.             "aliasColors": {},
  1501.             "bars": false,
  1502.             "datasource": "${DS_PROMETHEUS}",
  1503.             "editable": true,
  1504.             "error": false,
  1505.             "fill": 1,
  1506.             "grid": {},
  1507.             "id": 8,
  1508.             "legend": {
  1509.               "alignAsTable": true,
  1510.               "avg": false,
  1511.               "current": false,
  1512.               "max": false,
  1513.               "min": false,
  1514.               "rightSide": true,
  1515.               "show": true,
  1516.               "total": false,
  1517.               "values": false
  1518.             },
  1519.             "lines": true,
  1520.             "linewidth": 2,
  1521.             "links": [],
  1522.             "nullPointMode": "null as zero",
  1523.             "percentage": false,
  1524.             "pointradius": 5,
  1525.             "points": false,
  1526.             "renderer": "flot",
  1527.             "seriesOverrides": [],
  1528.             "span": 6,
  1529.             "stack": false,
  1530.             "steppedLine": false,
  1531.             "targets": [
  1532.               {
  1533.                 "expr": "sum(rate(container_network_receive_bytes_total{name=~\".+\"}[$interval])) by (name)",
  1534.                 "intervalFactor": 2,
  1535.                 "legendFormat": "{{name}}",
  1536.                 "refId": "A",
  1537.                 "step": 240
  1538.               },
  1539.               {
  1540.                 "expr": "- rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])",
  1541.                 "hide": true,
  1542.                 "intervalFactor": 2,
  1543.                 "legendFormat": "{{name}}",
  1544.                 "refId": "B",
  1545.                 "step": 10
  1546.               }
  1547.             ],
  1548.             "thresholds": [],
  1549.             "timeFrom": null,
  1550.             "timeShift": null,
  1551.             "title": "Received Network Traffic per Container",
  1552.             "tooltip": {
  1553.               "msResolution": true,
  1554.               "shared": true,
  1555.               "sort": 0,
  1556.               "value_type": "cumulative"
  1557.             },
  1558.             "transparent": false,
  1559.             "type": "graph",
  1560.             "xaxis": {
  1561.               "mode": "time",
  1562.               "name": null,
  1563.               "show": true,
  1564.               "values": []
  1565.             },
  1566.             "yaxes": [
  1567.               {
  1568.                 "format": "Bps",
  1569.                 "label": null,
  1570.                 "logBase": 1,
  1571.                 "max": null,
  1572.                 "min": null,
  1573.                 "show": true
  1574.               },
  1575.               {
  1576.                 "format": "short",
  1577.                 "label": null,
  1578.                 "logBase": 1,
  1579.                 "max": null,
  1580.                 "min": null,
  1581.                 "show": true
  1582.               }
  1583.             ]
  1584.           },
  1585.           {
  1586.             "aliasColors": {},
  1587.             "bars": false,
  1588.             "datasource": "${DS_PROMETHEUS}",
  1589.             "editable": true,
  1590.             "error": false,
  1591.             "fill": 1,
  1592.             "grid": {},
  1593.             "id": 9,
  1594.             "legend": {
  1595.               "alignAsTable": true,
  1596.               "avg": false,
  1597.               "current": false,
  1598.               "hideEmpty": false,
  1599.               "hideZero": false,
  1600.               "max": false,
  1601.               "min": false,
  1602.               "rightSide": true,
  1603.               "show": true,
  1604.               "total": false,
  1605.               "values": false
  1606.             },
  1607.             "lines": true,
  1608.             "linewidth": 2,
  1609.             "links": [],
  1610.             "nullPointMode": "null as zero",
  1611.             "percentage": false,
  1612.             "pointradius": 5,
  1613.             "points": false,
  1614.             "renderer": "flot",
  1615.             "seriesOverrides": [],
  1616.             "span": 6,
  1617.             "stack": false,
  1618.             "steppedLine": false,
  1619.             "targets": [
  1620.               {
  1621.                 "expr": "sum(rate(container_network_transmit_bytes_total{name=~\".+\"}[$interval])) by (name)",
  1622.                 "intervalFactor": 2,
  1623.                 "legendFormat": "{{name}}",
  1624.                 "refId": "A",
  1625.                 "step": 240
  1626.               },
  1627.               {
  1628.                 "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])",
  1629.                 "hide": true,
  1630.                 "intervalFactor": 2,
  1631.                 "legendFormat": "",
  1632.                 "refId": "B",
  1633.                 "step": 10
  1634.               }
  1635.             ],
  1636.             "thresholds": [],
  1637.             "timeFrom": null,
  1638.             "timeShift": null,
  1639.             "title": "Sent Network Traffic per Container",
  1640.             "tooltip": {
  1641.               "msResolution": true,
  1642.               "shared": true,
  1643.               "sort": 0,
  1644.               "value_type": "cumulative"
  1645.             },
  1646.             "transparent": false,
  1647.             "type": "graph",
  1648.             "xaxis": {
  1649.               "mode": "time",
  1650.               "name": null,
  1651.               "show": true,
  1652.               "values": []
  1653.             },
  1654.             "yaxes": [
  1655.               {
  1656.                 "format": "Bps",
  1657.                 "label": "",
  1658.                 "logBase": 1,
  1659.                 "max": null,
  1660.                 "min": null,
  1661.                 "show": true
  1662.               },
  1663.               {
  1664.                 "format": "short",
  1665.                 "label": "",
  1666.                 "logBase": 10,
  1667.                 "max": 8,
  1668.                 "min": 0,
  1669.                 "show": false
  1670.               }
  1671.             ]
  1672.           }
  1673.         ],
  1674.         "showTitle": false,
  1675.         "titleSize": "h6",
  1676.         "height": 251,
  1677.         "repeat": null,
  1678.         "repeatRowId": null,
  1679.         "repeatIteration": null,
  1680.         "collapse": false
  1681.       },
  1682.       {
  1683.         "title": "Row",
  1684.         "panels": [
  1685.           {
  1686.             "aliasColors": {},
  1687.             "bars": false,
  1688.             "datasource": "${DS_PROMETHEUS}",
  1689.             "editable": true,
  1690.             "error": false,
  1691.             "fill": 5,
  1692.             "grid": {},
  1693.             "id": 1,
  1694.             "legend": {
  1695.               "alignAsTable": true,
  1696.               "avg": false,
  1697.               "current": false,
  1698.               "max": false,
  1699.               "min": false,
  1700.               "rightSide": true,
  1701.               "show": true,
  1702.               "total": false,
  1703.               "values": false
  1704.             },
  1705.             "lines": true,
  1706.             "linewidth": 1,
  1707.             "links": [],
  1708.             "nullPointMode": "null as zero",
  1709.             "percentage": false,
  1710.             "pointradius": 5,
  1711.             "points": false,
  1712.             "renderer": "flot",
  1713.             "seriesOverrides": [],
  1714.             "span": 6,
  1715.             "stack": true,
  1716.             "steppedLine": false,
  1717.             "targets": [
  1718.               {
  1719.                 "expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[$interval])) by (name) * 100",
  1720.                 "hide": false,
  1721.                 "interval": "",
  1722.                 "intervalFactor": 2,
  1723.                 "legendFormat": "{{name}}",
  1724.                 "metric": "",
  1725.                 "refId": "F",
  1726.                 "step": 240
  1727.               }
  1728.             ],
  1729.             "thresholds": [],
  1730.             "timeFrom": null,
  1731.             "timeShift": null,
  1732.             "title": "CPU Usage per Container",
  1733.             "tooltip": {
  1734.               "msResolution": true,
  1735.               "shared": true,
  1736.               "sort": 0,
  1737.               "value_type": "individual"
  1738.             },
  1739.             "type": "graph",
  1740.             "xaxis": {
  1741.               "mode": "time",
  1742.               "name": null,
  1743.               "show": true,
  1744.               "values": []
  1745.             },
  1746.             "yaxes": [
  1747.               {
  1748.                 "format": "percent",
  1749.                 "label": "",
  1750.                 "logBase": 1,
  1751.                 "max": null,
  1752.                 "show": true
  1753.               },
  1754.               {
  1755.                 "format": "short",
  1756.                 "label": null,
  1757.                 "logBase": 1,
  1758.                 "max": null,
  1759.                 "min": null,
  1760.                 "show": false
  1761.               }
  1762.             ]
  1763.           }
  1764.         ],
  1765.         "showTitle": false,
  1766.         "titleSize": "h6",
  1767.         "height": 247,
  1768.         "repeat": null,
  1769.         "repeatRowId": null,
  1770.         "repeatIteration": null,
  1771.         "collapse": false
  1772.       },
  1773.       {
  1774.         "title": "Dashboard Row",
  1775.         "panels": [
  1776.           {
  1777.             "aliasColors": {},
  1778.             "bars": false,
  1779.             "datasource": "${DS_PROMETHEUS}",
  1780.             "editable": true,
  1781.             "error": false,
  1782.             "fill": 3,
  1783.             "grid": {},
  1784.             "id": 10,
  1785.             "legend": {
  1786.               "alignAsTable": true,
  1787.               "avg": false,
  1788.               "current": false,
  1789.               "max": false,
  1790.               "min": false,
  1791.               "rightSide": true,
  1792.               "show": true,
  1793.               "total": false,
  1794.               "values": false
  1795.             },
  1796.             "lines": true,
  1797.             "linewidth": 2,
  1798.             "links": [],
  1799.             "nullPointMode": "null as zero",
  1800.             "percentage": false,
  1801.             "pointradius": 5,
  1802.             "points": false,
  1803.             "renderer": "flot",
  1804.             "seriesOverrides": [],
  1805.             "span": 6,
  1806.             "stack": true,
  1807.             "steppedLine": false,
  1808.             "targets": [
  1809.               {
  1810.                 "expr": "sum(container_memory_rss{name=~\".+\"}) by (name)",
  1811.                 "hide": false,
  1812.                 "intervalFactor": 2,
  1813.                 "legendFormat": "{{name}}",
  1814.                 "refId": "A",
  1815.                 "step": 240
  1816.               },
  1817.               {
  1818.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  1819.                 "hide": true,
  1820.                 "intervalFactor": 2,
  1821.                 "legendFormat": "{{name}}",
  1822.                 "refId": "B",
  1823.                 "step": 240
  1824.               }
  1825.             ],
  1826.             "thresholds": [],
  1827.             "timeFrom": null,
  1828.             "timeShift": null,
  1829.             "title": "Memory Usage per Container",
  1830.             "tooltip": {
  1831.               "msResolution": true,
  1832.               "shared": true,
  1833.               "sort": 0,
  1834.               "value_type": "individual"
  1835.             },
  1836.             "type": "graph",
  1837.             "xaxis": {
  1838.               "mode": "time",
  1839.               "name": null,
  1840.               "show": true,
  1841.               "values": []
  1842.             },
  1843.             "yaxes": [
  1844.               {
  1845.                 "format": "bytes",
  1846.                 "label": "",
  1847.                 "logBase": 1,
  1848.                 "max": null,
  1849.                 "min": null,
  1850.                 "show": true
  1851.               },
  1852.               {
  1853.                 "format": "short",
  1854.                 "label": null,
  1855.                 "logBase": 1,
  1856.                 "max": null,
  1857.                 "min": null,
  1858.                 "show": true
  1859.               }
  1860.             ]
  1861.           },
  1862.           {
  1863.             "aliasColors": {},
  1864.             "bars": false,
  1865.             "datasource": "${DS_PROMETHEUS}",
  1866.             "editable": true,
  1867.             "error": false,
  1868.             "fill": 3,
  1869.             "grid": {},
  1870.             "id": 34,
  1871.             "legend": {
  1872.               "alignAsTable": true,
  1873.               "avg": false,
  1874.               "current": false,
  1875.               "max": false,
  1876.               "min": false,
  1877.               "rightSide": true,
  1878.               "show": true,
  1879.               "total": false,
  1880.               "values": false
  1881.             },
  1882.             "lines": true,
  1883.             "linewidth": 2,
  1884.             "links": [],
  1885.             "nullPointMode": "null as zero",
  1886.             "percentage": false,
  1887.             "pointradius": 5,
  1888.             "points": false,
  1889.             "renderer": "flot",
  1890.             "seriesOverrides": [],
  1891.             "span": 6,
  1892.             "stack": true,
  1893.             "steppedLine": false,
  1894.             "targets": [
  1895.               {
  1896.                 "expr": "sum(container_memory_swap{name=~\".+\"}) by (name)",
  1897.                 "hide": false,
  1898.                 "intervalFactor": 2,
  1899.                 "legendFormat": "{{name}}",
  1900.                 "refId": "A",
  1901.                 "step": 240
  1902.               },
  1903.               {
  1904.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  1905.                 "hide": true,
  1906.                 "intervalFactor": 2,
  1907.                 "legendFormat": "{{name}}",
  1908.                 "refId": "B",
  1909.                 "step": 240
  1910.               }
  1911.             ],
  1912.             "thresholds": [],
  1913.             "timeFrom": null,
  1914.             "timeShift": null,
  1915.             "title": "Memory Swap per Container",
  1916.             "tooltip": {
  1917.               "msResolution": true,
  1918.               "shared": true,
  1919.               "sort": 0,
  1920.               "value_type": "individual"
  1921.             },
  1922.             "type": "graph",
  1923.             "xaxis": {
  1924.               "mode": "time",
  1925.               "name": null,
  1926.               "show": true,
  1927.               "values": []
  1928.             },
  1929.             "yaxes": [
  1930.               {
  1931.                 "format": "bytes",
  1932.                 "label": "",
  1933.                 "logBase": 1,
  1934.                 "max": null,
  1935.                 "min": null,
  1936.                 "show": true
  1937.               },
  1938.               {
  1939.                 "format": "short",
  1940.                 "label": null,
  1941.                 "logBase": 1,
  1942.                 "max": null,
  1943.                 "min": null,
  1944.                 "show": true
  1945.               }
  1946.             ]
  1947.           }
  1948.         ],
  1949.         "showTitle": false,
  1950.         "titleSize": "h6",
  1951.         "height": 250,
  1952.         "repeat": null,
  1953.         "repeatRowId": null,
  1954.         "repeatIteration": null,
  1955.         "collapse": false
  1956.       },
  1957.       {
  1958.         "title": "Dashboard Row",
  1959.         "panels": [
  1960.           {
  1961.             "columns": [
  1962.               {
  1963.                 "text": "Current",
  1964.                 "value": "current"
  1965.               }
  1966.             ],
  1967.             "editable": true,
  1968.             "error": false,
  1969.             "fontSize": "100%",
  1970.             "id": 37,
  1971.             "links": [],
  1972.             "pageSize": null,
  1973.             "scroll": true,
  1974.             "showHeader": true,
  1975.             "sort": {
  1976.               "col": 0,
  1977.               "desc": true
  1978.             },
  1979.             "span": 4,
  1980.             "styles": [
  1981.               {
  1982.                 "colorMode": null,
  1983.                 "colors": [
  1984.                   "rgba(245, 54, 54, 0.9)",
  1985.                   "rgba(237, 129, 40, 0.89)",
  1986.                   "rgba(50, 172, 45, 0.97)"
  1987.                 ],
  1988.                 "decimals": 2,
  1989.                 "pattern": "/.*/",
  1990.                 "thresholds": [
  1991.                   "10000000",
  1992.                   " 25000000"
  1993.                 ],
  1994.                 "type": "number",
  1995.                 "unit": "decbytes"
  1996.               }
  1997.             ],
  1998.             "targets": [
  1999.               {
  2000.                 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"}) by (name) ",
  2001.                 "hide": true,
  2002.                 "intervalFactor": 2,
  2003.                 "legendFormat": "{{name}}",
  2004.                 "metric": "",
  2005.                 "refId": "A",
  2006.                 "step": 240
  2007.               },
  2008.               {
  2009.                 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
  2010.                 "hide": true,
  2011.                 "intervalFactor": 2,
  2012.                 "legendFormat": "{{name}}",
  2013.                 "refId": "B",
  2014.                 "step": 240
  2015.               },
  2016.               {
  2017.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  2018.                 "hide": false,
  2019.                 "intervalFactor": 2,
  2020.                 "legendFormat": "{{name}}",
  2021.                 "refId": "C",
  2022.                 "step": 240
  2023.               }
  2024.             ],
  2025.             "title": "Usage memory",
  2026.             "transform": "timeseries_aggregations",
  2027.             "type": "table"
  2028.           },
  2029.           {
  2030.             "columns": [
  2031.               {
  2032.                 "text": "Current",
  2033.                 "value": "current"
  2034.               }
  2035.             ],
  2036.             "editable": true,
  2037.             "error": false,
  2038.             "fontSize": "100%",
  2039.             "id": 35,
  2040.             "links": [],
  2041.             "pageSize": null,
  2042.             "scroll": true,
  2043.             "showHeader": true,
  2044.             "sort": {
  2045.               "col": 1,
  2046.               "desc": true
  2047.             },
  2048.             "span": 4,
  2049.             "styles": [
  2050.               {
  2051.                 "colorMode": "cell",
  2052.                 "colors": [
  2053.                   "rgba(50, 172, 45, 0.97)",
  2054.                   "rgba(237, 129, 40, 0.89)",
  2055.                   "rgba(245, 54, 54, 0.9)"
  2056.                 ],
  2057.                 "decimals": 2,
  2058.                 "pattern": "/.*/",
  2059.                 "thresholds": [
  2060.                   "80",
  2061.                   "90"
  2062.                 ],
  2063.                 "type": "number",
  2064.                 "unit": "percent"
  2065.               }
  2066.             ],
  2067.             "targets": [
  2068.               {
  2069.                 "expr": "sum(100 - ((container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"})  * 100 / container_spec_memory_limit_bytes{name=~\".+\"}) ) by (name) ",
  2070.                 "intervalFactor": 2,
  2071.                 "legendFormat": "{{name}}",
  2072.                 "metric": "",
  2073.                 "refId": "A",
  2074.                 "step": 240
  2075.               },
  2076.               {
  2077.                 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
  2078.                 "hide": true,
  2079.                 "intervalFactor": 2,
  2080.                 "legendFormat": "{{name}}",
  2081.                 "refId": "B",
  2082.                 "step": 240
  2083.               },
  2084.               {
  2085.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  2086.                 "hide": true,
  2087.                 "intervalFactor": 2,
  2088.                 "legendFormat": "{{name}}",
  2089.                 "refId": "C",
  2090.                 "step": 240
  2091.               }
  2092.             ],
  2093.             "title": "Remaining memory",
  2094.             "transform": "timeseries_aggregations",
  2095.             "type": "table"
  2096.           },
  2097.           {
  2098.             "columns": [
  2099.               {
  2100.                 "text": "Current",
  2101.                 "value": "current"
  2102.               }
  2103.             ],
  2104.             "editable": true,
  2105.             "error": false,
  2106.             "fontSize": "100%",
  2107.             "id": 36,
  2108.             "links": [],
  2109.             "pageSize": null,
  2110.             "scroll": true,
  2111.             "showHeader": true,
  2112.             "sort": {
  2113.               "col": 0,
  2114.               "desc": true
  2115.             },
  2116.             "span": 4,
  2117.             "styles": [
  2118.               {
  2119.                 "colorMode": null,
  2120.                 "colors": [
  2121.                   "rgba(245, 54, 54, 0.9)",
  2122.                   "rgba(237, 129, 40, 0.89)",
  2123.                   "rgba(50, 172, 45, 0.97)"
  2124.                 ],
  2125.                 "decimals": 2,
  2126.                 "pattern": "/.*/",
  2127.                 "thresholds": [
  2128.                   "10000000",
  2129.                   " 25000000"
  2130.                 ],
  2131.                 "type": "number",
  2132.                 "unit": "decbytes"
  2133.               }
  2134.             ],
  2135.             "targets": [
  2136.               {
  2137.                 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"} - container_memory_usage_bytes{name=~\".+\"}) by (name) ",
  2138.                 "hide": true,
  2139.                 "intervalFactor": 2,
  2140.                 "legendFormat": "{{name}}",
  2141.                 "metric": "",
  2142.                 "refId": "A",
  2143.                 "step": 240
  2144.               },
  2145.               {
  2146.                 "expr": "sum(container_spec_memory_limit_bytes{name=~\".+\"}) by (name) ",
  2147.                 "hide": false,
  2148.                 "intervalFactor": 2,
  2149.                 "legendFormat": "{{name}}",
  2150.                 "refId": "B",
  2151.                 "step": 240
  2152.               },
  2153.               {
  2154.                 "expr": "container_memory_usage_bytes{name=~\".+\"}",
  2155.                 "hide": true,
  2156.                 "intervalFactor": 2,
  2157.                 "legendFormat": "{{name}}",
  2158.                 "refId": "C",
  2159.                 "step": 240
  2160.               }
  2161.             ],
  2162.             "title": "Limit memory",
  2163.             "transform": "timeseries_aggregations",
  2164.             "type": "table"
  2165.           }
  2166.         ],
  2167.         "showTitle": false,
  2168.         "titleSize": "h6",
  2169.         "height": 361,
  2170.         "repeat": null,
  2171.         "repeatRowId": null,
  2172.         "repeatIteration": null,
  2173.         "collapse": false
  2174.       }
  2175.     ]
  2176.   },
  2177.   "overwrite": true,
  2178.   "inputs": [
  2179.     {
  2180.       "name": "DS_PROMETHEUS",
  2181.       "type": "datasource",
  2182.       "pluginId": "prometheus",
  2183.       "value": "Prometheus"
  2184.     }
  2185.   ]
  2186. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement