Grafana dashboard: Gatling Report
Description: Gatling Report

# Demo
Open model: [Gatling Grafana Report openmodel-rampusers2](http://84.201.161.113:3000/d/gatling/grafana-report?orgId=1&time=1581524251000&time.window=288s&var-run=2020-02-12_19:15&var-simulation=openmodel-rampusers2&var-loadstation=All&from=1581524109997&to=1581524252498)

Closed model: [Gatling Grafana Report closemodel-incrementconcurrentusers](http://84.201.161.113:3000/d/gatling/grafana-report?orgId=1&time=1585232003000&time.window=1388s&var-run=2020-03-26_17:00&var-simulation=closemodel-incrementconcurrentusers&var-loadstation=All&from=1585231309000&to=1585232010127)

# Install

Use Grafana 6.5 - 6.7 for develop, modification and work.

Use Grafana 7.0.3 beta for work and small modification: Grafana 7.0 did not support creating links with `${cell}` params in URL, but support vew and modify links with `${cell}` in *Table Panel Old* (backward compatibility).

Example docker containter start with plugins and settings:
[ /devenv/devenv.run.grafana.sh ](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/devenv.run.grafana.sh)

```
#!/bin/sh -x

git clone https://github.com/polarnik/gatling-grafana-dashboard.git
cd gatling-grafana-dashboard/devenv

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
ID=$(id -u)

docker network create loadlab
docker pull grafana/grafana

docker run --name=grafana \
 --network=loadlab --user $ID -p 3000:3000 \
 -v "$DIR/grafana.ini":/etc/grafana/grafana.ini \
 -v "$DIR/plugins":/var/lib/grafana/plugins \
 -v "$DIR/provisioning":/etc/grafana/provisioning \
 -v "$DIR/var/lib/grafana":/var/lib/grafana \
 -v "$DIR/usr/share/grafana":/var/usr/share/grafana \
 -v "$DIR/var/log/grafana":/var/log/grafana \
 grafana/grafana
```

0. Change datasource settings in [/devenv/provisioning/datasources/influxdb-Gatling_TCP.yml](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/provisioning/datasources/influxdb-Gatling_TCP.yml) - for example set `basicAuth: false` and `database: gatling`
1. Open [http://localhost:3000/d/gatlingTrendWithLink](http://localhost:3000/d/gatlingTrendWithLink), demo link: [http://84.201.161.113:3000/d/gatlingTrendLink](http://84.201.161.113:3000/d/gatlingTrendLink)
2. Select Test Run in Navigate menu, go to link [http://localhost:3000/d/gatling/](http://localhost:3000/d/gatling/)...some...params...
3. View http://localhost:3000/d/gatling report

Default admin password in grafana.ini:
* admin_user = [/devenv/grafana.ini#L158](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/grafana.ini#L158)
* admin_password = [/devenv/grafana.ini#L161](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/grafana.ini#L161)

# Source code and developer environment

* [https://github.com/polarnik/gatling-grafana-dashboard](https://github.com/polarnik/gatling-grafana-dashboard)
* [https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/provisioning/dashboards/json/gatlingNew.json](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/provisioning/dashboards/json/gatlingNew.json)

# Features

* Full Copy of HTML Gatling Report - all graphs and tables
* Distributed testing support - sum metrics from multiple hostname (load agent) with filtering by hostname
* Support grouping request
* Filtering by RunID
* Navigate Menu
* Support Closing Load Model - new graph "Concurrent Users"

### Helpers
* Dynamic select Grafana Granularity: $g = gatling write period
* Dynamic calculate test Duration for RunID tag
* Highlight zero values in tables
* Support both Dark and White Grafana themes

### TODO
* Fix some bugs - please create bugs via [https://github.com/polarnik/gatling-grafana-dashboard/issues](https://github.com/polarnik/gatling-grafana-dashboard/issues)
* Boost InfluxQL query

# View
Full View
![](https://grafana.com/api/dashboards/9935/images/8403/image)

Filter by Load Station (default All - sum result from multiple load agent). Time Link - link to navigate to other Test Run with same Simulation name:
![](https://grafana.com/api/dashboards/9935/images/8392/image)

Filter by Group (support Gatling Group store, filtering and visualise) for Group 1, 2, 3 levels:
![](https://grafana.com/api/dashboards/9935/images/8391/image)

Test Report header:
* Simulation name
* Test RunID
* Names of Load Stations
* Test Duration

![](https://grafana.com/api/dashboards/9935/images/8409/image)

And Indicators
*  time <= 40 ms
* time > 40 && time <= 100
* time > 100

Treshold 40, 100 get from Grafana variables (may be changed via URL params `&var-duration_1=40&var-duration_2=100`): 

![](https://grafana.com/api/dashboards/9935/images/8410/image)

Global Information / Statistics:
* Group names: Group (level 1), Group (level 2), Group (level 3) if needed
* Requests - request name
  * synthetic request **Global Information** - all request alias
* Total - total count (default sort order by Total DESC)
* OK - ok count
* KO - not ok count
* %KO = KO for current request / Total for **Global Information**
* ...

![](https://grafana.com/api/dashboards/9935/images/8408/image)

# InfluxDB.conf
Full influxdb.conf example: [/devenv/influxdb.conf](https://github.com/polarnik/gatling-grafana-dashboard/blob/master/devenv/influxdb.conf)
```
# Determines whether the graphite endpoint is enabled.
enabled = true
database = "gatling"
# retention-policy = ""
bind-address = ":2003"
protocol = "tcp"
# consistency-level = "one"
templates = [
  "gatling.*.users.*.*      measurement.simulation.measurement.request.field",
  "gatling.*.*.*.*.*.*   measurement.simulation.group1.group2.request.status.field   group=2",
  "gatling.*.*.*.*.*   measurement.simulation.group1.request.status.field   group=1",
  "gatling.*.*.*.*   measurement.simulation.request.status.field   group=0",

  "v2.gatling.*.*.*.users.*.*  .measurement.run.host.simulation.measurement.request.field",
  "v2.gatling.*.*.*.*.*.*.*.*  .measurement.run.host.simulation.group1.group2.request.status.field   group=2",
  "v2.gatling.*.*.*.*.*.*.*  .measurement.run.host.simulation.group1.request.status.field   group=1",
  "v2.gatling.*.*.*.*.*.*  .measurement.run.host.simulation.request.status.field   group=0",
]

# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.

# Flush if this many points get buffered
batch-size = 5000

# number of batches that may be pending in memory
batch-pending = 10

# Flush at least this often even if we haven't hit buffer limit
batch-timeout = "10s"

### This string joins multiple matching 'measurement' values providing more control over the final measurement name.
separator = "."

### Default tags that will be added to all metrics.  These can be overridden at the template level
### or by tags extracted from metric
# tags = ["region=us-east", "zone=1c"]
```

# Gatling (settings for support RunID and Hostname filter in Gatling Report)

Project Example: [https://github.com/polarnik/gatling-report-example](https://github.com/polarnik/gatling-report-example)

### What is RunID?

* RunID is a unique identificator of Gatling test runs, with starts in same time.
* Load agent hostname - not unique, Simulation - not unique (it is load profile name), but RunID + Simulation + Hostname - unique result.
* RunID combine multiple load agents results (multiple hostname) into one Gatling test run: filter by RunID + Simulation, but not by Hostname (`host` = `All`).


### Settings in Gatling.conf

Example [/src/test/resources/gatling.conf](https://github.com/polarnik/gatling-report-example/blob/master/src/test/resources/gatling.conf)

1. Enable graphite support via `gatling.data.writers` (gatling.data.writers = [graphite])
2. Disable or paramertize `rootPathPrefix` in `gatling.data.graphite`:
   * Comment `rootPathPrefix` in `gatling.data.graphite` section - for support override this prefix and pass **RunId** and **Hostname** from Gatling to InfluxDB
   * Use Environment Variable GATLING_PREFIX  for`rootPathPrefix` value - for support override this prefix and pass **RunId** and **Hostname** from Gatling to InfluxDB

Short example:
```
gatling {
  data {
    writers = [console, file, graphite]
    console {
      light = false          # When set to true, displays a light version without detailed request stats
      writePeriod = 10       # Write interval, in seconds
    }
    file {
      light = false          # Full Information
      bufferSize = 8192      # FileDataWriter's internal data buffer size, in bytes
    }
    leak {
      noActivityTimeout = 60 # Period, in seconds, for which Gatling may have no activity before considering a leak may be happening
    }
    graphite {
      light = false          # Full Information
      host = "localhost"     # The host where the Carbon server is located
      port = 2003            # The port to which the Carbon server listens to
      protocol = "tcp"       # The protocol used to send data to Carbon (currently supported : "tcp", "udp")
      #rootPathPrefix = "gatling" #! Disable default prefix for using custom prefix: v2.gatling.{run}.{host} 
      bufferSize = 81920     # Internal data buffer size, in bytes
      writePeriod = 1        # Write period, in seconds
    }
  }
}
```
or
```
gatling {
  data {
    writers = [console, file, graphite]
    console {
      light = false          # When set to true, displays a light version without detailed request stats
      writePeriod = 10       # Write interval, in seconds
    }
    file {
      light = false          # Full Information
      bufferSize = 8192      # FileDataWriter's internal data buffer size, in bytes
    }
    leak {
      noActivityTimeout = 60 # Period, in seconds, for which Gatling may have no activity before considering a leak may be happening
    }
    graphite {
      light = false          # Full Information
      host = "localhost"     # The host where the Carbon server is located
      port = 2003            # The port to which the Carbon server listens to
      protocol = "tcp"       # The protocol used to send data to Carbon (currently supported : "tcp", "udp")
      rootPathPrefix=${?GATLING_PREFIX} #! Override default prefix via envirinment variable with: v2.gatling.{run}.{host} 
      bufferSize = 81920     # Internal data buffer size, in bytes
      writePeriod = 1        # Write period, in seconds
    }
  }
}
```
# Start Gatling test with custom rootPathPrefix


Calculate RunID via bash script: [ gatling-report-example/start.gatling.rootPathPrefix.sh](https://github.com/polarnik/gatling-report-example/blob/master/start.gatling.rootPathPrefix.sh) with round date time for 5 minutes
```
#!/bin/bash
# ./start.gatling.rootPathPrefix.sh

datetimePrefix=`date '+%Y-%m-%d_%H'`
dateTimeMinute=`date '+%M'`

round=5
roundMinute=$(expr "$dateTimeMinute" / $round)
roundMinute=$(expr "$roundMinute" \* $round)
roundMinute=$(printf "%02d" $roundMinute)

export GATLING_PREFIX="v2.gatling.$datetimePrefix:$roundMinute.`hostname`"

echo $GATLING_PREFIX
```
Calculate RunID via Scala script: [ gatling-report-example/src/test/scala/io/qaload/gatling/reportExample/setting/TestConfig.scala ](https://github.com/polarnik/gatling-report-example/blob/master/src/test/scala/io/qaload/gatling/reportExample/setting/TestConfig.scala) with round date time for 5 minutes
```
class RunIdConvertor extends Converter[String] {

  def getRoundStartTime(roundMinute: Int): String = {
    val dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd_HH")
    val startTime = OffsetDateTime.now().format(dateTimeFormatter)
    val date = new Date()                  // given date
    val calendar = new GregorianCalendar() // creates a new calendar instance
    calendar.setTime(date)                 // assigns calendar to given date
    val minute = calendar.get(Calendar.MINUTE)
    val minuteRound = round(floor( 1.0d * minute / roundMinute) * roundMinute)
    s"${startTime}:${"%02d".format(minuteRound)}"
  }

  def convert(targetMethod: Method, text: String): String = {
    if (text != "") {
      text
    } else {
      getRoundStartTime(5)
    }
  }
}
```

### Case 1: SBT and pass RunID + Hostname via Command Line
Example: [gatling-report-example/start.test.maven.sh](https://github.com/polarnik/gatling-report-example/blob/master/start.test.maven.sh) 

If comment `rootPathPrefix` in `gatling.data.graphite`
```
#!/bin/bash

GATLING_ROOT_PATH_PREFIX=`./start.gatling.rootPathPrefix.sh`

sbt -Dgatling.data.graphite.rootPathPrefix=$GATLING_ROOT_PATH_PREFIX  "gatling:testOnly io.qaload.gatling.reportExample.simulation.OpenModel_AtOnceUsers"
```

If use Environment Variable GATLING_PREFIX  for`rootPathPrefix`
```
#!/bin/bash

GATLING_ROOT_PATH_PREFIX=`./start.gatling.rootPathPrefix.sh`

GATLING_ROOT_PATH_PREFIX=$GATLING_ROOT_PATH_PREFIX sbt "gatling:testOnly io.qaload.gatling.reportExample.simulation.OpenModel_AtOnceUsers"
```

### Case 2: Maven and pass RunID + Hostname via Command Line
Example: [gatling-report-example/start.test.maven.sh](https://github.com/polarnik/gatling-report-example/blob/master/start.test.maven.sh) 

If use Environment Variable GATLING_PREFIX  for`rootPathPrefix`
```
#!/bin/bash

GATLING_ROOT_PATH_PREFIX=`./start.gatling.rootPathPrefix.sh`

GATLING_ROOT_PATH_PREFIX=$GATLING_ROOT_PATH_PREFIX mvn gatling:test -Dsimulation=OpenModel_AtOnceUsers
```

### Case 3: IntelliJ IDEA and pass RunID + Hostname via App parameters 

Example: [gatling-report-example/src/test/scala/Engine.scala](https://github.com/polarnik/gatling-report-example/blob/master/src/test/scala/Engine.scala)

{
  "__inputs": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.0.3"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.4.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table-old",
      "name": "Table (old)",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "yesoreyeram-boomtable-panel",
      "name": "Boom Table",
      "version": "1.3.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": false,
        "iconColor": "#C4162A",
        "limit": 100,
        "matchAny": false,
        "name": "Annotations & Alerts (LoadTest)",
        "showIn": 0,
        "tags": [
          "LoadTest"
        ],
        "type": "tags"
      }
    ]
  },
  "editable": true,
  "gnetId": 9935,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1592740473199,
  "links": [],
  "panels": [
    {
      "columns": [],
      "datasource": "$ds",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 1536,
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:167",
          "alias": "Time Link",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "link": true,
          "linkTargetBlank": true,
          "linkTooltip": "",
          "linkUrl": "/d/gatling/gatling-report?time=${__cell}&time.window=${__cell_2}000&var-g=${__cell_3}s&var-duration_1=${duration_1}&var-duration_2=${duration_2}&var-simulation=${simulation}&var-run=${__cell_1}&var-host=All&var-group1=All&var-group2=All&var-group3=All&var-request=All",
          "mappingType": 1,
          "pattern": "Time",
          "rangeMaps": [
            {
              "from": "0",
              "text": "DDDDD",
              "to": "999999999999999999"
            }
          ],
          "type": "string",
          "valueMaps": []
        },
        {
          "$$hashKey": "object:168",
          "alias": "Run ID",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "run",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:169",
          "alias": "Interval",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 1,
          "link": false,
          "mappingType": 1,
          "pattern": "Duration",
          "rangeMaps": [
            {
              "from": "",
              "text": "ii",
              "to": "0"
            }
          ],
          "thresholds": [],
          "type": "number",
          "unit": "s",
          "valueMaps": [
            {
              "text": "10",
              "value": "-"
            }
          ]
        },
        {
          "$$hashKey": "object:170",
          "alias": "Granularity",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "writeInterval",
          "thresholds": [],
          "type": "number",
          "unit": "s"
        },
        {
          "$$hashKey": "object:171",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "1s"
              ],
              "type": "time"
            },
            {
              "params": [
                "run"
              ],
              "type": "tag"
            },
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            }
          ],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT (last(\"duration\")*2+10) as \"Duration\" from (SELECT cumulative_sum(elapsed(last(\"count\"), 1s)) as \"duration\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) AND $timeFilter GROUP BY time(10s),  \"run\") GROUP BY \"run\"",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "elapsed"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "run",
              "operator": "=~",
              "value": "/^$run$/"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"X\") as \"writeInterval\" from (SELECT percentile(\"E\", 90) as \"X\" FROM (SELECT ELAPSED(\"count\", 1s) as \"E\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests')  GROUP BY time(10s), \"run\") GROUP BY \"run\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Test Run Links for simulation: $simulation",
      "transform": "table",
      "transparent": true,
      "type": "table-old"
    },
    {
      "collapsed": true,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "id": 71,
      "panels": [
        {
          "content": "<div style=\"font-weight: bold; float: right; padding: 0; margin: 0; position: absolute; right: 0; z-index: -1; padding: 7px 50px; margin: 5px 5px 0 5px; font-size: 28px;\">\n<div>Simulation: <span style=\"color: #e37400;\">$simulation</span></div>\n</div>\n\n<div style=\"font-weight: bold; float: right; padding: 0; margin: 0; position: absolute; right: 0; z-index: -1; padding: 7px 50px; margin: 5px 5px 0 5px; font-size: 20px;\">\nRun: <span style=\"color: #e37400;\">$run</span>;\nLoad station(s): <span style=\"color: #e37400;\">$host</span>;\nduration: <span style=\"color: #e37400;\">$testDuration seconds</span>;\n</div>\n\n\n<div style=\"border-bottom: 7px #E37400 solid; padding: 10px 0 5px 0; margin: 0 5px; z-index: -1;\">\n<div style=\"background: #e37400; color: #fff; font-weight: bold; display: inline; margin: 0 10px 0 0; padding: 5px 15px 5px 25px; border-top-right-radius: 8px; border-top-left-radius: 8px; font-size: 14px;\">GLOBAL</div>\n</div>\n",
          "datasource": null,
          "fieldConfig": {
            "defaults": {
              "custom": {}
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 24,
            "x": 0,
            "y": 8
          },
          "id": 65,
          "mode": "html",
          "timeFrom": null,
          "timeShift": null,
          "title": "Gatling",
          "transparent": true,
          "type": "text"
        }
      ],
      "title": "",
      "type": "row"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 8
      },
      "id": 56,
      "panels": [],
      "title": "Global Information",
      "type": "row"
    },
    {
      "content": "<div style=\"color: #e37400; font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> Global Information</div>\n",
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 9
      },
      "id": 80,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "description": "# Indicators\nwith filter by\n\n* simulation = ```$simulation```",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 13,
        "w": 6,
        "x": 0,
        "y": 11
      },
      "hiddenSeries": false,
      "id": 888,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": false,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null as zero",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "t≤$duration_1",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" <= $duration_1 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$duration_1< t≤$duration_2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" > $duration_1 and \"mean\" <= $duration_2 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "t>$duration_2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" > $duration_2 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "failed",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"status\" = 'ko' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Indicators (ms)",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": 10,
        "mode": "series",
        "name": null,
        "show": true,
        "values": [
          "total"
        ]
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "breakPoint": "25%",
      "cacheTimeout": null,
      "combine": {
        "label": "",
        "threshold": "0"
      },
      "datasource": "$ds",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "50%",
      "format": "none",
      "gridPos": {
        "h": 13,
        "w": 2,
        "x": 6,
        "y": 11
      },
      "id": 887,
      "interval": "",
      "legend": {
        "percentage": false,
        "show": false,
        "values": false
      },
      "legendType": "Right side",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "6.5.2",
      "repeatDirection": "h",
      "strokeWidth": 1,
      "targets": [
        {
          "alias": "t ≤ $duration_1 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" <= $duration_1 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$duration_1 ms < t ≤ $duration_2 ms",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" > $duration_1 and \"mean\" <= $duration_2 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "t > $duration_2 ms",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"mean\" > $duration_2 and \"status\" = 'ok' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "failed",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"status\" = 'ko' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') and (\"host\" =~ /^$host$/ or \"host\" = '')), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "columns": [],
      "datasource": "$ds",
      "description": "#### STATISTICS\nwith filter by\n\n* simulation = ```$simulation```\n* request =~ ```$request```",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 13,
        "w": 16,
        "x": 8,
        "y": 11
      },
      "id": 664,
      "links": [],
      "maxPerRow": 3,
      "pageSize": null,
      "repeatDirection": "h",
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:551",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:552",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Total",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:553",
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "rgba(160, 178, 40, 0.6)",
            "rgb(160, 178, 40)",
            "rgb(160, 178, 40)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "OK",
          "thresholds": [
            "1",
            "2"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:554",
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "rgba(226, 77, 66, 0.6)",
            "#e24d42",
            "#e24d42"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "KO",
          "thresholds": [
            "1",
            "1200"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:555",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Mean",
          "thresholds": [
            "800",
            "1200"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:556",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(160, 178, 40, 0.3)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Max",
          "thresholds": [
            ""
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:557",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(50, 172, 45, 0.97)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(245, 54, 54, 0.9)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Min",
          "thresholds": [
            "800",
            "1200"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:558",
          "alias": "",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgb(125, 125, 125)",
            "rgb(125, 125, 125)",
            "rgb(125, 125, 125)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "/^[0-9]+th pct$/",
          "thresholds": [
            "-2",
            "-1"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:559",
          "alias": "Std Dev",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgb(125, 125, 125)",
            "rgb(125, 125, 125)",
            "rgb(125, 125, 125)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Std dev",
          "thresholds": [
            "0",
            "1"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:560",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 2,
          "pattern": "simulation",
          "preserveFormat": false,
          "rangeMaps": [],
          "sanitize": true,
          "thresholds": [],
          "type": "hidden",
          "unit": "short",
          "valueMaps": []
        },
        {
          "$$hashKey": "object:561",
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "rgba(226, 77, 66, 0.6)",
            "rgb(226, 77, 66)",
            "rgb(226, 77, 66)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "% KO",
          "thresholds": [
            "0.0000000000001",
            "10"
          ],
          "type": "number",
          "unit": "percentunit"
        },
        {
          "$$hashKey": "object:562",
          "alias": "Requests",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "request",
          "preserveFormat": true,
          "sanitize": true,
          "thresholds": [
            ""
          ],
          "type": "string",
          "unit": "short",
          "valueMaps": [
            {
              "$$hashKey": "object:706",
              "text": "<b>Global Information</b>",
              "value": "allRequests"
            }
          ]
        },
        {
          "$$hashKey": "object:563",
          "alias": "Group (level 1)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": false,
          "mappingType": 1,
          "pattern": "group1",
          "preserveFormat": false,
          "sanitize": false,
          "thresholds": [
            ""
          ],
          "type": "string",
          "unit": "short",
          "valueMaps": []
        },
        {
          "$$hashKey": "object:564",
          "alias": "Group (level 2)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "group2",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:565",
          "alias": "Group (level 3)",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "group3",
          "thresholds": [
            ""
          ],
          "type": "string",
          "unit": "short"
        },
        {
          "$$hashKey": "object:566",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 0,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "number",
          "unit": "none"
        }
      ],
      "targets": [
        {
          "alias": "",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 3+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 3 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "N",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "L",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/ OR \"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "K",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 3+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 3 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "O",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "P",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "Q",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/ OR \"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, level 3+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 3 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "R",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "S",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "T",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  \"KO\", \"% KO\", level 0\nSELECT (first(\"X\") + last(\"X\") - first(\"X\")) as \"KO\", last(\"X\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/ OR \"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 3+\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 3 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\"\n) GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 2\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\"\n) GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0, min, 50%, 75%, 95%, max, mean, std, level 1\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\"\n) GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 0\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/ OR \"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\"\n) GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "title": "STATISTICS",
      "transform": "table",
      "type": "table-old"
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">Global Information</span> : Active Users</div>\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 74,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "description": "*Active Users (Scenarios) along the Simulation* \n\nwith filter by\n* simulation =~ ```$simulation```\n* (user) scenario \n  * =~ ```$scenario```\n  * = ```allUsers```",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "hiddenSeries": false,
      "id": 12,
      "interval": "1s",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "maxPerRow": 2,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "simulation",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "Active Users",
          "bars": false,
          "color": "#ff9d00",
          "fill": 0,
          "lines": true,
          "linewidth": 4,
          "stack": false,
          "yaxis": 2,
          "zindex": 1
        },
        {
          "alias": "/^Concurent Users/",
          "bars": false,
          "color": "#FADE2A",
          "dashLength": 10,
          "dashes": true,
          "fill": 0,
          "lines": true,
          "linewidth": 5,
          "spaceLength": 1,
          "stack": false,
          "yaxis": 1,
          "zindex": 3
        },
        {
          "alias": "/^(?!(Active Users|Concurent Users.*)$).*$/",
          "bars": true,
          "fill": 5,
          "linewidth": 0,
          "yaxis": 2
        },
        {
          "alias": "/^Concurent Users 2/",
          "bars": false,
          "color": "rgb(0, 0, 0)",
          "dashes": false,
          "hideTooltip": true,
          "legend": false,
          "lines": true,
          "linewidth": 8,
          "yaxis": 1,
          "zindex": 2
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "Concurent Users",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"active\"-\"done\" FROM (SELECT mean(\"active\") AS \"active\", non_negative_derivative(last(\"done\"), 1s) AS \"done\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null))",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Concurent Users 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"active\"-\"done\" FROM (SELECT mean(\"active\") AS \"active\", non_negative_derivative(last(\"done\"), 1s) AS \"done\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null))",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Active Users",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        },
        {
          "alias": "$tag_request",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$scenario$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"request\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=~",
              "value": "/^$scenario$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Active Users along the Simulation",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": "Concurent Users",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "cps",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 7,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 37
      },
      "hiddenSeries": false,
      "id": 2,
      "interval": "10s",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "min",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "simulation",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "min",
          "color": "#C4FD90",
          "zindex": 2
        },
        {
          "alias": "50%",
          "color": "#6FF2AD",
          "zindex": 1
        },
        {
          "alias": "75%",
          "color": "#60ECE5",
          "zindex": 0
        },
        {
          "alias": "95%",
          "color": "#BC28D7",
          "zindex": -1
        },
        {
          "alias": "99%",
          "color": "#D11C97",
          "zindex": -2
        },
        {
          "alias": "max",
          "color": "#C73905",
          "zindex": -3
        },
        {
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "linewidth": 4,
          "yaxis": 2,
          "zindex": 3
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT min(\"min\") AS \"min\", percentile(\"percentiles50\", 50) AS \"50%\", percentile(\"percentiles75\", 75) AS \"75%\", percentile(\"percentiles95\", 95) AS \"95%\", percentile(\"percentiles99\", 99) AS \"99%\", max(\"max\") AS \"max\"  FROM \"$archive\".\"gatling\" WHERE (\"request\" = 'allRequests' AND \"status\" = 'ok' AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"simulation\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "percentiles50"
                ],
                "type": "field"
              },
              {
                "params": [
                  "50"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "50%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles95"
                ],
                "type": "field"
              },
              {
                "params": [
                  "95"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "95%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles99"
                ],
                "type": "field"
              },
              {
                "params": [
                  "99"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "99%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "max"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles75"
                ],
                "type": "field"
              },
              {
                "params": [
                  "75"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "75%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "min"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              },
              {
                "params": [
                  "min"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=",
              "value": "allRequests"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"simulation\" fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Response Time Percentiles over Time (OK)",
      "tooltip": {
        "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": 0,
          "show": true
        },
        {
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">Global Information</span> : Requests / sec</div>\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 48
      },
      "id": 75,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 10,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 50
      },
      "hiddenSeries": false,
      "id": 1,
      "interval": "10s",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "simulation",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "All",
          "color": "#4572A7",
          "fill": 7,
          "yaxis": 1
        },
        {
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"count\")), 1s) AS \"All\" FROM \"$archive\".\"gatling\" WHERE (\"request\" = 'allRequests' AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "All"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=",
              "value": "allRequests"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of requests per second",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "reqps",
          "label": "Number of requests",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">Global Information</span> : Responces / sec</div>\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 61
      },
      "id": 76,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 7,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 63
      },
      "hiddenSeries": false,
      "id": 26,
      "interval": "",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": null,
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "all",
          "color": "#4572A7",
          "fill": 0,
          "stack": false,
          "zindex": 0
        },
        {
          "alias": "ok",
          "color": "#A0B228",
          "fill": 7,
          "stack": true,
          "zindex": 1
        },
        {
          "alias": "ko",
          "color": "#FF0000",
          "fill": 10,
          "stack": true,
          "zindex": 1
        },
        {
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "stack": false,
          "yaxis": 2,
          "zindex": 3
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_status",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"count\")), 1s) FROM \"$archive\".\"gatling\" WHERE (\"request\" = 'allRequests' AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"status\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=",
              "value": "allRequests"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"request\" = 'allUsers' AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of responses per second",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "reqps",
          "label": "Number of responses",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 74
      },
      "id": 73,
      "panels": [],
      "title": "Details",
      "type": "row"
    },
    {
      "content": "<div style=\"color: #e37400; font-weight: bold; float: right; padding: 0; margin: 0; position: absolute; right: 0; z-index: -1; padding: 7px 50px; margin: 5px 5px 0 5px; font-size: 28px;\">$simulation</div>\n\n<div style=\"border-bottom: 7px #E37400 solid; padding: 10px 0 5px 0; margin: 0 5px; z-index: -1;\">\n<div style=\"background: #e37400; color: #fff; font-weight: bold; display: inline; margin: 0 10px 0 0; padding: 5px 15px 5px 25px; border-top-right-radius: 8px; border-top-left-radius: 8px; font-size: 14px;\">DETAILS</div>\n</div>",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 24,
        "x": 0,
        "y": 75
      },
      "id": 66,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 3,
      "fillGradient": 0,
      "gridPos": {
        "h": 18,
        "w": 24,
        "x": 0,
        "y": 79
      },
      "hiddenSeries": false,
      "id": 14,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": false,
        "show": true,
        "sideWidth": 400,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:406",
          "alias": "Active Users",
          "color": "#ff9d00",
          "fill": 0,
          "lines": true,
          "stack": false,
          "steppedLine": false,
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_request",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"mean\") FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND (\"group\" = '0' OR \"group\" = '') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"request\" fill(null)",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "[$tag_group1]  >  $tag_request",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"mean\") FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '1' AND \"group1\" =~ /^$group1$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"request\", \"group1\" fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "1"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]  >  [$tag_group2]  >  $tag_request",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"mean\") FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"request\", \"group1\", \"group2\" fill(null)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "2"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            },
            {
              "condition": "AND",
              "key": "group2",
              "operator": "=~",
              "value": "/^$group2$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]  >  [$tag_group2]  >  [$tag_group3] > $tag_request",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group3"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"mean\") FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '3' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"request\", \"group1\", \"group2\", \"group3\" fill(null)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "3"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            },
            {
              "condition": "AND",
              "key": "group2",
              "operator": "=~",
              "value": "/^$group2$/"
            },
            {
              "condition": "AND",
              "key": "group3",
              "operator": "=~",
              "value": "/^$group3$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"mean\")), 1s) FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '1' AND \"group1\" =~ /^$group1$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"group1\" fill(null)",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "1"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]  >  [$tag_group2]",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"mean\")), 1s) FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"group1\", \"group2\" fill(null)",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "2"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            },
            {
              "condition": "AND",
              "key": "group2",
              "operator": "=~",
              "value": "/^$group2$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]  >  [$tag_group2]  >  [$tag_group3]",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group3"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"mean\")), 1s) FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" = '3' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"group1\", \"group2\", \"group3\" fill(null)",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "3"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            },
            {
              "condition": "AND",
              "key": "group2",
              "operator": "=~",
              "value": "/^$group2$/"
            },
            {
              "condition": "AND",
              "key": "group3",
              "operator": "=~",
              "value": "/^$group3$/"
            }
          ]
        },
        {
          "alias": "[$tag_group1]  >  [$tag_group2]  >  [$tag_group3] > ... > $tag_request",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group3"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT mean(\"mean\") FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND \"group\" <> '3' AND \"group\" <> '2' AND \"group\" <> '1'  AND \"group\" <> '0' AND \"group\" <> '' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/ AND \"request\" =~ /^$request$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"group1\", \"group2\", \"group3\", \"request\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "mean"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "group",
              "operator": "=",
              "value": "3"
            },
            {
              "condition": "AND",
              "key": "group1",
              "operator": "=~",
              "value": "/^$group1$/"
            },
            {
              "condition": "AND",
              "key": "group2",
              "operator": "=~",
              "value": "/^$group2$/"
            },
            {
              "condition": "AND",
              "key": "group3",
              "operator": "=~",
              "value": "/^$group3$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Response Time (Mean) over Time",
      "tooltip": {
        "shared": true,
        "sort": 1,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:423",
          "format": "ms",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:424",
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "activePatternIndex": 0,
      "datasource": "$ds",
      "debug_mode": false,
      "defaultPattern": {
        "bgColors": "green|orange|red",
        "bgColors_overrides": "0->green|2->red|1->yellow",
        "clickable_cells_link": "",
        "col_name": "Value",
        "decimals": 2,
        "defaultBGColor": "",
        "defaultTextColor": "",
        "delimiter": ":::",
        "displayTemplate": "_value_",
        "enable_bgColor": false,
        "enable_bgColor_overrides": false,
        "enable_clickable_cells": false,
        "enable_textColor": false,
        "enable_textColor_overrides": false,
        "enable_time_based_thresholds": false,
        "enable_transform": false,
        "enable_transform_overrides": false,
        "filter": {
          "value_above": "",
          "value_below": ""
        },
        "format": "none",
        "name": "Default Pattern",
        "null_color": "darkred",
        "null_textcolor": "black",
        "null_value": "No data",
        "pattern": "*",
        "row_col_wrapper": "_",
        "row_name": "_series_",
        "textColors": "red|orange|green",
        "textColors_overrides": "0->red|2->green|1->yellow",
        "thresholds": "70,90",
        "time_based_thresholds": [],
        "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
        "transform_values": "_value_|_value_|_value_",
        "transform_values_overrides": "0->down|1->up",
        "valueName": "avg"
      },
      "default_title_for_rows": "Request",
      "description": "#### STATISTICS\nwith filter by\n\n* simulation = ```$simulation```\n* request =~ ```$request```",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "first_column_link": "",
      "gridPos": {
        "h": 13,
        "w": 24,
        "x": 0,
        "y": 97
      },
      "id": 1291,
      "links": [],
      "patterns": [
        {
          "bgColors": "green|orange|rgba(0, 0, 0, 0.1)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": true,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Std dev",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::Std dev$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|red|rgb(125, 125, 125)",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "-2,-1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|red",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Min, Max, Mean",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.+:::M.+$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,90",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(160, 178, 40, 0.6)|rgb(160, 178, 40)|rgb(160, 178, 40)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "OK",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::OK$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,2",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(226, 77, 66, 0.6)|#e24d42|#e24d42",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "KO",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::KO$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,1200",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(226, 77, 66, 0.6)|#e24d42|#e24d42",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "percentunit",
          "name": "% KO",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::% KO$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "0.0000001,1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|rgba(0, 0, 0, 0.1)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": true,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Percentile",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::[0-9]+th pct$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|red|rgb(125, 125, 125)",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "-2,-1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|red",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Total",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::Total$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "70,90",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        }
      ],
      "repeatDirection": "h",
      "row_col_wrapper": "_",
      "sorting_props": {
        "col_index": 0,
        "direction": "desc"
      },
      "targets": [
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "N",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "L",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "K",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, Global Information\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "U",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "O",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"= '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "P",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "Q",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, Global Information\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "V",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, % KO, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "M",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, % KO, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\"  FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "R",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "S",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "T",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  \"KO\", \"% KO\", level 0\nSELECT (first(\"X\") + last(\"X\") - first(\"X\")) as \"KO\", last(\"X\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  \"KO\", \"% KO\", Global Information\nSELECT (first(\"X\") + last(\"X\") - first(\"X\")) as \"KO\", last(\"X\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "W",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 4+\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\"\n) GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 3\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"='3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\"\n) GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 2\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\"\n) GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0, min, 50%, 75%, 95%, max, mean, std, level 1\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\"\n) GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 0\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\"\n) GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, Global Information\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\"\n) GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "X",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "text_alignment_firstcolumn": "",
      "text_alignment_header": "right",
      "text_alignment_values": "right",
      "title": "STATISTICS",
      "type": "yesoreyeram-boomtable-panel"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 110
      },
      "id": 79,
      "panels": [],
      "repeat": "request",
      "title": "$request",
      "type": "row"
    },
    {
      "content": "\n<div style=\"border-bottom: 7px #E37400 solid; padding: 10px 0 5px 0; margin: 0 5px; z-index: -1;\">\n</div>\n<div style=\"color: #e37400; font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt;</span> $request</div> ",
      "datasource": null,
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 111
      },
      "id": 77,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "description": "# Indicators\nwith filter by\n\n* simulation = ```$simulation```",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 0,
        "y": 114
      },
      "hiddenSeries": false,
      "id": 889,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": false,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null as zero",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "t ≤ $duration_1 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" <= $duration_1  AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": "<",
              "value": "$duration_1"
            }
          ]
        },
        {
          "alias": "$duration_1 ms < t ≤ $duration_2 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" > $duration_1 AND \"mean\" <= $duration_2   AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "$duration_1 ms < t < $duration_2 ms"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": ">",
              "value": "$duration_1"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": "<",
              "value": "$duration_2"
            }
          ]
        },
        {
          "alias": "t > $duration_2 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") AS \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" > $duration_2 AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": ">",
              "value": "$duration_2"
            }
          ]
        },
        {
          "alias": "failed",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") AS \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ko'  AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE \"simulation\" =~ /^$simulation$/ AND $timeFilter)",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Indicators",
      "tooltip": {
        "shared": false,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": 10,
        "mode": "series",
        "name": null,
        "show": true,
        "values": [
          "total"
        ]
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": true,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "$ds",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 2,
        "x": 6,
        "y": 114
      },
      "id": 943,
      "interval": null,
      "legend": {
        "show": false,
        "values": true
      },
      "legendType": "Under graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "repeatDirection": "h",
      "strokeWidth": 1,
      "targets": [
        {
          "alias": "t ≤ $duration_1 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" <= $duration_1  AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE $timeFilter)",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": "<",
              "value": "$duration_1"
            }
          ]
        },
        {
          "alias": "$duration_1 ms < t ≤ $duration_2 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" > $duration_1 AND \"mean\" <= $duration_2   AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE $timeFilter)",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "$duration_1 ms < t < $duration_2 ms"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": ">",
              "value": "$duration_1"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": "<",
              "value": "$duration_2"
            }
          ]
        },
        {
          "alias": "t > $duration_2 ms",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") AS \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"mean\" > $duration_2 AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE $timeFilter)",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "mean",
              "operator": ">",
              "value": "$duration_2"
            }
          ]
        },
        {
          "alias": "failed",
          "groupBy": [],
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT max(X) FROM (SELECT sum(\"count\") AS \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" =~ /^$request$/ AND \"status\" = 'ko'  AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter fill(0)), (SELECT last(\"count\")-last(\"count\") as \"X\" FROM \"$archive\".gatling WHERE $timeFilter)",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=",
              "value": "$simulation"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "$request"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "content": "\n\n\n\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 1,
        "w": 16,
        "x": 8,
        "y": 114
      },
      "id": 1160,
      "mode": "markdown",
      "timeFrom": null,
      "timeShift": null,
      "title": "STATISTICS",
      "transparent": true,
      "type": "text"
    },
    {
      "columns": [],
      "datasource": "$ds",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 5,
        "w": 4,
        "x": 8,
        "y": 115
      },
      "id": 993,
      "links": [],
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": false
      },
      "styles": [
        {
          "$$hashKey": "object:1970",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:1971",
          "alias": " ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0)",
            "rgba(0, 0, 0, 0.4)",
            "rgba(0, 0, 0, 0)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Total",
          "thresholds": [
            "-1",
            "1"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:1972",
          "alias": " ",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "rgba(33, 33, 36, 0.4)",
            "rgb(160, 178, 40)",
            "rgb(226, 77, 66)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "link": false,
          "mappingType": 1,
          "pattern": "StatusCode",
          "preserveFormat": true,
          "sanitize": true,
          "thresholds": [
            "15",
            "25"
          ],
          "type": "string",
          "unit": "none",
          "valueMaps": [
            {
              "$$hashKey": "object:2028",
              "text": "<b>Total</b>",
              "value": "10"
            },
            {
              "$$hashKey": "object:2029",
              "text": "<b>OK</b>",
              "value": "20"
            },
            {
              "$$hashKey": "object:2030",
              "text": "<b>KO</b>",
              "value": "30"
            }
          ]
        },
        {
          "$$hashKey": "object:1973",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0)",
            "rgba(0, 0, 0, 0.4)",
            "rgba(0, 0, 0, 0)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Mean cnt/s",
          "thresholds": [
            "-1",
            "1"
          ],
          "type": "number",
          "unit": "none"
        },
        {
          "$$hashKey": "object:1974",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "status",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        },
        {
          "$$hashKey": "object:1975",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgb(0, 0, 0)"
          ],
          "decimals": 0,
          "pattern": "/.*/",
          "thresholds": [
            "-2",
            "-1"
          ],
          "type": "number",
          "unit": "none"
        }
      ],
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- Total, OK, KO\nSELECT \"StatusCode\" FROM\n(SELECT X+10 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='all' GROUP BY \"status\") GROUP BY \"status\")),\n(SELECT X+20 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='ok' GROUP BY \"status\") GROUP BY \"status\")),\n(SELECT X+30 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='ko' GROUP BY \"status\") GROUP BY \"status\")) \nGROUP BY \"status\"",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_request",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"Total\", \"Total\"/$testDuration as \"Mean cnt/s\"\nFROM (\n  SELECT last(\"X\")+first(\"X\")-last(\"X\") as \"Total\"\n  FROM (\n    SELECT sum(\"count\") as \"X\"\n    FROM \"$archive\".\"gatling\"\n    WHERE (\"request\" =~ /^$request$/ AND \"simulation\" =~ /^$simulation$/ AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\"!='' AND \"group\"!='0'  AND \"group\"!='1' AND \"group\"!='2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/)) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY \"status\" fill(null)\n  ) GROUP BY \"status\"\n) GROUP BY \"status\"",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Executions",
      "transform": "table",
      "type": "table-old"
    },
    {
      "columns": [],
      "datasource": "$ds",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 115
      },
      "id": 1038,
      "links": [],
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": false
      },
      "styles": [
        {
          "$$hashKey": "object:2124",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "$$hashKey": "object:2125",
          "alias": " ",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "status",
          "thresholds": [],
          "type": "hidden",
          "unit": "short",
          "valueMaps": [
            {
              "text": "OK",
              "value": "ok"
            },
            {
              "text": "KO",
              "value": "ko"
            },
            {
              "text": "Total",
              "value": "all"
            }
          ]
        },
        {
          "$$hashKey": "object:2126",
          "alias": " ",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "rgba(33, 33, 36, 0.4)",
            "rgb(160, 178, 40)",
            "rgb(226, 77, 66)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "link": false,
          "mappingType": 1,
          "pattern": "StatusCode",
          "preserveFormat": true,
          "sanitize": true,
          "thresholds": [
            "15",
            "25"
          ],
          "type": "string",
          "unit": "none",
          "valueMaps": [
            {
              "$$hashKey": "object:2168",
              "text": "<b>Total</b>",
              "value": "10"
            },
            {
              "$$hashKey": "object:2169",
              "text": "<b>OK</b>",
              "value": "20"
            },
            {
              "$$hashKey": "object:2170",
              "text": "<b>KO</b>",
              "value": "30"
            }
          ]
        },
        {
          "$$hashKey": "object:2127",
          "alias": "",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgba(100, 100, 100, 0.5)",
            "rgba(100, 100, 100, 0.5)",
            "rgba(100, 100, 100, 0.5)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "Std dev",
          "thresholds": [
            "0",
            "1"
          ],
          "type": "string",
          "unit": "short",
          "valueMaps": [
            {
              "$$hashKey": "object:2194",
              "text": "-",
              "value": "-10"
            }
          ]
        },
        {
          "$$hashKey": "object:2128",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(0, 0, 0, 0.4)",
            "rgba(255, 255, 255, 0)",
            "rgba(255, 255, 255, 0)"
          ],
          "decimals": 0,
          "mappingType": 1,
          "pattern": "/.*/",
          "thresholds": [
            "-9",
            "0"
          ],
          "type": "string",
          "unit": "none",
          "valueMaps": [
            {
              "$$hashKey": "object:2212",
              "text": "-",
              "value": "-10"
            }
          ]
        }
      ],
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- Total, OK, KO\nSELECT \"StatusCode\" FROM\n(SELECT X+10 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='all' GROUP BY \"status\") GROUP BY \"status\")),\n(SELECT X+20 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='ok' GROUP BY \"status\") GROUP BY \"status\")),\n(SELECT X+30 as \"StatusCode\"  FROM(SELECT last(\"zero\")+first(\"zero\")-last(\"zero\") as \"X\" FROM(SELECT last(\"count\")-last(\"count\") as \"zero\" FROM \"$archive\".\"gatling\" where \"status\"='ko' GROUP BY \"status\") GROUP BY \"status\"))\nGROUP BY \"status\"",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_request",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \n  last(\"Min\")+first(\"Min\")-last(\"Min\") as \"Min\",\n  last(\"50th pct\")+first(\"50th pct\")-last(\"50th pct\") as \"50th pct\",\n  last(\"75th pct\")+first(\"75th pct\")-last(\"75th pct\") as \"75th pct\",\n  last(\"95th pct\")+first(\"95th pct\")-last(\"95th pct\") as \"95th pct\",\n  last(\"99th pct\")+first(\"99th pct\")-last(\"99th pct\") as \"99th pct\",\n  last(\"Max\")+first(\"Max\")-last(\"Max\") as \"Max\",\n  last(\"Mean\")+first(\"Mean\")-last(\"Mean\") as \"Mean\",\n  last(\"Std dev\")+first(\"Std dev\")-last(\"Std dev\") as \"Std dev\"\nFROM (\nSELECT min(\"min\") as \"Min\", percentile(\"percentiles50\", 50) as \"50th pct\", percentile(\"percentiles75\", 75) as \"75th pct\", percentile(\"percentiles95\", 95) as \"95th pct\", percentile(\"percentiles99\", 99) as \"99th pct\", max(\"max\") as \"Max\", ceil(mean(\"mean\")) as \"Mean\", percentile(\"stdDev\", 95) as \"Std dev\"\nFROM \"$archive\".\"gatling\"\nWHERE (\"request\" =~ /^$request$/ AND \"simulation\" =~ /^$simulation$/ AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\"!='' AND \"group\"!='1' AND \"group\"!='2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/)) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY \"status\" fill(null)\n), \n(SELECT \"X\" as \"Min\", \"X\" as \"50th pct\", \"X\" as \"75th pct\", \"X\" as \"95th pct\", \"X\" as \"99th pct\", \"X\" as \"Max\", \"X\" as \"Mean\", \"X\" as \"Std dev\"\nFROM ( \nSELECT last(\"count\")-last(\"count\")-10 as \"X\" FROM \"$archive\".\"gatling\" GROUP BY \"status\"\n) GROUP BY \"status\"\n)\nGROUP BY \"status\"",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Response Time (ms)",
      "transform": "table",
      "type": "table-old"
    },
    {
      "activePatternIndex": 0,
      "datasource": "$ds",
      "debug_mode": false,
      "defaultPattern": {
        "bgColors": "green|orange|red",
        "bgColors_overrides": "0->green|2->red|1->yellow",
        "clickable_cells_link": "",
        "col_name": "Value",
        "decimals": 2,
        "defaultBGColor": "",
        "defaultTextColor": "",
        "delimiter": ":::",
        "displayTemplate": "_value_",
        "enable_bgColor": false,
        "enable_bgColor_overrides": false,
        "enable_clickable_cells": false,
        "enable_textColor": false,
        "enable_textColor_overrides": false,
        "enable_time_based_thresholds": false,
        "enable_transform": false,
        "enable_transform_overrides": false,
        "filter": {
          "value_above": "",
          "value_below": ""
        },
        "format": "none",
        "name": "Default Pattern",
        "null_color": "darkred",
        "null_textcolor": "black",
        "null_value": "No data",
        "pattern": "*",
        "row_col_wrapper": "_",
        "row_name": "_series_",
        "textColors": "red|orange|green",
        "textColors_overrides": "0->red|2->green|1->yellow",
        "thresholds": "70,90",
        "time_based_thresholds": [],
        "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
        "transform_values": "_value_|_value_|_value_",
        "transform_values_overrides": "0->down|1->up",
        "valueName": "avg"
      },
      "default_title_for_rows": "Request",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "first_column_link": "",
      "gridPos": {
        "h": 4,
        "w": 16,
        "x": 8,
        "y": 120
      },
      "id": 1422,
      "links": [],
      "patterns": [
        {
          "bgColors": "green|orange|rgba(0, 0, 0, 0.1)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": true,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Std dev",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::Std dev$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|red|rgb(125, 125, 125)",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "-2,-1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|red",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Min, Max, Mean",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.+:::M.+$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,90",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(160, 178, 40, 0.6)|rgb(160, 178, 40)|rgb(160, 178, 40)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "OK",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::OK$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,2",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(226, 77, 66, 0.6)|#e24d42|#e24d42",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "KO",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::KO$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "1,1200",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "rgba(226, 77, 66, 0.6)|#e24d42|#e24d42",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": true,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "percentunit",
          "name": "% KO",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::% KO$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "0.0000001,1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|rgba(0, 0, 0, 0.1)",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": true,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Percentile",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::[0-9]+th pct$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|red|rgb(125, 125, 125)",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "-2,-1",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        },
        {
          "bgColors": "green|orange|red",
          "bgColors_overrides": "0->green|2->red|1->yellow",
          "clickable_cells_link": "",
          "col_name": "_1_",
          "decimals": "0",
          "defaultBGColor": "",
          "defaultTextColor": "",
          "delimiter": ":::",
          "displayTemplate": "_value_",
          "enable_bgColor": false,
          "enable_bgColor_overrides": false,
          "enable_clickable_cells": false,
          "enable_textColor": false,
          "enable_textColor_overrides": false,
          "enable_time_based_thresholds": false,
          "enable_transform": false,
          "enable_transform_overrides": false,
          "filter": {
            "value_above": "",
            "value_below": ""
          },
          "format": "none",
          "name": "Total",
          "null_color": "darkred",
          "null_textcolor": "black",
          "null_value": "No data",
          "pattern": "^.*:::Total$",
          "row_col_wrapper": "_",
          "row_name": "_0_",
          "textColors": "red|orange|green",
          "textColors_overrides": "0->red|2->green|1->yellow",
          "thresholds": "70,90",
          "time_based_thresholds": [],
          "tooltipTemplate": "Series : _series_ <br/>Row Name : _row_name_ <br/>Col Name : _col_name_ <br/>Value : _value_",
          "transform_values": "_value_|_value_|_value_",
          "transform_values_overrides": "0->down|1->up",
          "valueName": "total"
        }
      ],
      "repeatDirection": "h",
      "row_col_wrapper": "_",
      "sorting_props": {
        "col_index": 0,
        "direction": "desc"
      },
      "targets": [
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "N",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "L",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "K",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  Total, Global Information\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"Total\" FROM (SELECT sum(\"count\") as \"T\" FROM \"gatling\" WHERE (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "U",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "O",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"= '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "P",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "Q",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, level 0\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  OK, Global Information\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"OK\" FROM (SELECT sum(\"count\") as \"T\" FROM \"gatling\" WHERE (\"status\" = 'ok') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "V",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, % KO, level 4+\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "M",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, % KO, level 3\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\"  FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\") GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "R",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 2\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\") GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "S",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  KO, %KO, level 1\nSELECT (first(\"T\") + last(\"T\") - first(\"T\")) as \"KO\", last(\"T\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"T\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\") GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "T",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  \"KO\", \"% KO\", level 0\nSELECT (first(\"X\") + last(\"X\") - first(\"X\")) as \"KO\", last(\"X\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group1"
              ],
              "type": "tag"
            },
            {
              "params": [
                "group2"
              ],
              "type": "tag"
            },
            {
              "params": [
                "request"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  \"KO\", \"% KO\", Global Information\nSELECT (first(\"X\") + last(\"X\") - first(\"X\")) as \"KO\", last(\"X\")/$Total as \"% KO\" FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"status\" = 'ko') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\") GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "W",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "KO"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "status",
              "operator": "=",
              "value": "ko"
            }
          ]
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > ... > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 4+\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"::integer >= 4 AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\"\n) GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_group3 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 3\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\"='3' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/ AND \"group3\"=~/^$group3$/) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\", \"group3\"\n) GROUP BY \"request\", \"group1\", \"group2\", \"group3\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_group2 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 2\nSELECT\n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='2' AND \"group1\"=~/^$group1$/ AND \"group2\"=~/^$group2$/)) AND $timeFilter GROUP BY \"request\", \"group1\", \"group2\"\n) GROUP BY \"request\", \"group1\", \"group2\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_group1 > $tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0, min, 50%, 75%, 95%, max, mean, std, level 1\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND ((\"group\"='1' AND \"group1\"=~/^$group1$/)) AND $timeFilter GROUP BY \"request\", \"group1\"\n) GROUP BY \"request\", \"group1\"",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_request:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, level 0\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"$archive\".\"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" =~ /^$request$/) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\"\n) GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "<b>Global Information</b>:::$col",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": true,
          "orderByTime": "ASC",
          "policy": "default",
          "query": "-- time = 0,  min, 50%, 75%, 95%, max, mean, std, Global Information\nSELECT \n  (first(\"Min\")+last(\"Min\")-first(\"Min\")) as \"Min\",\n  (first(\"50th pct\")+last(\"50th pct\")-first(\"50th pct\")) as \"50th pct\",\n  (first(\"75th pct\")+last(\"75th pct\")-first(\"75th pct\")) as \"75th pct\",\n  (first(\"95th pct\")+last(\"95th pct\")-first(\"95th pct\")) as \"95th pct\",\n  (first(\"99th pct\")+last(\"99th pct\")-first(\"99th pct\")) as \"99th pct\",\n  (first(\"Max\")+last(\"Max\")-first(\"Max\")) as \"Max\",\n  (first(\"Mean\")+last(\"Mean\")-first(\"Mean\")) as \"Mean\",\n  (first(\"Std dev\")+last(\"Std dev\")-first(\"Std dev\")) as \"Std dev\"\nFROM (\n  SELECT \n    min(\"min\") as \"Min\",\n    percentile(\"percentiles50\", 50) as \"50th pct\",\n    percentile(\"percentiles75\", 75) as \"75th pct\",\n    percentile(\"percentiles95\", 95) as \"95th pct\",\n    percentile(\"percentiles99\", 99) as \"99th pct\",\n    max(\"max\") as \"Max\",\n    mean(\"mean\") as \"Mean\",\n    percentile(\"stdDev\", 95) as \"Std dev\"\n  FROM \n    \"gatling\" \n  WHERE \n    (\"status\" = 'all') AND (\"simulation\" =~ /^$simulation$/) AND (\"request\" = 'allRequests') AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '')  AND $timeFilter GROUP BY \"request\"\n) GROUP BY \"request\"",
          "rawQuery": true,
          "refId": "X",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "text_alignment_firstcolumn": "",
      "text_alignment_header": "right",
      "text_alignment_values": "right",
      "title": "",
      "type": "yesoreyeram-boomtable-panel"
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">$request</span> : Response Time</div>\n\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 124
      },
      "id": 361,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 7,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 126
      },
      "hiddenSeries": false,
      "id": 218,
      "interval": "10s",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "min",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "min",
          "color": "#C4FD90",
          "zindex": 2
        },
        {
          "alias": "50%",
          "color": "#6FF2AD",
          "zindex": 1
        },
        {
          "alias": "75%",
          "color": "#60ECE5",
          "zindex": 0
        },
        {
          "alias": "95%",
          "color": "#BC28D7",
          "zindex": -1
        },
        {
          "alias": "99%",
          "color": "#D11C97",
          "zindex": -2
        },
        {
          "alias": "max",
          "color": "#C73905",
          "zindex": -3
        },
        {
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "linewidth": 4,
          "yaxis": 2,
          "zindex": 3
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT min(\"min\") AS \"min\", percentile(\"percentiles50\", 50) AS \"50%\", percentile(\"percentiles75\", 75) AS \"75%\", percentile(\"percentiles95\", 95) AS \"95%\", percentile(\"percentiles99\", 99) AS \"99%\", max(\"max\") AS \"max\"  FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'ok' AND \"simulation\" =~ /^$simulation$/ AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\"!='' AND \"group\"!='1' AND \"group\"!='2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/)) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"simulation\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "percentiles50"
                ],
                "type": "field"
              },
              {
                "params": [
                  "50"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "50%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles95"
                ],
                "type": "field"
              },
              {
                "params": [
                  "95"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "95%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles99"
                ],
                "type": "field"
              },
              {
                "params": [
                  "99"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "99%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "max"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "max"
              },
              {
                "params": [
                  "max"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "percentiles75"
                ],
                "type": "field"
              },
              {
                "params": [
                  "75"
                ],
                "type": "percentile"
              },
              {
                "params": [
                  "75%"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "min"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "min"
              },
              {
                "params": [
                  "min"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "ok"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "simulation"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g), \"simulation\" fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Response Time Percentiles over Time (OK)",
      "tooltip": {
        "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": 0,
          "show": true
        },
        {
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">$request</span> : Requests / sec</div>\n",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 137
      },
      "id": 452,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 139
      },
      "hiddenSeries": false,
      "id": 279,
      "interval": "10s",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "alias": "All",
          "color": "#4572A7",
          "fill": 7,
          "yaxis": 1
        },
        {
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"count\")), 1s) AS \"All\" FROM \"$archive\".\"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"status\" = 'all' AND \"simulation\" =~ /^$simulation$/ AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\"!='' AND \"group\"!='1' AND \"group\"!='2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/)) AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "All"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "status",
              "operator": "=",
              "value": "all"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"$archive\".\"gatling.users\" WHERE (\"simulation\" =~ /^$simulation$/ AND \"request\" = 'allUsers' AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            },
            {
              "condition": "AND",
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of requests per second",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "cumulative"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "reqps",
          "label": "Number of requests",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "content": "<div style=\"font-weight: bold; padding: 0; margin: 0; right: 0; padding: 7px 0px; margin: 5px 5px 0 5px; font-size: 18px;\"><span style=\"color: #D1D1CE;\">&gt; </span> <span style=\"color: #e37400;\">$request</span> : Responces / sec</div>",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 24,
        "x": 0,
        "y": 150
      },
      "id": 553,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "$ds",
      "editable": true,
      "error": false,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "grid": {},
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 152
      },
      "hiddenSeries": false,
      "id": 280,
      "interval": "",
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "links": [],
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "paceLength": 10,
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeatDirection": "h",
      "seriesOverrides": [
        {
          "$$hashKey": "object:777",
          "alias": "all",
          "color": "#4572A7",
          "fill": 0,
          "stack": false,
          "zindex": 0
        },
        {
          "$$hashKey": "object:778",
          "alias": "ok",
          "color": "#A0B228",
          "fill": 7,
          "stack": true,
          "zindex": 1
        },
        {
          "$$hashKey": "object:779",
          "alias": "ko",
          "color": "#FF0000",
          "fill": 10,
          "stack": true,
          "zindex": 1
        },
        {
          "$$hashKey": "object:780",
          "alias": "Active Users",
          "color": "#FF9D00",
          "fill": 0,
          "stack": false,
          "yaxis": 2,
          "zindex": 3
        }
      ],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_status",
          "dsType": "influxdb",
          "fields": [
            {
              "func": "mean",
              "name": "value"
            }
          ],
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "status"
              ],
              "type": "tag"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "hide": false,
          "measurement": "gatling",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"count\")), 1s) FROM \"gatling\" WHERE (\"request\" =~ /^$request$/ AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\"!='' AND \"group\"!='1' AND \"group\"!='2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/))) AND $timeFilter GROUP BY time($g), \"status\" fill(null)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "count"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=~",
              "value": "/^$request$/"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        },
        {
          "alias": "$col",
          "groupBy": [
            {
              "params": [
                "$g"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "gatling.users",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT non_negative_derivative(cumulative_sum(sum(\"active\")), 1s) AS \"Active Users\" FROM \"gatling.users\" WHERE (\"request\" = 'allUsers' AND \"simulation\" =~ /^$simulation$/ AND (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '')) AND $timeFilter GROUP BY time($g) fill(null)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "active"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              },
              {
                "params": [
                  "1s"
                ],
                "type": "non_negative_derivative"
              },
              {
                "params": [
                  "Active Users"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "request",
              "operator": "=",
              "value": "allUsers"
            },
            {
              "condition": "AND",
              "key": "simulation",
              "operator": "=~",
              "value": "/^$simulation$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Number of responses per second",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:831",
          "format": "reqps",
          "label": "Number of responses",
          "logBase": 1,
          "max": null,
          "min": 0,
          "show": true
        },
        {
          "$$hashKey": "object:832",
          "format": "none",
          "label": "Active Users",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 25,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "Gatling_TCP",
          "value": "Gatling_TCP"
        },
        "hide": 0,
        "includeAll": false,
        "label": "data source",
        "multi": false,
        "name": "ds",
        "options": [],
        "query": "influxdb",
        "queryValue": "",
        "refresh": 1,
        "regex": "/.*Gatling.*/i",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "$ds",
        "definition": "SHOW RETENTION POLICIES",
        "hide": 2,
        "includeAll": false,
        "label": "Retention policy",
        "multi": false,
        "name": "archive",
        "options": [],
        "query": "SHOW RETENTION POLICIES",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": true,
        "auto_count": 500,
        "auto_min": "1s",
        "current": {
          "selected": false,
          "text": "1s",
          "value": "1s"
        },
        "hide": 0,
        "label": "granularity",
        "name": "g",
        "options": [
          {
            "selected": false,
            "text": "auto",
            "value": "$__auto_interval_g"
          },
          {
            "selected": true,
            "text": "1s",
            "value": "1s"
          },
          {
            "selected": false,
            "text": "2s",
            "value": "2s"
          },
          {
            "selected": false,
            "text": "5s",
            "value": "5s"
          },
          {
            "selected": false,
            "text": "10s",
            "value": "10s"
          },
          {
            "selected": false,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "2m",
            "value": "2m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "1s,2s,5s,10s,30s,1m,2m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "40",
          "value": "40"
        },
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "duration_1",
        "options": [
          {
            "selected": false,
            "text": "800",
            "value": "800"
          }
        ],
        "query": "800",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "100",
          "value": "100"
        },
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "duration_2",
        "options": [
          {
            "selected": false,
            "text": "1200",
            "value": "1200"
          }
        ],
        "query": "1200",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT DISTINCT(\"simulation\") FROM (\n    SELECT \"simulation\",\"mean\" \n    FROM \"$archive\".\"gatling\" \n    WHERE $timeFilter)\n--SELECT \"simulation\" FROM (SELECT last(\"mean\") from \"gatling\" WHERE $timeFilter GROUP BY \"simulation\")",
        "hide": 0,
        "includeAll": false,
        "label": "Simulation",
        "multi": false,
        "name": "simulation",
        "options": [],
        "query": "SELECT DISTINCT(\"simulation\") FROM (\n    SELECT \"simulation\",\"mean\" \n    FROM \"$archive\".\"gatling\" \n    WHERE $timeFilter)\n--SELECT \"simulation\" FROM (SELECT last(\"mean\") from \"gatling\" WHERE $timeFilter GROUP BY \"simulation\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "SELECT \"simulation\" FROM (SELECT last(\"mean\") from \"gatling\" WHERE $timeFilter AND \"run\" =~ /^$tag$/ GROUP BY \"simulation\")",
        "tags": [],
        "tagsQuery": "SELECT \"run\" FROM (SELECT last(\"mean\") from \"gatling\" WHERE \"run\" <> '' AND $timeFilter GROUP BY \"run\" ORDER BY time DESC) ORDER BY time DESC LIMIT 5",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"run\" FROM (SELECT last(\"mean\") from \"$archive\".\"gatling\" WHERE \"run\" <> '' AND \"simulation\" =~ /^$simulation$/ AND $timeFilter GROUP BY \"run\")",
        "hide": 0,
        "includeAll": false,
        "label": "Run",
        "multi": false,
        "name": "run",
        "options": [],
        "query": "SELECT \"run\" FROM (SELECT last(\"mean\") from \"$archive\".\"gatling\" WHERE \"run\" <> '' AND \"simulation\" =~ /^$simulation$/ AND $timeFilter GROUP BY \"run\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 2,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"host\" FROM \n(SELECT last(\"mean\") from \"$archive\".\"gatling\" WHERE \"run\" =~ /^${run:regex}$/ AND \"simulation\" =~ /^${simulation:regex}$/ AND $timeFilter GROUP BY \"host\")",
        "hide": 0,
        "includeAll": true,
        "label": "Load Station",
        "multi": true,
        "name": "host",
        "options": [],
        "query": "SELECT \"host\" FROM \n(SELECT last(\"mean\") from \"$archive\".\"gatling\" WHERE \"run\" =~ /^${run:regex}$/ AND \"simulation\" =~ /^${simulation:regex}$/ AND $timeFilter GROUP BY \"host\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"group1\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" = '$simulation' AND \"group\"='1' AND $timeFilter GROUP BY \"group1\")",
        "hide": 0,
        "includeAll": true,
        "label": "Group (level 1)",
        "multi": true,
        "name": "group1",
        "options": [],
        "query": "SELECT \"group1\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" = '$simulation' AND \"group\"='1' AND $timeFilter GROUP BY \"group1\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"group2\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$group1$/ AND \"group\"='2' AND $timeFilter GROUP BY \"group2\")",
        "hide": 0,
        "includeAll": true,
        "label": "Group (level 2)",
        "multi": true,
        "name": "group2",
        "options": [],
        "query": "SELECT \"group2\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$group1$/ AND \"group\"='2' AND $timeFilter GROUP BY \"group2\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "SELECT \"group2\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$tag$/ AND \"group\"='2' AND $timeFilter GROUP BY \"group2\")",
        "tags": [],
        "tagsQuery": "SELECT \"group1\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$group1$/ AND \"group\"='2' AND $timeFilter GROUP BY \"group1\")",
        "type": "query",
        "useTags": true
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"group3\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '') AND \"simulation\" =~ /^${simulation:regex}$/ AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/ AND \"group\"='3' AND $timeFilter GROUP BY \"group3\")",
        "hide": 0,
        "includeAll": true,
        "label": "Group (level 3)",
        "multi": true,
        "name": "group3",
        "options": [],
        "query": "SELECT \"group3\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '') AND \"simulation\" =~ /^${simulation:regex}$/ AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/ AND \"group\"='3' AND $timeFilter GROUP BY \"group3\")",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "SELECT \"group3\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$tag$/ AND \"group\"='3' AND $timeFilter GROUP BY \"group3\")",
        "tags": [],
        "tagsQuery": "SELECT \"group2\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group\"='3' AND $timeFilter GROUP BY \"group2\")",
        "type": "query",
        "useTags": true
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT \"request\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '') AND \"simulation\" =~ /^${simulation:regex}$/ AND \"request\" != 'allRequests' AND $timeFilter AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^${group1:regex}$/) OR (\"group\" = '2' AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/) OR (\"group\" <> '' AND \"group\" <> '1' AND \"group\" <> '2' AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/ AND \"group3\" =~ /^${group3:regex}$/) )  GROUP BY \"request\") ",
        "hide": 0,
        "includeAll": true,
        "label": "Request",
        "multi": true,
        "name": "request",
        "options": [],
        "query": "SELECT \"request\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '') AND \"simulation\" =~ /^${simulation:regex}$/ AND \"request\" != 'allRequests' AND $timeFilter AND (\"group\" = '0' OR \"group\" = '' OR (\"group\" = '1' AND \"group1\" =~ /^${group1:regex}$/) OR (\"group\" = '2' AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/) OR (\"group\" <> '' AND \"group\" <> '1' AND \"group\" <> '2' AND \"group1\" =~ /^${group1:regex}$/ AND \"group2\" =~ /^${group2:regex}$/ AND \"group3\" =~ /^${group3:regex}$/) )  GROUP BY \"request\") ",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": " SELECT \"request\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"request\" != 'allRequests' AND $timeFilter AND \"group\" =~/^$tag$/ AND ( \"group\" = '0' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\" <> '' AND \"group\" <> '1' AND \"group\" <> '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/) )  GROUP BY \"request\")",
        "tags": [
          {
            "selected": false,
            "text": "0"
          }
        ],
        "tagsQuery": "SELECT \"group\" FROM (select last(\"mean\") from \"$archive\".gatling where (\"run\" =~ /^$run$/ OR \"run\" = '') AND (\"host\" =~ /^$host$/ OR \"host\" = '') AND \"simulation\" =~ /^$simulation$/ AND \"request\" != 'allRequests' AND $timeFilter AND (\"group\" = '0' OR (\"group\" = '1' AND \"group1\" =~ /^$group1$/) OR (\"group\" = '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/) OR (\"group\" <> '' AND \"group\" <> '1' AND \"group\" <> '2' AND \"group1\" =~ /^$group1$/ AND \"group2\" =~ /^$group2$/ AND \"group3\" =~ /^$group3$/))  GROUP BY \"group\")",
        "type": "query",
        "useTags": true
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SHOW TAG VALUES  FROM \"gatling.users\" WITH KEY = \"request\" where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '')  AND \"simulation\" =~ /^${simulation:regex}$/ AND \"request\" != 'allUsers' AND $timeFilter",
        "hide": 0,
        "includeAll": true,
        "label": "User (Scenario)",
        "multi": true,
        "name": "scenario",
        "options": [],
        "query": "SHOW TAG VALUES  FROM \"gatling.users\" WITH KEY = \"request\" where (\"run\" =~ /^${run:regex}$/ OR \"run\" = '') AND (\"host\" =~ /^${host:regex}$/ OR \"host\" = '')  AND \"simulation\" =~ /^${simulation:regex}$/ AND \"request\" != 'allUsers' AND $timeFilter",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT max(\"X\") FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"='')), (SELECT last(\"count\")-last(\"count\")+0.00001 as \"X\" FROM \"$archive\".gatling)\n\n-- default value is 0.00001",
        "hide": 2,
        "includeAll": false,
        "label": "Total",
        "multi": false,
        "name": "Total",
        "options": [],
        "query": "SELECT max(\"X\") FROM (SELECT sum(\"count\") as \"X\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" = '$simulation') and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"='')), (SELECT last(\"count\")-last(\"count\")+0.00001 as \"X\" FROM \"$archive\".gatling)\n\n-- default value is 0.00001",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT max(\"X\") FROM (SELECT percentile(\"E\", 90) as \"X\" FROM (SELECT ELAPSED(\"count\", 1s) as \"E\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"=''))), (SELECT last(\"count\")-last(\"count\")+0 as \"X\" FROM \"$archive\".gatling)\n\n-- default value of gatlingWriteDuration = 0",
        "hide": 2,
        "includeAll": false,
        "label": "gatlingWriteDuration",
        "multi": false,
        "name": "gatlingWriteDuration",
        "options": [],
        "query": "SELECT max(\"X\") FROM (SELECT percentile(\"E\", 90) as \"X\" FROM (SELECT ELAPSED(\"count\", 1s) as \"E\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"=''))), (SELECT last(\"count\")-last(\"count\")+0 as \"X\" FROM \"$archive\".gatling)\n\n-- default value of gatlingWriteDuration = 0",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT max(\"E2\")+$gatlingWriteDuration FROM (SELECT sum(\"E\") as \"E2\" FROM (select ELAPSED(\"count\", 1s) as \"E\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"='') GROUP BY \"host\") GROUP BY \"host\"), (SELECT last(\"count\")-last(\"count\")+0    as \"E2\" FROM \"$archive\".gatling)\n\n-- default value: 0",
        "hide": 2,
        "includeAll": false,
        "label": "testDuration",
        "multi": false,
        "name": "testDuration",
        "options": [],
        "query": "SELECT max(\"E2\")+$gatlingWriteDuration FROM (SELECT sum(\"E\") as \"E2\" FROM (select ELAPSED(\"count\", 1s) as \"E\" FROM \"$archive\".\"gatling\" WHERE (\"simulation\" =~ /^$simulation$/) and $timeFilter and \"status\" = 'all' and \"request\" = 'allRequests' and (\"run\" =~ /^$run$/ or \"run\" = '') AND (\"host\" =~ /^$host$/ or \"host\"='') GROUP BY \"host\") GROUP BY \"host\"), (SELECT last(\"count\")-last(\"count\")+0    as \"E2\" FROM \"$archive\".gatling)\n\n-- default value: 0",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": "",
        "current": {},
        "datasource": "$ds",
        "definition": "SELECT ((\"zero\" + $testDuration) * 2) FROM (SELECT last(\"count\")-last(\"count\") as \"zero\" from \"$archive\".\"gatling\")\n\n-- default value: 0",
        "hide": 2,
        "includeAll": false,
        "label": "testDurationX2",
        "multi": false,
        "name": "testDurationX2",
        "options": [],
        "query": "SELECT ((\"zero\" + $testDuration) * 2) FROM (SELECT last(\"count\")-last(\"count\") as \"zero\" from \"$archive\".\"gatling\")\n\n-- default value: 0",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "SHOW TAG VALUES WITH KEY = \"group1\"",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-15m",
    "to": "now"
  },
  "timepicker": {
    "now": true,
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Gatling Report",
  "uid": "gatling",
  "version": 3,
  "description": "Gatling Report"
}