Grafana dashboard: ras_test_dashboard
Description: Prls RAS monitoring dashboard example


{
  "__inputs": [
    {
      "name": "DS_RAS_INFLUX",
      "label": "ras_influx",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "alertlist",
      "name": "Alert List",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.4.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": 3039,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": false,
  "rows": [
    {
      "collapse": false,
      "height": 272,
      "panels": [
        {
          "alert": {
            "conditions": [
              {
                "evaluator": {
                  "params": [
                    9000
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "and"
                },
                "query": {
                  "params": [
                    "A",
                    "1m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "max"
                },
                "type": "query"
              },
              {
                "evaluator": {
                  "params": [
                    9000
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "or"
                },
                "query": {
                  "params": [
                    "B",
                    "1m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "max"
                },
                "type": "query"
              },
              {
                "evaluator": {
                  "params": [
                    9000
                  ],
                  "type": "gt"
                },
                "operator": {
                  "type": "or"
                },
                "query": {
                  "params": [
                    "C",
                    "1m",
                    "now"
                  ]
                },
                "reducer": {
                  "params": [],
                  "type": "max"
                },
                "type": "query"
              }
            ],
            "executionErrorState": "alerting",
            "frequency": "5s",
            "handler": 1,
            "message": "ras cpu alert!",
            "name": "CPU measurements alert",
            "noDataState": "no_data",
            "notifications": []
          },
          "aliasColors": {
            "test": "#E24D42"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_RAS_INFLUX}",
          "fill": 1,
          "id": 1,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 2,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "test",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "lt1",
              "dsType": "influxdb",
              "groupBy": [],
              "hide": false,
              "measurement": "client_metric",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "cpu"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "username",
                  "operator": "=",
                  "value": "Loadtester1"
                }
              ]
            },
            {
              "alias": "lt2",
              "dsType": "influxdb",
              "groupBy": [],
              "hide": false,
              "measurement": "client_metric",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "cpu"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "username",
                  "operator": "=",
                  "value": "Loadtester2"
                }
              ]
            },
            {
              "alias": "lt5",
              "dsType": "influxdb",
              "groupBy": [],
              "hide": false,
              "measurement": "client_metric",
              "orderByTime": "ASC",
              "policy": "default",
              "refId": "C",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "cpu"
                    ],
                    "type": "field"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "username",
                  "operator": "=",
                  "value": "Loadtester5"
                }
              ]
            }
          ],
          "thresholds": [
            {
              "colorMode": "critical",
              "fill": true,
              "line": true,
              "op": "gt",
              "value": 9000
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU measurements",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "id": 2,
          "limit": 10,
          "links": [],
          "onlyAlertsOnDashboard": false,
          "show": "current",
          "sortOrder": 1,
          "span": 12,
          "stateFilter": [],
          "title": "CPU alerts",
          "type": "alertlist"
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "2017-08-15T16:03:52.467Z",
    "to": "2017-08-15T17:21:15.222Z"
  },
  "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": "ras_test_dashboard",
  "version": 10,
  "description": "Prls RAS monitoring dashboard example"
}