System Common
System Common
{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__elements": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.3.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "$$hashKey": "object:485",
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": false,
        "hide": true,
        "iconColor": "#FFA6B0",
        "limit": 100,
        "matchAny": false,
        "name": "Annotations & Alerts",
        "showIn": 0,
        "tags": [],
        "type": "tags"
      },
      {
        "$$hashKey": "object:486",
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": false,
        "iconColor": "rgba(255, 96, 96, 1)",
        "limit": 100,
        "name": "deploy",
        "showIn": 0,
        "tags": [
          "deploy",
          "env=$environment"
        ],
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [
            "deploy",
            "env=$environment"
          ],
          "type": "tags"
        },
        "type": "tags"
      },
      {
        "$$hashKey": "object:487",
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": false,
        "iconColor": "#3274D9",
        "limit": 100,
        "name": "setup",
        "showIn": 0,
        "tags": [
          "setup",
          "env=$environment"
        ],
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [
            "setup",
            "env=$environment"
          ],
          "type": "tags"
        },
        "type": "tags"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1642070919646,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 9,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "current",
        "sortDesc": false,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.3.3",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "((node_filesystem_avail_bytes{host=~\"$host\", mountpoint!~\"/run(.*)|/boot/efi|/var/lib/lxcfs\"} * 100) / node_filesystem_size_bytes{host=~\"$host\", mountpoint!~\"/run(.*)|/boot/efi|/var/lib/lxcfs\"}) < 50",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{host}}: {{mountpoint}}",
          "refId": "A",
          "target": ""
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "lt",
          "value": 10,
          "yaxis": "left"
        }
      ],
      "timeRegions": [],
      "title": "Free Disk Space",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "logBase": 1,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 15,
        "x": 9,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 3,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": false,
        "min": false,
        "rightSide": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.3.3",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "(node_load1{host=~\"$host\"}*100 / count without(cpu, mode) (node_cpu_seconds_total{mode=\"idle\", host=~\"$host\"}))",
          "format": "time_series",
          "hide": false,
          "instant": false,
          "intervalFactor": 1,
          "legendFormat": "{{ host }}",
          "refId": "A",
          "target": ""
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 90,
          "yaxis": "left"
        }
      ],
      "timeRegions": [],
      "title": "Load Average Normalized",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "logBase": 1,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 7,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.3.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeat": "host",
      "repeatDirection": "v",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(node_disk_io_time_seconds_total{host=~'$host',device!~'tmpfs',device!~'by-uuid'}[1m])*100 or irate(node_disk_io_time_ms{host=~'$host',device!~'tmpfs',device!~'by-uuid'}[1m])/10",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{ host }}: {{device}}",
          "refId": "A"
        }
      ],
      "thresholds": [
        {
          "$$hashKey": "object:631",
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "gt",
          "value": 100,
          "yaxis": "left"
        }
      ],
      "timeRegions": [],
      "title": "Disk Utilization on $host",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:608",
          "format": "percent",
          "logBase": 1,
          "show": true
        },
        {
          "$$hashKey": "object:609",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {
        "receive_packets_eth0": "#7EB26D",
        "receive_packets_lo": "#E24D42",
        "transmit_packets_eth0": "#7EB26D",
        "transmit_packets_lo": "#E24D42"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 2,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 8,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 5,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sideWidth": 300,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.3.3",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "host",
      "repeatDirection": "v",
      "seriesOverrides": [
        {
          "alias": "/.*Trans.*/",
          "transform": "negative-Y"
        },
        {
          "alias": "/.*lo.*/",
          "color": "#7EB26D"
        },
        {
          "alias": "/.*eth0.*/",
          "color": "#EAB839"
        },
        {
          "alias": "/.*eth1.*/",
          "color": "#6ED0E0"
        },
        {
          "alias": "/.*eth2.*/",
          "color": "#EF843C"
        },
        {
          "alias": "/.*eth3.*/",
          "color": "#E24D42"
        },
        {
          "alias": "/.*eth4.*/",
          "color": "#1F78C1"
        },
        {
          "alias": "/.*eth5.*/",
          "color": "#BA43A9"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "irate(node_network_receive_bytes_total{host=~\"$host\",device!~\"lo|veth.+\"}[1m])",
          "format": "time_series",
          "instant": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{device}} - Receive",
          "refId": "O",
          "step": 4
        },
        {
          "expr": "irate(node_network_transmit_bytes_total{host=~\"$host\",device!~\"lo|veth.+\"}[1m])",
          "format": "time_series",
          "hide": false,
          "interval": "",
          "intervalFactor": 1,
          "legendFormat": "{{device}} - Transmit",
          "refId": "P",
          "step": 4
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Network Utilization on $host",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "Bps",
          "label": "Packets out (-) / in (+)",
          "logBase": 1,
          "show": true
        },
        {
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": {
        "type": "prometheus",
        "uid": "${DS_PROMETHEUS}"
      },
      "fieldConfig": {
        "defaults": {
          "links": []
        },
        "overrides": []
      },
      "fill": 10,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 16,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 9,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 4,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.3.3",
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "host",
      "repeatDirection": "v",
      "seriesOverrides": [
        {
          "$$hashKey": "object:3374",
          "alias": "MemTotal",
          "color": "#bf1b00",
          "fill": 0
        },
        {
          "$$hashKey": "object:3375",
          "alias": "MemAvailable",
          "color": "#629e51"
        },
        {
          "$$hashKey": "object:3376",
          "alias": "MemFree",
          "color": "#3f6833"
        },
        {
          "$$hashKey": "object:3377",
          "alias": "SwapCached",
          "color": "#58140c"
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "node_memory_MemAvailable_bytes{host=~\"$host\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "MemAvailable",
          "refId": "B"
        },
        {
          "expr": "node_memory_MemFree_bytes{host=~\"$host\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "MemFree",
          "refId": "A"
        },
        {
          "expr": "node_memory_SwapCached_bytes{host=~\"$host\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "SwapCached",
          "refId": "C"
        },
        {
          "expr": "node_memory_MemTotal_bytes{host=~\"$host\"}",
          "format": "time_series",
          "intervalFactor": 1,
          "legendFormat": "MemTotal",
          "refId": "D"
        }
      ],
      "thresholds": [],
      "timeRegions": [],
      "title": "Memory Available on $host",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "mode": "time",
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:3410",
          "format": "bytes",
          "logBase": 1,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:3411",
          "format": "short",
          "logBase": 1,
          "show": false
        }
      ],
      "yaxis": {
        "align": false
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 34,
  "style": "dark",
  "tags": [
    "prometheus"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS}"
        },
        "definition": "label_values(environment)",
        "hide": 0,
        "includeAll": false,
        "multi": false,
        "name": "environment",
        "options": [],
        "query": {
          "query": "label_values(environment)",
          "refId": "Prometheus-environment-Variable-Query"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": ".+",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS}"
        },
        "definition": "label_values(machine_role, role)",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "group",
        "options": [],
        "query": {
          "query": "label_values(machine_role, role)",
          "refId": "Prometheus-group-Variable-Query"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": {
          "type": "prometheus",
          "uid": "${DS_PROMETHEUS}"
        },
        "definition": "label_values(node_load1{env=\"$environment\"}, host)",
        "hide": 0,
        "includeAll": true,
        "multi": true,
        "name": "host",
        "options": [],
        "query": {
          "query": "label_values(node_load1{env=\"$environment\"}, host)",
          "refId": "Prometheus-host-Variable-Query"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "System Common",
  "uid": "B9z15Oliz",
  "version": 35,
  "weekStart": "",
  "gnetId": 15537,
  "description": "System Common"
}