Skip to content
cuigh edited this page Dec 16, 2021 · 1 revision

Common charts

Container count

{
  "title": "Container count",
  "desc": "Container count",
  "dashboard": "home",
  "type": "gauge",
  "unit": "",
  "width": 4,
  "height": 200,
  "margin": {},
  "metrics": [
    {
      "legend": "",
      "query": "count(container_last_seen{image!=\"\"})"
    }
  ]
}

Node load in 1 minute

{
  "title": "Node load in 1 minute",
  "desc": "Node load in 1 minute",
  "dashboard": "home",
  "type": "line",
  "unit": "percent:1",
  "width": 12,
  "height": 200,
  "margin": {
    "left": 42
  },
  "metrics": [
    {
      "legend": "${host_ip}",
      "query": "node_load1"
    }
  ],
}

Available memory of nodes

{
  "title": "Available memory of nodes",
  "desc": "Available memory of nodes",
  "dashboard": "home",
  "type": "pie",
  "unit": "size:bytes",
  "width": 4,
  "height": 200,
  "margin": {},
  "metrics": [
    {
      "legend": "${host_ip}",
      "query": "node_memory_MemAvailable_bytes"
    }
  ]
}
Clone this wiki locally