Grafana dashboard: Cloud Total Memory Usage
Description: For use with OpenStack Nodes and displays total memory usage across several nodes types: Undercloud, Controllers, CephStorage Nodes, ObjectStorage Nodes, and Compute Nodes.


{
  "__inputs": [
    {
      "name": "DS_RDU_PERF GRAPHITE",
      "label": "Graphite",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.6.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "1.0.0"
    },
    {
      "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",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 4848,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "rows": [
    {
      "collapse": false,
      "height": "75px",
      "panels": [
        {
          "content": "**This dashboard is provided by Browbeat and managed via Grafyaml**",
          "editable": true,
          "error": false,
          "id": 1,
          "mode": "markdown",
          "span": 12,
          "title": "Browbeat provided Dashboard",
          "type": "text"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "description row",
      "titleSize": "h6"
    },
    {
      "collapse": true,
      "height": "250px",
      "panels": [
        {
          "bars": false,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 2,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias($Cloud.undercloud.memory.memory-slab_unrecl, 'Slab Unrecl')"
            },
            {
              "refId": "B",
              "target": "alias($Cloud.undercloud.memory.memory-used, 'Used')"
            },
            {
              "refId": "C",
              "target": "alias($Cloud.undercloud.memory.memory-buffered, 'Buffered')"
            },
            {
              "refId": "D",
              "target": "alias($Cloud.undercloud.memory.memory-slab_recl, 'Slab Recl')"
            },
            {
              "refId": "E",
              "target": "alias($Cloud.undercloud.memory.memory-cached, 'Cached')"
            },
            {
              "refId": "F",
              "target": "alias($Cloud.undercloud.memory.memory-free, 'Free')"
            }
          ],
          "title": "Undercloud Memory Usage",
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "yaxes": [
            {
              "format": "bits",
              "label": "",
              "logBase": 1,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "Undercloud Memory Usage",
      "titleSize": "h6"
    },
    {
      "collapse": true,
      "height": "250px",
      "panels": [
        {
          "bars": false,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 3,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-slab_unrecl), 'Slab Unrecl')"
            },
            {
              "refId": "B",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-used), 'Used')"
            },
            {
              "refId": "C",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-buffered), 'Buffered')"
            },
            {
              "refId": "D",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-slab_recl), 'Slab Recl')"
            },
            {
              "refId": "E",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-cached), 'Cached')"
            },
            {
              "refId": "F",
              "target": "alias(sumSeries($Cloud.overcloud-controller-*.memory.memory-free), 'Free')"
            }
          ],
          "title": "Total Controller Memory Usage",
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "yaxes": [
            {
              "format": "bits",
              "label": "",
              "logBase": 1,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "Controller Total Memory Usage",
      "titleSize": "h6"
    },
    {
      "collapse": true,
      "height": "250px",
      "panels": [
        {
          "bars": false,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 4,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-slab_unrecl), 'Slab Unrecl')"
            },
            {
              "refId": "B",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-used), 'Used')"
            },
            {
              "refId": "C",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-buffered), 'Buffered')"
            },
            {
              "refId": "D",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-slab_recl), 'Slab Recl')"
            },
            {
              "refId": "E",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-cached), 'Cached')"
            },
            {
              "refId": "F",
              "target": "alias(sumSeries($Cloud.overcloud-cephstorage-*.memory.memory-free), 'Free')"
            }
          ],
          "title": "Total CephStorage Memory Usage",
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "yaxes": [
            {
              "format": "bits",
              "label": "",
              "logBase": 1,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "CephStorage Total Memory Usage",
      "titleSize": "h6"
    },
    {
      "collapse": true,
      "height": "250px",
      "panels": [
        {
          "bars": false,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 5,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-slab_unrecl), 'Slab Unrecl')"
            },
            {
              "refId": "B",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-used), 'Used')"
            },
            {
              "refId": "C",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-buffered), 'Buffered')"
            },
            {
              "refId": "D",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-slab_recl), 'Slab Recl')"
            },
            {
              "refId": "E",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-cached), 'Cached')"
            },
            {
              "refId": "F",
              "target": "alias(sumSeries($Cloud.overcloud-objectstorage-*.memory.memory-free), 'Free')"
            }
          ],
          "title": "Total ObjectStorage Memory Usage",
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "yaxes": [
            {
              "format": "bits",
              "label": "",
              "logBase": 1,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "ObjectStorage Total Memory Usage",
      "titleSize": "h6"
    },
    {
      "collapse": true,
      "height": "250px",
      "panels": [
        {
          "bars": false,
          "editable": true,
          "error": false,
          "fill": 1,
          "id": 6,
          "legend": {
            "alignAsTable": true,
            "avg": false,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "span": 12,
          "stack": true,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-slab_unrecl), 'Slab Unrecl')"
            },
            {
              "refId": "B",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-used), 'Used')"
            },
            {
              "refId": "C",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-buffered), 'Buffered')"
            },
            {
              "refId": "D",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-slab_recl), 'Slab Recl')"
            },
            {
              "refId": "E",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-cached), 'Cached')"
            },
            {
              "refId": "F",
              "target": "alias(sumSeries($Cloud.overcloud-compute-*.memory.memory-free), 'Free')"
            }
          ],
          "title": "Total Compute Memory Usage",
          "type": "graph",
          "x-axis": true,
          "y-axis": true,
          "yaxes": [
            {
              "format": "bits",
              "label": "",
              "logBase": 1,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "Compute Total Memory Usage",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "enabled": true,
    "list": [
      {
        "allFormat": "glob",
        "allValue": null,
        "current": {},
        "datasource": "${DS_RDU_PERF GRAPHITE}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Cloud",
        "options": [],
        "query": "*",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "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": "utc",
  "title": "Cloud Total Memory Usage",
  "version": 2,
  "description": "For use with OpenStack Nodes and displays total memory usage across several nodes types: Undercloud, Controllers, CephStorage Nodes, ObjectStorage Nodes, and Compute Nodes."
}