Advertisement
Guest User

Untitled

a guest
May 28th, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 22.40 KB | None | 0 0
  1. {
  2.   "__inputs": [
  3.     {
  4.       "name": "DS_PROMETHEUS",
  5.       "label": "Prometheus",
  6.       "description": "",
  7.       "type": "datasource",
  8.       "pluginId": "prometheus",
  9.       "pluginName": "Prometheus"
  10.     }
  11.   ],
  12.   "__requires": [
  13.     {
  14.       "type": "grafana",
  15.       "id": "grafana",
  16.       "name": "Grafana",
  17.       "version": "5.3.2"
  18.     },
  19.     {
  20.       "type": "panel",
  21.       "id": "graph",
  22.       "name": "Graph",
  23.       "version": "5.0.0"
  24.     },
  25.     {
  26.       "type": "datasource",
  27.       "id": "prometheus",
  28.       "name": "Prometheus",
  29.       "version": "5.0.0"
  30.     },
  31.     {
  32.       "type": "panel",
  33.       "id": "singlestat",
  34.       "name": "Singlestat",
  35.       "version": "5.0.0"
  36.     }
  37.   ],
  38.   "annotations": {
  39.     "list": [
  40.       {
  41.         "builtIn": 1,
  42.         "datasource": "-- Grafana --",
  43.         "enable": true,
  44.         "hide": true,
  45.         "iconColor": "rgba(0, 211, 255, 1)",
  46.         "name": "Annotations & Alerts",
  47.         "type": "dashboard"
  48.       }
  49.     ]
  50.   },
  51.   "description": "NGINX Ingress Controller stats",
  52.   "editable": true,
  53.   "gnetId": null,
  54.   "graphTooltip": 0,
  55.   "id": null,
  56.   "iteration": 1554239573808,
  57.   "links": [],
  58.   "panels": [
  59.     {
  60.       "collapsed": false,
  61.       "gridPos": {
  62.         "h": 1,
  63.         "w": 24,
  64.         "x": 0,
  65.         "y": 0
  66.       },
  67.       "id": 1,
  68.       "panels": [],
  69.       "repeat": null,
  70.       "title": "Nginx Ingress Controller stats",
  71.       "type": "row"
  72.     },
  73.  
  74.     {
  75.       "cacheTimeout": null,
  76.       "colorBackground": false,
  77.       "colorValue": false,
  78.       "colors": [
  79.         "rgba(245, 54, 54, 0.9)",
  80.         "rgba(237, 129, 40, 0.89)",
  81.         "rgba(50, 172, 45, 0.97)"
  82.       ],
  83.       "datasource": "${DS_PROMETHEUS}",
  84.       "format": "ops",
  85.       "gauge": {
  86.         "maxValue": 100,
  87.         "minValue": 0,
  88.         "show": false,
  89.         "thresholdLabels": false,
  90.         "thresholdMarkers": true
  91.       },
  92.       "gridPos": {
  93.         "h": 3,
  94.         "w": 6,
  95.         "x": 0,
  96.         "y": 0
  97.       },
  98.       "id": 2,
  99.       "interval": null,
  100.       "links": [],
  101.       "mappingType": 1,
  102.       "mappingTypes": [
  103.         {
  104.           "name": "value to text",
  105.           "value": 1
  106.         },
  107.         {
  108.           "name": "range to text",
  109.           "value": 2
  110.         }
  111.       ],
  112.       "maxDataPoints": 100,
  113.       "nullPointMode": "connected",
  114.       "nullText": null,
  115.       "postfix": "",
  116.       "postfixFontSize": "50%",
  117.       "prefix": "",
  118.       "prefixFontSize": "50%",
  119.       "rangeMaps": [
  120.         {
  121.           "from": "null",
  122.           "text": "N/A",
  123.           "to": "null"
  124.         }
  125.       ],
  126.       "sparkline": {
  127.         "fillColor": "rgba(31, 118, 189, 0.18)",
  128.         "full": true,
  129.         "lineColor": "rgb(31, 120, 193)",
  130.         "show": true
  131.       },
  132.       "tableColumn": "",
  133.       "targets": [
  134.         {
  135.           "expr": "round(sum(irate(nginx_ingress_controller_requests{kubernetes_node=~\"$Node\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m])), 0.001)",
  136.           "format": "time_series",
  137.           "intervalFactor": 1,
  138.           "refId": "A",
  139.           "step": 4
  140.         }
  141.       ],
  142.       "thresholds": "",
  143.       "title": "Controller Request Volume",
  144.       "transparent": false,
  145.       "type": "singlestat",
  146.       "valueFontSize": "80%",
  147.       "valueMaps": [
  148.         {
  149.           "op": "=",
  150.           "text": "N/A",
  151.           "value": "null"
  152.         }
  153.       ],
  154.       "valueName": "avg"
  155.     },
  156.  
  157.     {
  158.       "cacheTimeout": null,
  159.       "colorBackground": false,
  160.       "colorValue": false,
  161.       "colors": [
  162.         "rgba(245, 54, 54, 0.9)",
  163.         "rgba(237, 129, 40, 0.89)",
  164.         "rgba(50, 172, 45, 0.97)"
  165.       ],
  166.       "datasource": "${DS_PROMETHEUS}",
  167.       "format": "none",
  168.       "gauge": {
  169.         "maxValue": 100,
  170.         "minValue": 0,
  171.         "show": false,
  172.         "thresholdLabels": false,
  173.         "thresholdMarkers": true
  174.       },
  175.       "gridPos": {
  176.         "h": 3,
  177.         "w": 6,
  178.         "x": 6,
  179.         "y": 0
  180.       },
  181.       "id": 3,
  182.       "interval": null,
  183.       "links": [],
  184.       "mappingType": 1,
  185.       "mappingTypes": [
  186.         {
  187.           "name": "value to text",
  188.           "value": 1
  189.         },
  190.         {
  191.           "name": "range to text",
  192.           "value": 2
  193.         }
  194.       ],
  195.       "maxDataPoints": 100,
  196.       "nullPointMode": "connected",
  197.       "nullText": null,
  198.       "postfix": "",
  199.       "postfixFontSize": "50%",
  200.       "prefix": "",
  201.       "prefixFontSize": "50%",
  202.       "rangeMaps": [
  203.         {
  204.           "from": "null",
  205.           "text": "N/A",
  206.           "to": "null"
  207.         }
  208.       ],
  209.       "sparkline": {
  210.         "fillColor": "rgba(31, 118, 189, 0.18)",
  211.         "full": true,
  212.         "lineColor": "rgb(31, 120, 193)",
  213.         "show": true
  214.       },
  215.       "tableColumn": "",
  216.       "targets": [
  217.         {
  218.           "expr": "sum(avg_over_time(nginx_ingress_controller_nginx_process_connections{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))",
  219.           "format": "time_series",
  220.           "instant": false,
  221.           "intervalFactor": 1,
  222.           "refId": "A",
  223.           "step": 4
  224.         }
  225.       ],
  226.       "thresholds": "",
  227.       "title": "Controller Connections",
  228.       "transparent": false,
  229.       "type": "singlestat",
  230.       "valueFontSize": "80%",
  231.       "valueMaps": [
  232.         {
  233.           "op": "=",
  234.           "text": "N/A",
  235.           "value": "null"
  236.         }
  237.       ],
  238.       "valueName": "avg"
  239.     },
  240.  
  241.  
  242.     {
  243.       "cacheTimeout": null,
  244.       "colorBackground": false,
  245.       "colorValue": false,
  246.       "colors": [
  247.         "rgba(245, 54, 54, 0.9)",
  248.         "rgba(237, 129, 40, 0.89)",
  249.         "rgba(50, 172, 45, 0.97)"
  250.       ],
  251.       "datasource": "${DS_PROMETHEUS}",
  252.       "format": "percentunit",
  253.       "gauge": {
  254.         "maxValue": 100,
  255.         "minValue": 80,
  256.         "show": false,
  257.         "thresholdLabels": false,
  258.         "thresholdMarkers": false
  259.       },
  260.       "gridPos": {
  261.         "h": 3,
  262.         "w": 6,
  263.         "x": 12,
  264.         "y": 0
  265.       },
  266.       "id": 4,
  267.       "interval": null,
  268.       "links": [],
  269.       "mappingType": 1,
  270.       "mappingTypes": [
  271.         {
  272.           "name": "value to text",
  273.           "value": 1
  274.         },
  275.         {
  276.           "name": "range to text",
  277.           "value": 2
  278.         }
  279.       ],
  280.       "maxDataPoints": 100,
  281.       "nullPointMode": "connected",
  282.       "nullText": null,
  283.       "postfix": "",
  284.       "postfixFontSize": "50%",
  285.       "prefix": "",
  286.       "prefixFontSize": "50%",
  287.       "rangeMaps": [
  288.         {
  289.           "from": "null",
  290.           "text": "N/A",
  291.           "to": "null"
  292.         }
  293.       ],
  294.       "sparkline": {
  295.         "fillColor": "rgba(31, 118, 189, 0.18)",
  296.         "full": true,
  297.         "lineColor": "rgb(31, 120, 193)",
  298.         "show": true
  299.       },
  300.       "tableColumn": "",
  301.       "targets": [
  302.         {
  303.           "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",status!~\"[4-5].*\"}[2m])) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m]))",
  304.           "format": "time_series",
  305.           "intervalFactor": 1,
  306.           "refId": "A",
  307.           "step": 4
  308.         }
  309.       ],
  310.       "thresholds": "95, 99, 99.5",
  311.       "title": "Controller Success Rate (non-4|5xx responses)",
  312.       "transparent": false,
  313.       "type": "singlestat",
  314.       "valueFontSize": "80%",
  315.       "valueMaps": [
  316.         {
  317.           "op": "=",
  318.           "text": "N/A",
  319.           "value": "null"
  320.         }
  321.       ],
  322.       "valueName": "avg"
  323.     },
  324.  
  325.     {
  326.       "cacheTimeout": null,
  327.       "colorBackground": false,
  328.       "colorValue": false,
  329.       "colors": [
  330.         "rgba(245, 54, 54, 0.9)",
  331.         "rgba(237, 129, 40, 0.89)",
  332.         "rgba(50, 172, 45, 0.97)"
  333.       ],
  334.       "datasource": "${DS_PROMETHEUS}",
  335.       "format": "percentunit",
  336.       "gauge": {
  337.         "maxValue": 100,
  338.         "minValue": 80,
  339.         "show": false,
  340.         "thresholdLabels": false,
  341.         "thresholdMarkers": false
  342.       },
  343.       "gridPos": {
  344.         "h": 3,
  345.         "w": 6,
  346.         "x": 18,
  347.         "y": 0
  348.       },
  349.       "id": 5,
  350.       "interval": null,
  351.       "links": [],
  352.       "mappingType": 1,
  353.       "mappingTypes": [
  354.         {
  355.           "name": "value to text",
  356.           "value": 1
  357.         },
  358.         {
  359.           "name": "range to text",
  360.           "value": 2
  361.         }
  362.       ],
  363.       "maxDataPoints": 100,
  364.       "nullPointMode": "connected",
  365.       "nullText": null,
  366.       "postfix": "",
  367.       "postfixFontSize": "50%",
  368.       "prefix": "",
  369.       "prefixFontSize": "50%",
  370.       "rangeMaps": [
  371.         {
  372.           "from": "null",
  373.           "text": "N/A",
  374.           "to": "null"
  375.         }
  376.       ],
  377.       "sparkline": {
  378.         "fillColor": "rgba(31, 118, 189, 0.18)",
  379.         "full": true,
  380.         "lineColor": "rgb(31, 120, 193)",
  381.         "show": true
  382.       },
  383.       "tableColumn": "",
  384.       "targets": [
  385.         {
  386.           "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",status=~\"[4-5].*\"}[2m])) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m]))",
  387.           "format": "time_series",
  388.           "intervalFactor": 1,
  389.           "refId": "A",
  390.           "step": 4
  391.         }
  392.       ],
  393.       "thresholds": "95, 99, 99.5",
  394.       "title": "Controller Error Rate (4|5xx responses)",
  395.       "transparent": false,
  396.       "type": "singlestat",
  397.       "valueFontSize": "80%",
  398.       "valueMaps": [
  399.         {
  400.           "op": "=",
  401.           "text": "N/A",
  402.           "value": "null"
  403.         }
  404.       ],
  405.       "valueName": "avg"
  406.     },
  407.  
  408.     {
  409.       "aliasColors": {},
  410.       "bars": false,
  411.       "dashLength": 10,
  412.       "dashes": false,
  413.       "datasource": "${DS_PROMETHEUS}",
  414.       "decimals": 2,
  415.       "editable": true,
  416.       "error": false,
  417.       "fill": 1,
  418.       "grid": {},
  419.       "gridPos": {
  420.         "h": 7,
  421.         "w": 24,
  422.         "x": 0,
  423.         "y": 3
  424.       },
  425.       "height": "200px",
  426.       "id": 6,
  427.       "isNew": true,
  428.       "legend": {
  429.         "alignAsTable": true,
  430.         "avg": true,
  431.         "current": false,
  432.         "hideEmpty": false,
  433.         "hideZero": true,
  434.         "max": false,
  435.         "min": false,
  436.         "rightSide": true,
  437.         "show": true,
  438.         "sideWidth": 300,
  439.         "sort": "current",
  440.         "sortDesc": true,
  441.         "total": false,
  442.         "values": true
  443.       },
  444.       "lines": true,
  445.       "linewidth": 2,
  446.       "links": [],
  447.       "nullPointMode": "connected",
  448.       "percentage": false,
  449.       "pointradius": 5,
  450.       "points": false,
  451.       "renderer": "flot",
  452.       "repeat": null,
  453.       "repeatDirection": "h",
  454.       "seriesOverrides": [],
  455.       "spaceLength": 10,
  456.       "stack": false,
  457.       "steppedLine": false,
  458.       "targets": [
  459.         {
  460.           "expr": "round(sum(irate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress), 0.001)",
  461.           "format": "time_series",
  462.           "hide": false,
  463.           "instant": false,
  464.           "interval": "",
  465.           "intervalFactor": 1,
  466.           "legendFormat": "{{ ingress }}",
  467.           "metric": "network",
  468.           "refId": "A",
  469.           "step": 10
  470.         }
  471.       ],
  472.       "thresholds": [],
  473.       "timeFrom": null,
  474.       "timeShift": null,
  475.       "title": "Ingress Request Volume",
  476.       "tooltip": {
  477.         "msResolution": false,
  478.         "shared": true,
  479.         "sort": 2,
  480.         "value_type": "cumulative"
  481.       },
  482.       "transparent": false,
  483.       "type": "graph",
  484.       "xaxis": {
  485.         "buckets": null,
  486.         "mode": "time",
  487.         "name": null,
  488.         "show": true,
  489.         "values": []
  490.       },
  491.       "yaxes": [
  492.         {
  493.           "format": "reqps",
  494.           "label": null,
  495.           "logBase": 1,
  496.           "max": null,
  497.           "min": null,
  498.           "show": true
  499.         },
  500.         {
  501.           "format": "Bps",
  502.           "label": null,
  503.           "logBase": 1,
  504.           "max": null,
  505.           "min": null,
  506.           "show": false
  507.         }
  508.       ],
  509.       "yaxis": {
  510.         "align": false,
  511.         "alignLevel": null
  512.       }
  513.     },
  514.  
  515.  
  516.     {
  517.       "aliasColors": {
  518.         "max - istio-proxy": "#890f02",
  519.         "max - master": "#bf1b00",
  520.         "max - prometheus": "#bf1b00"
  521.       },
  522.       "bars": false,
  523.       "dashLength": 10,
  524.       "dashes": false,
  525.       "datasource": "${DS_PROMETHEUS}",
  526.       "decimals": 2,
  527.       "editable": false,
  528.       "error": false,
  529.       "fill": 0,
  530.       "grid": {},
  531.       "gridPos": {
  532.         "h": 7,
  533.         "w": 24,
  534.         "x": 0,
  535.         "y": 6
  536.       },
  537.       "id": 7,
  538.       "isNew": true,
  539.       "legend": {
  540.         "alignAsTable": true,
  541.         "avg": true,
  542.         "current": false,
  543.         "hideEmpty": true,
  544.         "hideZero": false,
  545.         "max": false,
  546.         "min": false,
  547.         "rightSide": true,
  548.         "show": true,
  549.         "sideWidth": 300,
  550.         "sort": "avg",
  551.         "sortDesc": true,
  552.         "total": false,
  553.         "values": true
  554.       },
  555.       "lines": true,
  556.       "linewidth": 2,
  557.       "links": [],
  558.       "nullPointMode": "connected",
  559.       "percentage": false,
  560.       "pointradius": 5,
  561.       "points": false,
  562.       "renderer": "flot",
  563.       "seriesOverrides": [],
  564.       "spaceLength": 10,
  565.       "stack": false,
  566.       "steppedLine": false,
  567.       "targets": [
  568.         {
  569.           "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\",status!~\"[4-5].*\"}[2m])) by (ingress) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)",
  570.           "format": "time_series",
  571.           "instant": false,
  572.           "interval": "10s",
  573.           "intervalFactor": 1,
  574.           "legendFormat": "{{ ingress }}",
  575.           "metric": "container_memory_usage:sort_desc",
  576.           "refId": "A",
  577.           "step": 10
  578.         }
  579.       ],
  580.       "thresholds": [],
  581.       "timeFrom": null,
  582.       "timeShift": null,
  583.       "title": "Ingress Success Rate (non-4|5xx responses)",
  584.       "tooltip": {
  585.         "msResolution": false,
  586.         "shared": true,
  587.         "sort": 1,
  588.         "value_type": "cumulative"
  589.       },
  590.       "type": "graph",
  591.       "xaxis": {
  592.         "buckets": null,
  593.         "mode": "time",
  594.         "name": null,
  595.         "show": true,
  596.         "values": []
  597.       },
  598.       "yaxes": [
  599.         {
  600.           "format": "percentunit",
  601.           "label": null,
  602.           "logBase": 1,
  603.           "max": null,
  604.           "min": null,
  605.           "show": true
  606.         },
  607.         {
  608.           "format": "short",
  609.           "label": null,
  610.           "logBase": 1,
  611.           "max": null,
  612.           "min": null,
  613.           "show": false
  614.         }
  615.       ],
  616.       "yaxis": {
  617.         "align": false,
  618.         "alignLevel": null
  619.       }
  620.     },
  621.  
  622.  
  623.     {
  624.       "aliasColors": {
  625.         "max - istio-proxy": "#890f02",
  626.         "max - master": "#bf1b00",
  627.         "max - prometheus": "#bf1b00"
  628.       },
  629.       "bars": false,
  630.       "dashLength": 10,
  631.       "dashes": false,
  632.       "datasource": "${DS_PROMETHEUS}",
  633.       "decimals": 2,
  634.       "editable": false,
  635.       "error": false,
  636.       "fill": 0,
  637.       "grid": {},
  638.       "gridPos": {
  639.         "h": 7,
  640.         "w": 24,
  641.         "x": 0,
  642.         "y": 9
  643.       },
  644.       "id": 8,
  645.       "isNew": true,
  646.       "legend": {
  647.         "alignAsTable": true,
  648.         "avg": true,
  649.         "current": false,
  650.         "hideEmpty": true,
  651.         "hideZero": false,
  652.         "max": false,
  653.         "min": false,
  654.         "rightSide": true,
  655.         "show": true,
  656.         "sideWidth": 300,
  657.         "sort": "avg",
  658.         "sortDesc": true,
  659.         "total": false,
  660.         "values": true
  661.       },
  662.       "lines": true,
  663.       "linewidth": 2,
  664.       "links": [],
  665.       "nullPointMode": "connected",
  666.       "percentage": false,
  667.       "pointradius": 5,
  668.       "points": false,
  669.       "renderer": "flot",
  670.       "seriesOverrides": [],
  671.       "spaceLength": 10,
  672.       "stack": false,
  673.       "steppedLine": false,
  674.       "targets": [
  675.         {
  676.           "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\",status=~\"[4-5].*\"}[2m])) by (ingress) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)",
  677.           "format": "time_series",
  678.           "instant": false,
  679.           "interval": "10s",
  680.           "intervalFactor": 1,
  681.           "legendFormat": "{{ ingress }}",
  682.           "metric": "container_memory_usage:sort_desc",
  683.           "refId": "A",
  684.           "step": 10
  685.         }
  686.       ],
  687.       "thresholds": [],
  688.       "timeFrom": null,
  689.       "timeShift": null,
  690.       "title": "Ingress Error Rate (4|5xx responses)",
  691.       "tooltip": {
  692.         "msResolution": false,
  693.         "shared": true,
  694.         "sort": 1,
  695.         "value_type": "cumulative"
  696.       },
  697.       "type": "graph",
  698.       "xaxis": {
  699.         "buckets": null,
  700.         "mode": "time",
  701.         "name": null,
  702.         "show": true,
  703.         "values": []
  704.       },
  705.       "yaxes": [
  706.         {
  707.           "format": "percentunit",
  708.           "label": null,
  709.           "logBase": 1,
  710.           "max": null,
  711.           "min": null,
  712.           "show": true
  713.         },
  714.         {
  715.           "format": "short",
  716.           "label": null,
  717.           "logBase": 1,
  718.           "max": null,
  719.           "min": null,
  720.           "show": false
  721.         }
  722.       ],
  723.       "yaxis": {
  724.         "align": false,
  725.         "alignLevel": null
  726.       }
  727.     }
  728.  
  729.   ],
  730.   "refresh": "10s",
  731.   "schemaVersion": 16,
  732.   "style": "dark",
  733.   "tags": [
  734.     "kubernetes"
  735.   ],
  736.   "templating": {
  737.     "list": [
  738.    {
  739.         "current": {
  740.           "selected": true,
  741.           "text": "default",
  742.           "value": "default"
  743.         },
  744.         "hide": 0,
  745.         "label": null,
  746.         "name": "datasource",
  747.         "options": [],
  748.         "query": "prometheus",
  749.         "refresh": 1,
  750.         "regex": "",
  751.         "skipUrlSync": false,
  752.         "type": "datasource"
  753.       },
  754.       {
  755.         "allValue": ".*",
  756.         "current": {},
  757.         "datasource": "${DS_PROMETHEUS}",
  758.         "hide": 0,
  759.         "includeAll": true,
  760.         "label": null,
  761.         "multi": false,
  762.         "name": "Node",
  763.         "options": [],
  764.         "query": "label_values(kubernetes_io_hostname, kubernetes_node)",
  765.         "refresh": 1,
  766.         "regex": "",
  767.         "skipUrlSync": false,
  768.         "sort": 0,
  769.         "tagValuesQuery": "",
  770.         "tags": [],
  771.         "tagsQuery": "",
  772.         "type": "query",
  773.         "useTags": false
  774.       },
  775.       {
  776.         "allValue": ".*",
  777.         "current": {
  778.           "text": "All",
  779.           "value": "$__all"
  780.         },
  781.         "datasource": "${DS_PROMETHEUS}",
  782.         "hide": 0,
  783.         "includeAll": true,
  784.         "label": "Namespace",
  785.         "multi": false,
  786.         "name": "namespace",
  787.         "options": [],
  788.         "query": "label_values(nginx_ingress_controller_config_hash, controller_namespace)",
  789.         "refresh": 1,
  790.         "regex": "",
  791.         "sort": 0,
  792.         "tagValuesQuery": "",
  793.         "tags": [],
  794.         "tagsQuery": "",
  795.         "type": "query",
  796.         "useTags": false
  797.       },    
  798.       {
  799.         "allValue": ".*",
  800.         "current": {
  801.           "text": "All",
  802.           "value": "$__all"
  803.         },
  804.         "datasource": "${DS_PROMETHEUS}",
  805.         "hide": 0,
  806.         "includeAll": true,
  807.         "label": "Controller Class",
  808.         "multi": false,
  809.         "name": "controller_class",
  810.         "options": [],
  811.         "query": "label_values(nginx_ingress_controller_config_hash{Node=~\"$Node\",namespace=~\"$namespace\"}, controller_class) ",
  812.         "refresh": 1,
  813.         "regex": "",
  814.         "sort": 0,
  815.         "tagValuesQuery": "",
  816.         "tags": [],
  817.         "tagsQuery": "",
  818.         "type": "query",
  819.         "useTags": false
  820.       },
  821.       {
  822.         "allValue": ".*",
  823.         "current": {
  824.           "text": "All",
  825.           "value": "$__all"
  826.         },
  827.         "datasource": "${DS_PROMETHEUS}",
  828.         "hide": 0,
  829.         "includeAll": true,
  830.         "label": "Controller",
  831.         "multi": false,
  832.         "name": "controller",
  833.         "options": [],
  834.         "query": "label_values(nginx_ingress_controller_config_hash{Node=~\"$Node\",namespace=~\"$namespace\",controller_class=~\"$controller_class\"}, controller_pod) ",
  835.         "refresh": 1,
  836.         "regex": "",
  837.         "sort": 0,
  838.         "tagValuesQuery": "",
  839.         "tags": [],
  840.         "tagsQuery": "",
  841.         "type": "query",
  842.         "useTags": false
  843.       },
  844.       {
  845.         "allValue": ".*",
  846.         "current": {
  847.           "tags": [],
  848.           "text": "All",
  849.           "value": "$__all"
  850.         },
  851.         "datasource": "${DS_PROMETHEUS}",
  852.         "hide": 0,
  853.         "includeAll": true,
  854.         "label": "Ingress",
  855.         "multi": false,
  856.         "name": "ingress",
  857.         "options": [],
  858.         "query": "label_values(nginx_ingress_controller_requests{Node=~\"$Node\",namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller=~\"$controller\"}, ingress) ",
  859.         "refresh": 1,
  860.         "regex": "",
  861.         "sort": 2,
  862.         "tagValuesQuery": "",
  863.         "tags": [],
  864.         "tagsQuery": "",
  865.         "type": "query",
  866.         "useTags": false
  867.       }
  868.     ]
  869.   },
  870.  
  871.   "time": {
  872.     "from": "now-15m",
  873.     "to": "now"
  874.   },
  875.   "timepicker": {
  876.     "refresh_intervals": [
  877.       "5s",
  878.       "10s",
  879.       "30s",
  880.       "1m",
  881.       "5m",
  882.       "15m",
  883.       "30m",
  884.       "1h",
  885.       "2h",
  886.       "1d"
  887.     ],
  888.     "time_options": [
  889.       "5m",
  890.       "15m",
  891.       "1h",
  892.       "6h",
  893.       "12h",
  894.       "24h",
  895.       "2d",
  896.       "7d",
  897.       "30d"
  898.     ]
  899.   },
  900.   "timezone": "browser",
  901.   "title": "Nginx Ingress Controller monitoring",
  902.   "uid": "Nginx-456",
  903.   "version": 1
  904. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement