Grafana dashboard: Gatling_UMS
Description: New to Grafana


{
  "__inputs": [
    {
      "name": "DS_GATLINGDB",
      "label": "gatlingdb",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.3.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": []
  },
  "editable": true,
  "gnetId": 8364,
  "graphTooltip": 1,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": "10s",
  "rows": [
    {
      "collapse": false,
      "height": "200px",
      "panels": [
        {
          "aliasColors": {
            "KO": "#BF1B00",
            "OK": "#508642",
            "activeUsers": "#FCE2DE",
            "all": "#CCA300",
            "gatling.RPS {status: all}": "#F4D598",
            "gatling.RPS {status: ko}": "#BF1B00",
            "gatling.RPS {status: ok}": "#7EB26D",
            "gatling.activeUsers": "#FCE2DE",
            "gatling.all": "#EAB839",
            "gatling.doneUsers": "#BA43A9",
            "gatling.hb.allRequests.all.count.mean": "#EAB839",
            "gatling.hb.allRequests.ko.count.mean": "#BF1B00",
            "gatling.hb.allRequests.ok.count.mean": "#7EB26D",
            "gatling.ko": "#BF1B00",
            "gatling.ok": "#7EB26D"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GATLINGDB}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "id": 4,
          "interval": ">5s",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "activeUsers",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "gatling",
              "policy": "default",
              "query": "SELECT sum(\"count\")/5 as \"RPS\" FROM \"gatling\" WHERE  \"request\" = 'allRequests' AND $timeFilter GROUP BY time($interval), \"status\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "count"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "status",
                  "operator": "=",
                  "value": "all"
                }
              ]
            },
            {
              "alias": "activeUsers",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "gatling",
              "policy": "default",
              "query": "SELECT sum(\"active\") as \"activeUsers\" FROM \"gatling\" WHERE \"scenario\" = 'allUsers' and $timeFilter GROUP BY time($interval) fill(null)",
              "rawQuery": true,
              "refId": "D",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "active"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "ALL, OK & KO RPS",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": "RPS",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": "#Users",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "KO": "#BF1B00",
            "gatling.KO": "#BF1B00",
            "gatling.OK {status: ko}": "#BF1B00",
            "gatling.OK {status: ok}": "#7EB26D",
            "gatling.RT {status: ko}": "#BF1B00",
            "gatling.RT {status: ok}": "#7EB26D",
            "gatling.hb.allRequests.ko.mean.mean": "#BF1B00"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GATLINGDB}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "id": 2,
          "interval": ">5s",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 1,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "gatling",
              "policy": "default",
              "query": "SELECT mean(\"mean\") as \"RT\" FROM \"gatling\" WHERE (\"status\" = 'ok' or \"status\" = 'ko')  AND $timeFilter GROUP BY time($interval), \"status\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "mean"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "status",
                  "operator": "=",
                  "value": "ok"
                }
              ]
            }
          ],
          "thresholds": [
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgba(35, 27, 216, 0.52)",
              "op": "gt",
              "value": 500
            },
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgba(241, 37, 10, 0.52)",
              "op": "gt",
              "value": 1000
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Average response time",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": "Response Time",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "ms",
              "max": null,
              "min": null,
              "show": false
            }
          ]
        },
        {
          "aliasColors": {
            "KO": "#BF1B00",
            "OK": "#508642",
            "activeUsers": "#FCE2DE",
            "all": "#CCA300",
            "gatling.RPS {status: all}": "#F4D598",
            "gatling.RPS {status: ko}": "#BF1B00",
            "gatling.RPS {status: ok}": "#7EB26D",
            "gatling.activeUsers": "#FCE2DE",
            "gatling.all": "#EAB839",
            "gatling.doneUsers": "#BA43A9",
            "gatling.hb.allRequests.all.count.mean": "#EAB839",
            "gatling.hb.allRequests.ko.count.mean": "#BF1B00",
            "gatling.hb.allRequests.ok.count.mean": "#7EB26D",
            "gatling.ko": "#BF1B00",
            "gatling.ok": "#7EB26D"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GATLINGDB}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "height": "450",
          "id": 11,
          "interval": ">5s",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "sort": "max",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "activeUsers",
              "yaxis": 2
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "hide": false,
              "measurement": "gatling",
              "policy": "default",
              "query": "SELECT sum(\"count\")/5 as \"RPS\" FROM \"gatling\" WHERE (\"status\" = 'ok' or \"status\" = 'ko')  AND  $timeFilter and \"request\" <> 'allRequests' GROUP BY time($interval), \"status\", \"request\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "count"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "status",
                  "operator": "=",
                  "value": "all"
                }
              ]
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Individual RPS",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": "RPS",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": "#Users",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "KO": "#BF1B00",
            "gatling.KO": "#BF1B00",
            "gatling.OK {status: ko}": "#BF1B00",
            "gatling.OK {status: ok}": "#7EB26D",
            "gatling.RT {status: ko}": "#BF1B00",
            "gatling.RT {status: ok}": "#7EB26D",
            "gatling.hb.allRequests.ko.mean.mean": "#BF1B00"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GATLINGDB}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "height": "450",
          "id": 12,
          "interval": ">5s",
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": false,
            "show": true,
            "sort": "max",
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": false,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 1,
          "points": true,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "measurement": "gatling",
              "policy": "default",
              "query": "SELECT mean(\"mean\") as \"RT\" FROM \"gatling\" WHERE (\"status\" = 'ok' or \"status\" = 'ko')  and \"request\" <> 'allRequests' AND $timeFilter GROUP BY time($interval), \"request\", \"status\" fill(null)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "mean"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": [
                {
                  "key": "status",
                  "operator": "=",
                  "value": "ok"
                }
              ]
            }
          ],
          "thresholds": [
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgba(35, 27, 216, 0.52)",
              "op": "gt",
              "value": 500
            },
            {
              "colorMode": "custom",
              "line": true,
              "lineColor": "rgba(241, 37, 10, 0.52)",
              "op": "gt",
              "value": 1000
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Individual response time",
          "tooltip": {
            "msResolution": true,
            "shared": true,
            "sort": 0,
            "value_type": "cumulative"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": "Response Time",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "ms",
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "New row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": "200px",
      "panels": [
        {
          "aliasColors": {
            "interface_tx": "#BF1B00"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_GATLINGDB}",
          "editable": true,
          "error": false,
          "fill": 0,
          "grid": {},
          "id": 5,
          "interval": ">10s",
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 2,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "policy": "default",
              "query": "SELECT non_negative_derivative(sum(\"value\"), 1s) AS \"value\" FROM \"interface_rx\" WHERE  \"type\" = 'if_octets' AND \"instance\" = 'eth0' and \"host\" =~ /^east/  and $timeFilter group by time(10s)",
              "rawQuery": true,
              "refId": "A",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            },
            {
              "dsType": "influxdb",
              "groupBy": [
                {
                  "params": [
                    "$interval"
                  ],
                  "type": "time"
                },
                {
                  "params": [
                    "null"
                  ],
                  "type": "fill"
                }
              ],
              "policy": "default",
              "query": "SELECT -1*non_negative_derivative(sum(\"value\"), 1s) AS \"value\" FROM \"interface_tx\" WHERE  \"type\" = 'if_octets' AND \"instance\" = 'eth0'  and \"host\" =~ /^east/ and $timeFilter group by time(10s)",
              "rawQuery": true,
              "refId": "B",
              "resultFormat": "time_series",
              "select": [
                [
                  {
                    "params": [
                      "value"
                    ],
                    "type": "field"
                  },
                  {
                    "params": [],
                    "type": "mean"
                  }
                ]
              ],
              "tags": []
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Gatling network",
          "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",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "New row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "collapse": false,
    "enable": true,
    "notice": false,
    "now": true,
    "nowDelay": "",
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "status": "Stable",
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ],
    "type": "timepicker"
  },
  "timezone": "browser",
  "title": "Gatling_UMS",
  "version": 1,
  "description": "New to Grafana"
}