Grafana dashboard: croit - Main Dashboard

You can find more Informations at https://github.com/croit/grafana-dashboards

{
  "__inputs": [
    {
      "name": "DS_CROIT",
      "label": "croit",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.5.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "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": 3503,
  "graphTooltip": 0,
  "hideControls": true,
  "id": 1,
  "links": [],
  "refresh": "5m",
  "rows": [
    {
      "collapse": false,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "decimals": null,
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {},
          "id": 3,
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [
            {
              "dashUri": "db/croit-per-pool-stats",
              "dashboard": "croit - Per-Pool Stats",
              "keepTime": true,
              "title": "Per-Pool Stats",
              "type": "dashboard"
            }
          ],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(croit-ceph-mons.ceph.disk_ops-total.read, 'Read')",
              "textEditor": true
            },
            {
              "refId": "B",
              "target": "alias(croit-ceph-mons.ceph.disk_ops-total.write, 'Write')",
              "textEditor": true
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "IOPS",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "iops",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {},
          "id": 4,
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [
            {
              "dashUri": "db/croit-per-pool-stats",
              "dashboard": "croit - Per-Pool Stats",
              "keepTime": true,
              "title": "Per-Pool Stats",
              "type": "dashboard"
            }
          ],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(croit-ceph-mons.ceph.disk_octets-total.read, 'Read')",
              "textEditor": true
            },
            {
              "refId": "B",
              "target": "alias(croit-ceph-mons.ceph.disk_octets-total.write, 'Write')",
              "textEditor": true
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Bandwidth",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "Bps",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "alert": {
            "conditions": [
              {
                "evaluator": {
                  "params": [
                    3000000
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "and"
                },
                "query": {
                  "params": [
                    "B",
                    "5m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "avg"
                },
                "type": "query"
              }
            ],
            "executionErrorState": "alerting",
            "frequency": "60s",
            "handler": 1,
            "name": "Operation Latency alert",
            "noDataState": "no_data",
            "notifications": []
          },
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "height": "",
          "id": 6,
          "legend": {
            "avg": false,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [
            {
              "dashUri": "db/croit-latency-overview",
              "dashboard": "croit - Latency Overview",
              "keepTime": true,
              "title": "croit - Latency Overview",
              "type": "dashboard"
            }
          ],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "hide": false,
              "refId": "B",
              "target": "alias(percentileOfSeries(croit-ceph-mons.ceph-osd-*-op_latency.latency, 99), '99. Percentile')",
              "textEditor": true
            },
            {
              "hide": false,
              "refId": "C",
              "target": "alias(percentileOfSeries(croit-ceph-mons.ceph-osd-*-op_latency.latency, 90), '90. Percentile')",
              "textEditor": true
            },
            {
              "hide": false,
              "refId": "D",
              "target": "alias(percentileOfSeries(croit-ceph-mons.ceph-osd-*-op_latency.latency, 50), '50. Percentile')",
              "textEditor": true
            }
          ],
          "thresholds": [
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 3000000
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Operation Latency",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": null,
              "format": "µs",
              "label": "",
              "logBase": 10,
              "max": null,
              "min": "100",
              "show": true
            },
            {
              "format": "short",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {},
          "id": 5,
          "legend": {
            "avg": true,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Objects",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(croit-ceph-mons.ceph.bytes-recovery, 'Bytes')",
              "textEditor": true
            },
            {
              "refId": "B",
              "target": "alias(croit-ceph-mons.ceph.objects-recovery, 'Objects')",
              "textEditor": true
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Recovery",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "Bps",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "ops",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {},
          "height": "",
          "id": 8,
          "legend": {
            "avg": false,
            "current": true,
            "hideEmpty": true,
            "hideZero": true,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null as zero",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Objects",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "aliasSub(exclude(exclude(croit-ceph-mons.ceph.gauge-pgs-*, '.*active$'), '.*clean$'), \".+\\pgs-(\\w+)\", \"\\1\")",
              "textEditor": true
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "PG State",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "none",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "ops",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            }
          ]
        },
        {
          "alert": {
            "conditions": [
              {
                "evaluator": {
                  "params": [
                    0
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "and"
                },
                "query": {
                  "params": [
                    "B",
                    "1m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "max"
                },
                "type": "query"
              },
              {
                "evaluator": {
                  "params": [
                    0
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "or"
                },
                "query": {
                  "params": [
                    "A",
                    "1m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "max"
                },
                "type": "query"
              }
            ],
            "executionErrorState": "alerting",
            "frequency": "60s",
            "handler": 1,
            "name": "OSD State alert",
            "noDataState": "no_data",
            "notifications": []
          },
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 1,
          "grid": {},
          "height": "",
          "id": 9,
          "legend": {
            "avg": false,
            "current": true,
            "hideEmpty": true,
            "hideZero": false,
            "max": true,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "Objects",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "A",
              "target": "alias(diffSeries(croit-ceph-mons.ceph.gauge-osds, croit-ceph-mons.ceph.gauge-osds-in), \"Out\")",
              "textEditor": true
            },
            {
              "refId": "B",
              "target": "alias(diffSeries(croit-ceph-mons.ceph.gauge-osds, croit-ceph-mons.ceph.gauge-osds-up), \"Down\")",
              "textEditor": true
            }
          ],
          "thresholds": [
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 0
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "OSD State",
          "tooltip": {
            "msResolution": false,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "transparent": false,
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "none",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            },
            {
              "format": "ops",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "Cluster stats",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "height": "800",
          "id": 7,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "hideEmpty": true,
            "max": true,
            "min": false,
            "show": true,
            "sort": "current",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [
            {
              "dashUri": "db/croit-disk-overview",
              "dashboard": "croit - Disk Overview",
              "keepTime": true,
              "title": "Disk Overview",
              "type": "dashboard"
            }
          ],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "/OSD/",
              "color": "#5195CE"
            }
          ],
          "spaceLength": 10,
          "span": 4,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "refId": "B",
              "target": "aliasSub(exclude(exclude(exclude(exclude(exclude(croit-server-*.df-*.percent_bytes-used, 'cephfs'), 'var-lib-ceph-mon'), 'squashfs'), 'root'), 'tmp-mnt'), '.*ceph\\-osd\\-ceph\\-(\\d*).*', 'OSD \\1 Disk Usage')",
              "textEditor": true
            }
          ],
          "thresholds": [
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgb(219, 121, 18)",
              "op": "gt",
              "value": 75
            },
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgb(255, 0, 0)",
              "op": "gt",
              "value": 90
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Data Balance",
          "tooltip": {
            "msResolution": true,
            "shared": false,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": "",
              "logBase": 1,
              "max": 100,
              "min": null,
              "show": true
            },
            {
              "format": "ops",
              "logBase": 1,
              "max": null,
              "min": 0,
              "show": false
            }
          ]
        },
        {
          "columns": [
            {
              "text": "Avg",
              "value": "avg"
            },
            {
              "text": "Current",
              "value": "current"
            }
          ],
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fontSize": "100%",
          "height": "800px",
          "id": 2,
          "links": [
            {
              "dashUri": "db/croit-disk-overview",
              "dashboard": "croit - Disk Overview",
              "keepTime": true,
              "targetBlank": false,
              "title": "Disk Overview",
              "type": "dashboard"
            }
          ],
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 2,
            "desc": true
          },
          "span": 4,
          "styles": [
            {
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Metric",
              "type": "string"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "decimals": 0,
              "pattern": "/.*/",
              "thresholds": [
                "50",
                "80"
              ],
              "type": "number",
              "unit": "percent"
            }
          ],
          "targets": [
            {
              "hide": false,
              "refId": "C",
              "target": "aliasSub(scale(removeAboveValue(averageSeriesWithWildcards(croit-server-*.disk-*.disk_io_time.io_time, 1), 1010), 0.1), 'scale\\(removeAboveValue\\(croit-server-([^.]*)\\.disk.*', 'Server \\1')",
              "textEditor": true
            }
          ],
          "title": "IO Load",
          "transform": "timeseries_aggregations",
          "transparent": false,
          "type": "table"
        },
        {
          "columns": [
            {
              "text": "Avg",
              "value": "avg"
            },
            {
              "text": "Current",
              "value": "current"
            }
          ],
          "datasource": "${DS_CROIT}",
          "editable": true,
          "error": false,
          "fontSize": "100%",
          "height": "800px",
          "id": 1,
          "links": [
            {
              "dashUri": "db/croit-cpu-overview",
              "dashboard": "croit - CPU Overview",
              "keepTime": true,
              "targetBlank": true,
              "title": "CPU Overview",
              "type": "dashboard"
            }
          ],
          "pageSize": null,
          "scroll": true,
          "showHeader": true,
          "sort": {
            "col": 2,
            "desc": true
          },
          "span": 4,
          "styles": [
            {
              "dateFormat": "YYYY-MM-DD HH:mm:ss",
              "pattern": "Metric",
              "type": "string"
            },
            {
              "colorMode": "cell",
              "colors": [
                "rgba(50, 172, 45, 0.97)",
                "rgba(237, 129, 40, 0.89)",
                "rgba(245, 54, 54, 0.9)"
              ],
              "decimals": 0,
              "pattern": "/.*/",
              "thresholds": [
                "50",
                "80"
              ],
              "type": "number",
              "unit": "percent"
            }
          ],
          "targets": [
            {
              "refId": "C",
              "target": "aliasSub(averageSeriesWithWildcards(croit-server-*.cpu-*.percent-active, 1), 'croit-server-([^.]*)\\.percent.*', 'Server \\1')",
              "textEditor": true
            }
          ],
          "title": "CPU Load",
          "transform": "timeseries_aggregations",
          "transparent": false,
          "type": "table"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": true,
      "title": "Server stats",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-12h",
    "to": "now"
  },
  "timepicker": {
    "now": true,
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "croit - Main Dashboard",
  "version": 4
}