Grafana dashboard: k8s global metrics
Description: Overview of k8s resources filter by dc/node/pod/container

It provides an overview of your k8s resources at cluster/nodes level and stats for each containers.  
Metrics exploited come from prometheus.


{
  "__inputs": [
    {
      "name": "DS_THANOS-MASTER",
      "label": "thanos-master",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.4.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "Overview of k8s resources filter by dc/node/pod/container",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "gnetId": 13929,
  "graphTooltip": 1,
  "id": null,
  "iteration": 1655305615483,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 94,
      "title": "Node stats",
      "type": "row"
    },
    {
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 1
      },
      "id": 97,
      "options": {
        "content": "<img src=\"https://cncf-branding.netlify.app/img/projects/thanos/horizontal/color/thanos-horizontal-color.png\"/>",
        "mode": "html"
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "queryType": "randomWalk",
          "refId": "A"
        }
      ],
      "type": "text"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 1,
          "mappings": [],
          "max": 1,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgba(50, 172, 45, 0.97)",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 0.8
              },
              {
                "color": "rgba(245, 54, 54, 0.9)",
                "value": 0.99
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 4,
        "y": 1
      },
      "id": 45,
      "links": [],
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (rate (container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",instance=~\"^$Node$\"}[2m])) / sum (machine_cpu_cores{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\"})",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "used",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "req",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "limit",
          "refId": "B"
        }
      ],
      "title": "CPU ratio",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 1,
          "mappings": [],
          "max": 1,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "rgba(50, 172, 45, 0.97)",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 0.8
              },
              {
                "color": "rgba(245, 54, 54, 0.9)",
                "value": 0.99
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 8,
        "y": 1
      },
      "id": 44,
      "links": [],
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",id=\"/\",instance=~\"^$Node$\"}) / sum (machine_memory_bytes{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\"})",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "used",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"}) / sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "req",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"}) / sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})",
          "hide": false,
          "instant": true,
          "interval": "10s",
          "intervalFactor": 1,
          "legendFormat": "limit",
          "refId": "B",
          "step": 10
        }
      ],
      "title": "MEMORY ratio",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 1000,
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 1000
              },
              {
                "color": "red",
                "value": 2000
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 12,
        "y": 1
      },
      "id": 74,
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "exemplar": true,
          "expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "nodes",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "used",
          "refId": "B"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"pods\"})",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "capacity",
          "refId": "C"
        }
      ],
      "title": "PODS",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "color-text",
            "filterable": false,
            "width": 100
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "light-orange",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "ns"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 110
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "rgb(255, 255, 255)",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pod"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "exported_namespace"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 119
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "secret"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 70
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 9,
        "x": 15,
        "y": 1
      },
      "id": 51,
      "interval": "30s",
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "pod"
          }
        ]
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}) by (exported_namespace)",
          "format": "table",
          "instant": true,
          "interval": "",
          "legendFormat": "pod",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(kube_service_info{origin_prometheus=~\"$origin_prometheus\"}) by(exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "svc",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\"}) by(container,namespace))by(exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "container",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(kube_configmap_info{origin_prometheus=~\"$origin_prometheus\"}) by(exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "configmap",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(kube_secret_info{origin_prometheus=~\"$origin_prometheus\"}) by(exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "secret",
          "refId": "E"
        }
      ],
      "transformations": [
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "exported_namespace"
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Time 1": true,
              "Time 2": true,
              "Time 3": true,
              "Time 4": true,
              "Time 5": true
            },
            "indexByName": {
              "Time 1": 1,
              "Time 2": 3,
              "Time 3": 5,
              "Time 4": 7,
              "Value #A": 2,
              "Value #B": 6,
              "Value #C": 4,
              "Value #E": 8,
              "exported_namespace": 0
            },
            "renameByName": {
              "Time 1": "",
              "Time 2": "",
              "Value #A": "pod",
              "Value #B": "configmap",
              "Value #C": "svc",
              "Value #D": "container",
              "Value #E": "secret",
              "exported_namespace": "ns",
              "namespace": "ns"
            }
          }
        }
      ],
      "type": "table"
    },
    {
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 4
      },
      "id": 98,
      "options": {
        "content": "<img src=\"https://cncf-branding.netlify.app/img/projects/prometheus/horizontal/color/prometheus-horizontal-color.png\"/>",
        "mode": "html"
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "queryType": "randomWalk",
          "refId": "A"
        }
      ],
      "type": "text"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 1,
          "mappings": [],
          "max": 4,
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 3
              },
              {
                "color": "red",
                "value": 4
              }
            ]
          },
          "unit": "locale"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "total"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 4,
        "y": 5
      },
      "id": 72,
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum (machine_cpu_cores{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "total",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "sum (rate (container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",instance=~\"^$Node$\"}[2m]))",
          "instant": true,
          "interval": "",
          "legendFormat": "used",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "req",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "limit",
          "refId": "B"
        }
      ],
      "title": "CPU cores",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 1,
          "mappings": [],
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10000000000
              },
              {
                "color": "red",
                "value": 13000000000
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "total"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 8,
        "y": 5
      },
      "id": 71,
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum (machine_memory_bytes{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "total",
          "refId": "A"
        },
        {
          "exemplar": true,
          "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",id=\"/\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "used ",
          "refId": "C"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "req",
          "refId": "D"
        },
        {
          "exemplar": true,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "limit",
          "refId": "B"
        }
      ],
      "title": "MEMORY units",
      "type": "bargauge"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "decimals": 2,
          "mappings": [],
          "max": 8000000000000,
          "min": 1,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 5000000000000
              },
              {
                "color": "red",
                "value": 10000000000000
              }
            ]
          },
          "unit": "bytes"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "used %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percentunit"
              },
              {
                "id": "max",
                "value": 1
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "percentage",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 80
                    },
                    {
                      "color": "red",
                      "value": 90
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 3,
        "x": 12,
        "y": 5
      },
      "id": 73,
      "options": {
        "displayMode": "basic",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "exemplar": true,
          "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",instance=~\"^$Node$\"}) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "used %",
          "refId": "C"
        },
        {
          "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "used",
          "refId": "A"
        },
        {
          "expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",instance=~\"^$Node$\"})",
          "instant": true,
          "interval": "",
          "legendFormat": "limit",
          "refId": "B"
        }
      ],
      "title": "STORAGE",
      "type": "bargauge"
    },
    {
      "gridPos": {
        "h": 3,
        "w": 4,
        "x": 0,
        "y": 7
      },
      "id": 91,
      "options": {
        "content": "<img src=\"https://cncf-branding.netlify.app/img/projects/kubernetes/horizontal/color/kubernetes-horizontal-color.png\"/>",
        "mode": "html"
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "queryType": "randomWalk",
          "refId": "A"
        }
      ],
      "type": "text"
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": ".*%"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percentunit"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 0.8
                    },
                    {
                      "color": "red",
                      "value": 1
                    }
                  ]
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "(mem total|mem req|mem limit)"
            },
            "properties": [
              {
                "id": "unit",
                "value": "bytes"
              },
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": ".*(total|capacity)"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "blue",
                      "value": null
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byType",
              "options": "number"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "statut"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pod"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "#EAB839",
                      "value": 27
                    },
                    {
                      "color": "red",
                      "value": 30
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "mem limit"
            },
            "properties": [
              {
                "id": "custom.width"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Node"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 234
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "status"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 78
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 10
      },
      "id": 52,
      "interval": "30s",
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "cpu limit%"
          }
        ]
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "kube_node_status_condition{origin_prometheus=~\"$origin_prometheus\",status=\"true\",node=~\"^$Node$\"}  == 1",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "status",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (rate (container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[3m])) by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "node cpu used",
          "refId": "I"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"} - 0",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "node cpu capacity",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"}) by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod cpu request total",
          "refId": "E"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"}) by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod cpu limit total",
          "refId": "F"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}) by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "container mem used total",
          "refId": "J"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"} - 0",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "node mem available total",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"}) by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod mem request total",
          "refId": "G"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"}) by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod mem limit total",
          "refId": "H"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "container fs used total",
          "refId": "K"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "container fs limit total",
          "refId": "L"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"})by (node) / sum (machine_memory_bytes{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"})by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "container mem used%",
          "refId": "M"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})by (node) / sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod mem request %",
          "refId": "N"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})by (node) / sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"memory\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod mem limit %",
          "refId": "O"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (rate (container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))by (node) / sum (machine_cpu_cores{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"})by (node)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "container cpu used %",
          "refId": "P"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod cpu request %",
          "refId": "Q"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"cpu\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "pod cpu limit %",
          "refId": "R"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "container fs used %",
          "refId": "S"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(kube_node_status_capacity{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",resource=\"pods\"})by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "node pod capacity",
          "refId": "T"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"}) by (node)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "running pod",
          "refId": "A"
        }
      ],
      "title": "Statistic for node : $Node",
      "transformations": [
        {
          "id": "seriesToColumns",
          "options": {
            "byField": "node"
          }
        },
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "node",
                "condition",
                "Value #B",
                "Value #C",
                "Value #E",
                "Value #F",
                "Value #D",
                "Value #G",
                "Value #H",
                "Value #N",
                "Value #O",
                "Value #Q",
                "Value #R",
                "Value #T",
                "Value #A"
              ],
              "pattern": "(node|condition|Value.*)"
            }
          }
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time 1": true,
              "Time 10": true,
              "Time 11": true,
              "Time 12": true,
              "Time 13": true,
              "Time 14": true,
              "Time 15": true,
              "Time 16": true,
              "Time 17": true,
              "Time 18": true,
              "Time 19": true,
              "Time 2": true,
              "Time 20": true,
              "Time 3": true,
              "Time 4": true,
              "Time 5": true,
              "Time 6": true,
              "Time 7": true,
              "Time 8": true,
              "Time 9": true,
              "Value #B": true,
              "Value #E": false,
              "Value #F": false,
              "__name__": true,
              "app_kubernetes_io_name 1": true,
              "app_kubernetes_io_name 2": true,
              "app_kubernetes_io_name 3": true,
              "app_kubernetes_io_version 1": true,
              "app_kubernetes_io_version 2": true,
              "app_kubernetes_io_version 3": true,
              "condition": false,
              "instance 1": true,
              "instance 2": true,
              "instance 3": true,
              "job 1": true,
              "job 2": true,
              "job 3": true,
              "k8s_namespace 1": true,
              "k8s_namespace 2": true,
              "k8s_namespace 3": true,
              "k8s_sname 1": true,
              "k8s_sname 2": true,
              "k8s_sname 3": true,
              "origin_prometheus 1": true,
              "origin_prometheus 2": true,
              "origin_prometheus 3": true,
              "status": true
            },
            "indexByName": {
              "Value #A": 13,
              "Value #B": 2,
              "Value #C": 3,
              "Value #D": 8,
              "Value #E": 4,
              "Value #F": 6,
              "Value #G": 9,
              "Value #H": 11,
              "Value #N": 10,
              "Value #O": 12,
              "Value #Q": 5,
              "Value #R": 7,
              "Value #T": 14,
              "condition": 1,
              "node": 0
            },
            "renameByName": {
              "Value #A": "pod",
              "Value #C": "cpu total",
              "Value #D": "mem total",
              "Value #E": "cpu req",
              "Value #F": "cpu limit",
              "Value #G": "mem req",
              "Value #H": "mem limit",
              "Value #I": "cpu used",
              "Value #J": "ram used",
              "Value #K": "disk used",
              "Value #L": "disk total",
              "Value #M": "mem used%",
              "Value #N": "mem req%",
              "Value #O": "mem limit%",
              "Value #P": "cpu used%",
              "Value #Q": "cpu req%",
              "Value #R": "cpu limit%",
              "Value #S": "disk used%",
              "Value #T": "pod capacity",
              "condition": "status",
              "node": "Node"
            }
          }
        }
      ],
      "transparent": true,
      "type": "table"
    },
    {
      "aliasColors": {
        " : aks-default-28892471-vmss00000b :  : cpu usage": "orange",
        "azr-prod-francecentral : aks-default-28892471-vmss00000e : cpu usage": "orange"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 18
      },
      "hiddenSeries": false,
      "id": 95,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "1 - (sum(rate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\",mode=\"idle\"}[1m])) by (origin_prometheus,kubernetes_node) / count(node_cpu_seconds_total{mode=\"idle\",kubernetes_node!=\"\",origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\"}) by (origin_prometheus,kubernetes_node))",
          "instant": false,
          "interval": "",
          "legendFormat": "{{origin_prometheus}} : {{kubernetes_node}} : cpu usage",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : cpu usage",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1424",
          "format": "percentunit",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:1425",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 18
      },
      "hiddenSeries": false,
      "id": 83,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "1 - (node_memory_Inactive_bytes{kubernetes_node=~\"^$Node$\"}/node_memory_MemTotal_bytes{kubernetes_node=~\"^$Node$\"})",
          "instant": false,
          "interval": "",
          "legendFormat": "{{origin_prometheus}} : {{kubernetes_node}} : mem usage",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : mem usage",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1424",
          "format": "percentunit",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:1425",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 26
      },
      "hiddenSeries": false,
      "id": 82,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "node_load1{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\"}",
          "interval": "",
          "legendFormat": "{{kubernetes_node}} : load1",
          "refId": "A"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "node_load5{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "{{kubernetes_node}} : load5",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "node_load15{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\"}",
          "hide": false,
          "interval": "",
          "legendFormat": "{{kubernetes_node}} : load15",
          "refId": "C"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : load",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1424",
          "format": "short",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:1425",
          "format": "short",
          "logBase": 1,
          "show": true
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "s"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 26
      },
      "height": "200px",
      "hiddenSeries": false,
      "id": 87,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sideWidth": 200,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "sum(rate(node_disk_io_time_seconds_total{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\",kubernetes_namespace=~\"$NameSpace\"}[2m])) by (kubernetes_node,device)",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ kubernetes_node }} : {{device}} : total_io_time",
          "metric": "network",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : io time",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:750",
          "format": "s",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:751",
          "format": "Bps",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "bps"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 0,
        "y": 34
      },
      "height": "200px",
      "hiddenSeries": false,
      "id": 32,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sideWidth": 200,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:3867",
          "alias": "/transmit/",
          "transform": "negative-Y"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "expr": "sum(rate(node_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\",kubernetes_namespace=~\"$NameSpace\"}[2m])) by (kubernetes_node) * 8",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ kubernetes_node }} : received",
          "metric": "network",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : network : receive",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:750",
          "format": "bps",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:751",
          "format": "Bps",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {
        "aks-default-28892471-vmss00000b : transmit": "blue",
        "aks-default-28892471-vmss00000e : transmit": "yellow"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "bps"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 8,
        "w": 12,
        "x": 12,
        "y": 34
      },
      "height": "200px",
      "hiddenSeries": false,
      "id": 96,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sideWidth": 200,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "sum(rate(node_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",kubernetes_node=~\"^$Node$\",kubernetes_namespace=~\"$NameSpace\"}[2m])) by (kubernetes_node) * 8",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ kubernetes_node }} : transmit",
          "metric": "network",
          "refId": "B",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : network  : transmit",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:750",
          "format": "bps",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:751",
          "format": "Bps",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 42
      },
      "id": 85,
      "panels": [],
      "title": "Containers stats for node : $Node",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {},
        "overrides": [
          {
            "matcher": {
              "id": "byType",
              "options": "number"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percentunit"
              }
            ]
          }
        ]
      },
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 0,
        "y": 43
      },
      "height": "",
      "hiddenSeries": false,
      "id": 76,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": true,
          "expr": "sum(rate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container=~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\", instance=~\"$Node\",pod=~\"$Pod\"}[2m])) by (origin_prometheus, instance, pod, container) / 4",
          "hide": false,
          "instant": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{origin_prometheus}} : {{instance}} {{ pod }} : {{ container}} : cpu",
          "metric": "container_cpu",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node :  cpu used ",
      "tooltip": {
        "msResolution": true,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5607",
          "format": "percentunit",
          "label": "",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5608",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "decbytes"
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 43
      },
      "hiddenSeries": false,
      "id": 78,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container=~\"^$Container$\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\",pod=~\"^$Pod$\"}) by (origin_prometheus, instance, pod, container)",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{pod}} : {{ container }} : wss",
          "metric": "container_memory_usage:sort_desc",
          "refId": "A",
          "step": 10
        },
        {
          "exemplar": true,
          "expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\",pod=~\"$Pod\"}) by (origin_prometheus, instance, pod, container)",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{ pod }} : {{ container }} : rss",
          "metric": "container_memory_usage:sort_desc",
          "refId": "B",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "$Node : mem used ",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5686",
          "format": "decbytes",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5687",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "decbytes"
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 54
      },
      "hiddenSeries": false,
      "id": 79,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "rate(container_fs_reads_bytes_total{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\",container=~\"$Container\",namespace=~\"$NameSpace\",instance=~\"^$Node$\",pod=~\"$Pod\"}[1m])",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{ pod }} : {{ container }} : {{device}} : reads",
          "metric": "container_memory_usage:sort_desc",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "fs reads",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5686",
          "format": "decbytes",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5687",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "unit": "decbytes"
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 12,
        "y": 54
      },
      "hiddenSeries": false,
      "id": 80,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "sum(rate(container_fs_writes_bytes_total{origin_prometheus=~\"$origin_prometheus\",container=~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\",pod=~\"$Pod\"}[2m])) by (pod, container)",
          "hide": true,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ pod }} : {{ container }} : {{devicewrites",
          "metric": "container_memory_usage:sort_desc",
          "refId": "B",
          "step": 10
        },
        {
          "exemplar": true,
          "expr": "rate(container_fs_writes_bytes_total{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"^$Node$\",pod=~\"$Pod\"}[1m])",
          "hide": false,
          "interval": "",
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{ pod }} : {{ container }} : {{device}} : writes",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": " fs writes",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5686",
          "format": "decbytes",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5687",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 0,
        "y": 63
      },
      "hiddenSeries": false,
      "id": 86,
      "interval": "30s",
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "rate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\",namespace=~\"$NameSpace\", name!=\"\", pod!~\"^prometheus-node-exporter.*\",pod=~\"$Pod\"} [1m]) ",
          "hide": false,
          "interval": "",
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{pod}} : received",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "network received",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5686",
          "format": "Bps",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5687",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 10,
        "w": 12,
        "x": 12,
        "y": 63
      },
      "hiddenSeries": false,
      "id": 88,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "rate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",instance=~\"^$Node$\",namespace=~\"$NameSpace\", name!=\"\",pod=~\"$Pod\"} [1m]) ",
          "interval": "",
          "legendFormat": "{{origin_prometheus}} : {{instance}} : {{pod}} : transmit",
          "refId": "A"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "network transmit",
      "tooltip": {
        "msResolution": false,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5686",
          "format": "Bps",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5687",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 0,
        "y": 73
      },
      "height": "",
      "hiddenSeries": false,
      "id": 89,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "container_cpu_cfs_throttled_periods_total{origin_prometheus=~\"^$origin_prometheus$\",namespace=~\"^$NameSpace$\",instance=~\"^$Node$\",container!~\"^$|.*init\"} / container_cpu_cfs_periods_total{origin_prometheus=~\"^$origin_prometheus$\",namespace=~\"^$NameSpace$\",instance=~\"^$Node$\"} >0",
          "hide": false,
          "instant": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ origin_prometheus }} : {{instance}} : {{namespace}} : {{ pod}} : {{container}} : cpu_throttled",
          "metric": "container_cpu",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "cpu cfs throttled ratio % ",
      "tooltip": {
        "msResolution": true,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5607",
          "format": "percentunit",
          "label": "",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5608",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "decimals": 2,
      "description": "This measures the number of times a container’s memory usage limit is hit. It is good practice to set container memory usage limits, to prevent memory intensive tasks from essentially starving other containers on the same server by using all the available memory.\nThis way, each container has a max amount of memory they can use, and tracking how many times a container hits its memory usage limit would help a user understand if the container memory limits need to be increased, or if debugging needs to be done in order to find the reason for the high memory consumptions.‍",
      "editable": true,
      "error": false,
      "fill": 0,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 73
      },
      "height": "",
      "hiddenSeries": false,
      "id": 92,
      "isNew": true,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.4.4",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "exemplar": true,
          "expr": "rate(container_memory_failcnt{origin_prometheus=~\"^$origin_prometheus$\",namespace=~\"^$NameSpace$\",instance=~\"^$Node$\",container!=\"\"} [1m])  >0",
          "hide": false,
          "instant": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ origin_prometheus }} : {{instance}} : {{namespace}} : {{ pod}} : {{container}} : mem_limit_hit",
          "metric": "container_cpu",
          "refId": "A",
          "step": 10
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "mem limit hits",
      "tooltip": {
        "msResolution": true,
        "shared": false,
        "sort": 2,
        "value_type": "cumulative"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:5607",
          "format": "cps",
          "label": "",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:5608",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_THANOS-MASTER}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto",
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "super-light-blue",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byRegexp",
              "options": "cpu used"
            },
            "properties": [
              {
                "id": "unit",
                "value": "short"
              },
              {
                "id": "decimals",
                "value": 2
              }
            ]
          },
          {
            "matcher": {
              "id": "byRegexp",
              "options": "^(rss|wss|mem) .*"
            },
            "properties": [
              {
                "id": "unit",
                "value": "decbytes"
              },
              {
                "id": "decimals",
                "value": 2
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "semi-dark-orange",
                      "value": 1024000000
                    },
                    {
                      "color": "semi-dark-red",
                      "value": 2048000000
                    }
                  ]
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cpu limit"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-text"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "semi-dark-orange",
                      "value": 0.5
                    },
                    {
                      "color": "semi-dark-red",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "mem limit"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "semi-dark-orange",
                      "value": 1024000000
                    },
                    {
                      "color": "semi-dark-red",
                      "value": 2048000000
                    }
                  ]
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-text"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pod"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 331
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 16,
        "w": 24,
        "x": 0,
        "y": 84
      },
      "id": 47,
      "options": {
        "footer": {
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true,
        "sortBy": [
          {
            "desc": false,
            "displayName": "pod"
          }
        ]
      },
      "pluginVersion": "8.4.4",
      "targets": [
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(irate(label_replace(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\"},\"the_container\",\"$1\",\"container\",\"(.*)\")[2m:])) by (the_container,pod,namespace)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "cpu",
          "refId": "Q"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",exported_pod=~\"$Pod\",exported_container =~\"$Container\",exported_namespace=~\"$NameSpace\",node=~\"$Node\",resource=\"cpu\"},\"the_container\",\"$1\",\"exported_container\",\"(.*)\")) by (the_container,exported_pod,exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "cpu request",
          "refId": "B"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",exported_pod=~\"$Pod\",exported_container =~\"$Container\",exported_namespace=~\"$NameSpace\",node=~\"$Node\",resource=\"cpu\"},\"the_container\",\"$1\",\"exported_container\",\"(.*)\")) by (the_container,exported_pod,exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "cpu limit",
          "refId": "C"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\"},\"the_container\",\"$1\",\"container\",\"(.*)\")) by (the_container, pod, namespace)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "wss",
          "refId": "D"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\",instance=~\"$Node\"},\"the_container\",\"$1\",\"container\",\"(.*)\")) by (the_container, pod, namespace)",
          "format": "table",
          "hide": true,
          "instant": true,
          "interval": "",
          "legendFormat": "rss",
          "refId": "K"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",exported_pod=~\"$Pod\",exported_container=~\"$Container\",exported_namespace=~\"$NameSpace\",node=~\"$Node\",resource=\"memory\"},\"the_container\",\"$1\",\"exported_container\",\"(.*)\")) by (the_container,exported_pod,exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "mem request",
          "refId": "E"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",exported_pod=~\"$Pod\",exported_container =~\"$Container\",exported_namespace=~\"$NameSpace\",node=~\"$Node\",resource=\"memory\"},\"the_container\",\"$1\",\"exported_container\",\"(.*)\")) by (the_container,exported_pod,exported_namespace)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "mem limit",
          "refId": "F"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_THANOS-MASTER}"
          },
          "exemplar": false,
          "expr": "sum(label_replace(kube_pod_container_status_running{origin_prometheus=~\"$origin_prometheus\"}  * on(exported_pod) group_left(node) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",node=~\"$Node\"},\"the_container\",\"$1\",\"exported_container\",\"(.*)\")) by (exported_namespace,exported_pod,the_container)",
          "format": "table",
          "hide": false,
          "instant": true,
          "interval": "",
          "legendFormat": "container",
          "refId": "A"
        }
      ],
      "title": "Ressources for node : $Node ",
      "transformations": [
        {
          "disabled": true,
          "id": "renameByRegex",
          "options": {
            "regex": "^pod$",
            "renamePattern": "exported_pod"
          }
        },
        {
          "disabled": true,
          "id": "renameByRegex",
          "options": {
            "regex": "^namespace$",
            "renamePattern": "exported_namespace"
          }
        },
        {
          "id": "merge",
          "options": {}
        },
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true,
              "Value #A": true
            },
            "indexByName": {},
            "renameByName": {
              "Value #B": "cpu req",
              "Value #C": "cpu limit",
              "Value #E": "mem req",
              "Value #F": "mem limit",
              "exported_namespace": "ns",
              "exported_pod": "pod",
              "the_container": "container"
            }
          }
        }
      ],
      "transparent": true,
      "type": "table"
    }
  ],
  "refresh": "5m",
  "schemaVersion": 35,
  "style": "dark",
  "tags": [
    "k8s",
    "ops",
    "thanos"
  ],
  "templating": {
    "list": [
      {
        "allValue": "",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_THANOS-MASTER}"
        },
        "definition": "label_values(origin_prometheus)",
        "hide": 0,
        "includeAll": false,
        "label": "cluster",
        "multi": true,
        "name": "origin_prometheus",
        "options": [],
        "query": {
          "query": "label_values(origin_prometheus)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_THANOS-MASTER}"
        },
        "definition": "label_values(kube_node_info{origin_prometheus=~\"^$origin_prometheus$\"},node)",
        "hide": 0,
        "includeAll": false,
        "label": "node",
        "multi": true,
        "name": "Node",
        "options": [],
        "query": {
          "query": "label_values(kube_node_info{origin_prometheus=~\"^$origin_prometheus$\"},node)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_THANOS-MASTER}"
        },
        "definition": "label_values(kube_namespace_labels{origin_prometheus=~\"$origin_prometheus\"},exported_namespace)",
        "hide": 0,
        "includeAll": true,
        "label": "ns",
        "multi": false,
        "name": "NameSpace",
        "options": [],
        "query": {
          "query": "label_values(kube_namespace_labels{origin_prometheus=~\"$origin_prometheus\"},exported_namespace)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".*",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_THANOS-MASTER}"
        },
        "definition": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",exported_namespace=~\"$NameSpace\"},exported_pod)",
        "hide": 0,
        "includeAll": true,
        "label": "pod",
        "multi": false,
        "name": "Pod",
        "options": [],
        "query": {
          "query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",exported_namespace=~\"$NameSpace\"},exported_pod)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "allValue": ".*",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_THANOS-MASTER}"
        },
        "definition": "label_values(kube_pod_container_info{origin_prometheus=~\"^$origin_prometheus$\",exported_namespace=~\"$NameSpace\",exported_pod=~\"$Pod\"},exported_container)",
        "hide": 0,
        "includeAll": true,
        "label": "container",
        "multi": false,
        "name": "Container",
        "options": [],
        "query": {
          "query": "label_values(kube_pod_container_info{origin_prometheus=~\"^$origin_prometheus$\",exported_namespace=~\"$NameSpace\",exported_pod=~\"$Pod\"},exported_container)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "k8s global metrics",
  "uid": "SpSQKcpMz",
  "version": 208,
  "weekStart": ""
}