Grafana dashboard: Main dashboard
Description: a description


{
  "__inputs": [
    {
      "name": "DS_GRAPHITE",
      "label": "Graphite",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.0.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 10085,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1536439212720,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_GRAPHITE}",
      "fill": 7,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "height": "250px",
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sideWidth": 250,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "alias(stats.gauges.$server.rps.count, 'Requests attempted')",
          "textEditor": false
        },
        {
          "hide": true,
          "refCount": 0,
          "refId": "C",
          "target": "alias(stats.gauges.$server.requestsCompleted, 'Requests completed')"
        },
        {
          "refCount": 0,
          "refId": "B",
          "target": "aliasByMetric(stats.gauges.$server.scenarioCounts.*)",
          "textEditor": false
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Scenarios launched (stacked)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "rps",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {
        "Completed": "#7EB26D",
        "Errored": "#BF1B00",
        "Errors count": "#BF1B00",
        "Pending": "#447EBC",
        "Requests completed": "#7EB26D"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_GRAPHITE}",
      "fill": 7,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "height": "250",
      "id": 5,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sideWidth": 250,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "refId": "B",
          "target": "alias(sumSeries(stats.gauges.$server.errors.*), 'Errored')",
          "textEditor": true
        },
        {
          "refId": "A",
          "target": "alias(stats.gauges.$server.requestsCompleted, 'Completed')"
        },
        {
          "refId": "C",
          "target": "alias(stats.gauges.$server.pendingRequests, 'Pending')"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Requests state (stacked)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_GRAPHITE}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "height": "250px",
      "id": 3,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sideWidth": 250,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "refCount": 0,
          "refId": "C",
          "target": "alias(stats.gauges.$server.scenarioDuration.max, 'Upper')"
        },
        {
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "aliasByMetric(stats.gauges.$server.scenarioDuration.min)"
        },
        {
          "refCount": 0,
          "refId": "B",
          "target": "alias(stats.gauges.$server.scenarioDuration.median, 'Median')"
        },
        {
          "hide": true,
          "refCount": 0,
          "refId": "D",
          "target": "stats.gauges.$server.scenarioDuration.max"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Response time (client-side)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ms",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    },
    {
      "aliasColors": {
        "Memory": "#EAB839"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_GRAPHITE}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 21
      },
      "height": "250px",
      "hideTimeOverride": false,
      "id": 1,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": false,
        "max": true,
        "min": false,
        "rightSide": true,
        "show": true,
        "sideWidth": 250,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "percentage": false,
      "pointradius": 5,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "asPercent(stats.gauges.cadvisor.1c19-tp-1_node_1.memory_usage, 1952000000)",
          "yaxis": 1
        },
        {
          "alias": "stats.gauges.cadvisor.1c19-tp-1_gunicorn_1.rx_errors",
          "yaxis": 2
        },
        {
          "alias": "stats.gauges.cadvisor.1c19-tp-1_gunicorn_1.tx_errors",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(removeBelowValue(asPercent(derivative(keepLastValue(stats.gauges.cadvisor.$container.cpu_cumulative_usage, 100)), 10000000000), 0.0001), 'CPU')",
          "textEditor": false
        },
        {
          "hide": true,
          "refCount": 0,
          "refId": "A",
          "target": "alias(removeBelowValue(asPercent(derivative(stats.gauges.cadvisor.$container.cpu_cumulative_usage), 4000000000), 0.00001), 'CPU')"
        },
        {
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(asPercent(stats.gauges.cadvisor.$container.memory_working_set, 2095874048), 'Memory')"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Resources",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": false,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "Bps",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ]
    }
  ],
  "refresh": "5s",
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {
          "text": "artillery-node",
          "value": "artillery-node"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "server",
        "options": [
          {
            "selected": true,
            "text": "artillery-node",
            "value": "artillery-node"
          },
          {
            "selected": false,
            "text": "artillery-gunicorn",
            "value": "artillery-gunicorn"
          }
        ],
        "query": "artillery-node, artillery-gunicorn",
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {
          "text": "1c19-tp-1_node_1",
          "value": "1c19-tp-1_node_1"
        },
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "container",
        "options": [
          {
            "selected": true,
            "text": "1c19-tp-1_node_1",
            "value": "1c19-tp-1_node_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_node_2",
            "value": "1c19-tp-1_node_2"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_node_3",
            "value": "1c19-tp-1_node_3"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_cadvisor_1",
            "value": "1c19-tp-1_cadvisor_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_flask_1",
            "value": "1c19-tp-1_flask_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_grafana_1",
            "value": "1c19-tp-1_grafana_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_graphite_1",
            "value": "1c19-tp-1_graphite_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_gunicorn_1",
            "value": "1c19-tp-1_gunicorn_1"
          },
          {
            "selected": false,
            "text": "1c19-tp-1_nginx_1",
            "value": "1c19-tp-1_nginx_1"
          }
        ],
        "query": "1c19-tp-1_node_1, 1c19-tp-1_node_2, 1c19-tp-1_node_3, 1c19-tp-1_cadvisor_1, 1c19-tp-1_flask_1, 1c19-tp-1_grafana_1, 1c19-tp-1_graphite_1, 1c19-tp-1_gunicorn_1, 1c19-tp-1_nginx_1",
        "type": "custom"
      }
    ]
  },
  "time": {
    "from": "now-3m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Main dashboard",
  "uid": "arxIPammk",
  "version": 4,
  "description": "a description"
}