From 3b6ba181623e844d5012362209d2f29616315395 Mon Sep 17 00:00:00 2001 From: Pawel Kasperkiewicz Date: Thu, 4 Jun 2020 16:56:48 +0200 Subject: Add CPU/RAM measurements collection Add mechanism for CPU/RAM measurements collection from k8s nodes and from JMeter VM Issue-ID: DCAEGEN2-608 Signed-off-by: Pawel Change-Id: I78af2906254a19da383c7bae9ec919eadd326873 --- .../k8s/grafana/dashboards/jMeterDashboard.json | 4623 ++++++++++---------- 1 file changed, 2325 insertions(+), 2298 deletions(-) (limited to 'performanceTests/k8s/grafana/dashboards/jMeterDashboard.json') diff --git a/performanceTests/k8s/grafana/dashboards/jMeterDashboard.json b/performanceTests/k8s/grafana/dashboards/jMeterDashboard.json index 7dbb0243..b205b18c 100644 --- a/performanceTests/k8s/grafana/dashboards/jMeterDashboard.json +++ b/performanceTests/k8s/grafana/dashboards/jMeterDashboard.json @@ -1,2337 +1,2356 @@ { "annotations": { "list": [ - { - "builtIn": 1, - "datasource": "jmeter", - "enable": false, - "hide": false, - "iconColor": "rgba(0, 211, 255, 1)", - "limit": 100, - "name": "Start/stop marker", - "query": "select text from events where $timeFilter", - "showIn": 0, - "textColumn": "", - "type": "dashboard" - } + { + "builtIn": 1, + "datasource": "jmeter", + "enable": false, + "hide": false, + "iconColor": "rgba(0, 211, 255, 1)", + "limit": 100, + "name": "Start/stop marker", + "query": "select text from events where $timeFilter", + "showIn": 0, + "textColumn": "", + "type": "dashboard" + } ] }, "description": "Monitor your JMeter load test in real time with InfluxDB and Grafana.", "editable": true, "gnetId": 4026, "graphTooltip": 0, - "id": 2, - "iteration": 1590743584322, + "iteration": 1591286038841, "links": [], "panels": [ - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 33, - "panels": [], - "repeat": null, - "title": "Summary", - "type": "row" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#299c46", - "#e5ac0e", - "#d44a3a" - ], - "datasource": "jmeter", - "decimals": 0, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 1 - }, - "height": "", - "id": 26, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " Requests", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "#e5ac0e", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 33, + "panels": [], + "repeat": null, + "title": "Summary", + "type": "row" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "#299c46", + "#e5ac0e", + "#d44a3a" ], - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" + "datasource": "jmeter", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [] - } - ], - "thresholds": "", - "title": "Total Requests", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#299c46", - "#e24d42", - "#d44a3a" - ], - "datasource": "jmeter", - "decimals": 0, - "fieldConfig": { - "defaults": { - "custom": {} + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 1 - }, - "height": "", - "id": 28, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " Failed", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "#bf1b00", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 1 }, - { - "params": [ - "null" - ], - "type": "fill" - } + "height": "", + "id": 26, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": " Requests", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } ], - "tags": [] - } - ], - "thresholds": "", - "title": "Failed Requests", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#299c46", - "#ef843c", - "#e24d42" - ], - "datasource": "jmeter", - "decimals": 2, - "fieldConfig": { - "defaults": { - "custom": {} + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "#e5ac0e", + "show": false }, - "overrides": [] - }, - "format": "percentunit", - "gauge": { - "maxValue": 1, - "minValue": 0, - "show": true, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 1 - }, - "id": 29, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "thresholds": "", + "title": "Total Requests", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "total" }, - "tableColumn": "", - "targets": [ { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "#299c46", + "#e24d42", + "#d44a3a" + ], + "datasource": "jmeter", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [ - "null" - ], - "type": "fill" - } + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 1 + }, + "height": "", + "id": 28, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"countError\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": " Failed", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "#bf1b00", + "show": false }, - { - "params": [], - "type": "mean" - } - ] + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } ], - "tags": [] - } - ], - "thresholds": "0,0.01", - "title": "Error Rate %", - "type": "singlestat", - "valueFontSize": "50%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "aliasColors": { - "No of Errors": "#6ED0E0", - "Req / s": "#6ed0e0", - "Req / sec": "#65c5db" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 8 - }, - "hiddenSeries": false, - "id": 4, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sort": null, - "sortDesc": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] + "thresholds": "", + "title": "Failed Requests", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "total" }, - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ { - "alias": "Req / s", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - } + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "#299c46", + "#ef843c", + "#e24d42" ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" + "datasource": "jmeter", + "decimals": 2, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "transaction", - "operator": "=", - "value": "all" + "format": "percentunit", + "gauge": { + "maxValue": 1, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true }, - { - "condition": "AND", - "key": "application", - "operator": "=~", - "value": "/^$application$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total Throughput", - "tooltip": { - "msResolution": false, - "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": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": { - "No of Errors": "#BF1B00", - "Num of Errors": "#bf1b00" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 0, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 8 - }, - "hiddenSeries": false, - "id": 2, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Num of Errors", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 1 }, - { - "params": [ - "null" - ], - "type": "fill" - } + "id": 29, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "countError" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" - } - ] + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } ], - "tags": [ - { - "key": "transaction", - "operator": "=", - "value": "all" + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false }, - { - "condition": "AND", - "key": "application", - "operator": "=~", - "value": "/^$application$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total Errors", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": { - "Threads": "#614d93", - "threads": "#614d93" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 0, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 7, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 8 - }, - "hiddenSeries": false, - "id": 31, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"countError\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "thresholds": "0,0.01", + "title": "Error Rate %", + "type": "singlestat", + "valueFontSize": "50%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "total" }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ { - "alias": "Threads", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + "aliasColors": { + "No of Errors": "#6ED0E0", + "Req / s": "#6ed0e0", + "Req / sec": "#65c5db" }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"maxAT\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'internal' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "jmeter", + "decimals": 2, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "mean" - } - ] + "fill": 7, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 4, + "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sort": null, + "sortDesc": null, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Req / s", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=", + "value": "all" + }, + { + "condition": "AND", + "key": "application", + "operator": "=~", + "value": "/^$application$/" + } + ] + } ], - "tags": [] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Active Threads", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total Throughput", + "tooltip": { + "msResolution": false, + "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": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, - "yaxes": [ { + "aliasColors": { + "No of Errors": "#BF1B00", + "Num of Errors": "#bf1b00" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "jmeter", "decimals": 0, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": { - "banner": "#508642" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 15 - }, - "height": "", - "hiddenSeries": false, - "id": 23, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_transaction", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "transaction" - ], - "type": "tag" - } + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 7, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 8 + }, + "hiddenSeries": false, + "id": 2, + "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Num of Errors", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"countError\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'all' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "countError" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=", + "value": "all" + }, + { + "condition": "AND", + "key": "application", + "operator": "=~", + "value": "/^$application$/" + } + ] + } ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"statut\" = 'ok' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY \"transaction\", time($__interval) fill(null)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "pct95.0" - ], - "type": "field" - } - ] + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } ], - "tags": [ - { - "key": "statut", - "operator": "=", - "value": "ok" - }, - { - "condition": "AND", - "key": "application", - "operator": "=~", - "value": "/^$application$/" + "yaxis": { + "align": false, + "alignLevel": null } - ] - } - ], - "thresholds": [ - { - "colorMode": "ok", - "fill": true, - "line": true, - "op": "lt", - "value": 500 - }, - { - "colorMode": "warning", - "fill": false, - "line": true, - "op": "gt", - "value": 1500 - }, - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 5000 - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Transactions Response Times (95th pct)", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": true, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 22 }, - "id": 34, - "panels": [ { - "columns": [], + "aliasColors": { + "Threads": "#614d93", + "threads": "#614d93" + }, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": "jmeter", - "fontSize": "100%", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 7, + "fillGradient": 0, "gridPos": { "h": 7, "w": 8, - "x": 0, - "y": 23 + "x": 16, + "y": 8 }, - "height": "", - "id": 25, + "hiddenSeries": false, + "id": 31, "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, "links": [], - "pageSize": null, - "scroll": true, - "showHeader": true, - "sort": { - "col": 2, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "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": "short" - } - ], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ - { - "alias": "$tag_transaction", - "dsType": "influxdb", - "groupBy": [ { - "params": [ - "transaction" + "alias": "Threads", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } ], - "type": "tag" - } - ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY \"transaction\"", - "rawQuery": true, - "refId": "A", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"maxAT\") FROM \"$measurement_name\" WHERE (\"transaction\" = 'internal' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] } - ] - ], - "tags": [ + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Active Threads", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ { - "key": "application", - "operator": "=~", - "value": "/^$application$/" + "decimals": 0, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ko" + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } - ] - } ], - "title": "Errors per Transaction", - "transform": "table", - "type": "table-old" + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "columns": [], + "aliasColors": { + "banner": "#508642" + }, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": "jmeter", - "fontSize": "100%", + "decimals": 2, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 16, - "x": 8, - "y": 23 + "w": 24, + "x": 0, + "y": 15 }, - "id": 27, + "height": "", + "hiddenSeries": false, + "id": 23, "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": false, + "hideZero": false, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, "links": [], - "pageSize": null, - "scroll": true, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "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": "short" - } - ], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ - { - "alias": "$tag_responseCode", - "dsType": "influxdb", - "groupBy": [ { - "params": [ - "responseCode" + "alias": "$tag_transaction", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "transaction" + ], + "type": "tag" + } ], - "type": "tag" - } - ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"responseCode\" !~ /^$/) AND $timeFilter GROUP BY \"responseCode\",\"responseMessage\"", - "rawQuery": true, - "refId": "A", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "count" + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"statut\" = 'ok' AND \"application\" =~ /^$application$/) AND $timeFilter GROUP BY \"transaction\", time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "pct95.0" + ], + "type": "field" + } + ] ], - "type": "field" + "tags": [ + { + "key": "statut", + "operator": "=", + "value": "ok" + }, + { + "condition": "AND", + "key": "application", + "operator": "=~", + "value": "/^$application$/" + } + ] } - ], - [ + ], + "thresholds": [ { - "params": [ - "responseMessage" - ], - "type": "field" - } - ] - ], - "tags": [ + "colorMode": "ok", + "fill": true, + "line": true, + "op": "lt", + "value": 500 + }, { - "key": "application", - "operator": "=~", - "value": "/^$application$/" + "colorMode": "warning", + "fill": false, + "line": true, + "op": "gt", + "value": 1500 }, { - "condition": "AND", - "key": "responseCode", - "operator": "!~", - "value": "/^$/" + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": 5000 } - ] - } - ], - "title": "Error Info", - "transform": "table", - "type": "table-old" - } - ], - "repeat": null, - "title": "Errors", - "type": "row" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 35, - "panels": [], - "repeat": null, - "title": "Individual Transaction - $transaction", - "type": "row" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "#e5ac0e", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "jmeter", - "decimals": 0, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 24 - }, - "id": 9, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " Requests", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "#e5ac0e", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" - } - ] + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Transactions Response Times (95th pct)", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$transaction$/" - }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "all" + "yaxis": { + "align": false, + "alignLevel": null } - ] - } - ], - "thresholds": "", - "title": "Total Requests - $transaction", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "#e24d42", - "rgba(50, 172, 45, 0.97)" - ], - "datasource": "jmeter", - "decimals": 0, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 24 - }, - "id": 6, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " Failed", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "#e24d42", - "show": false }, - "tableColumn": "", - "targets": [ { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 22 }, - { - "params": [], - "type": "sum" - } - ] + "id": 34, + "panels": [ + { + "columns": [], + "datasource": "jmeter", + "fontSize": "100%", + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 23 + }, + "height": "", + "id": 25, + "interval": "[[send_interval]]s", + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 2, + "desc": true + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "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": "short" + } + ], + "targets": [ + { + "alias": "$tag_transaction", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "transaction" + ], + "type": "tag" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY \"transaction\"", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "application", + "operator": "=~", + "value": "/^$application$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ko" + } + ] + } + ], + "title": "Errors per Transaction", + "transform": "table", + "type": "table-old" + }, + { + "columns": [], + "datasource": "jmeter", + "fontSize": "100%", + "gridPos": { + "h": 7, + "w": 16, + "x": 8, + "y": 23 + }, + "id": 27, + "interval": "[[send_interval]]s", + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "styles": [ + { + "alias": "Time", + "align": "auto", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "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": "short" + } + ], + "targets": [ + { + "alias": "$tag_responseCode", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "responseCode" + ], + "type": "tag" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"responseCode\" !~ /^$/) AND $timeFilter GROUP BY \"responseCode\",\"responseMessage\"", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + } + ], + [ + { + "params": [ + "responseMessage" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "application", + "operator": "=~", + "value": "/^$application$/" + }, + { + "condition": "AND", + "key": "responseCode", + "operator": "!~", + "value": "/^$/" + } + ] + } + ], + "title": "Error Info", + "transform": "table", + "type": "table-old" + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$transaction$/" - }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ko" - } - ] - } - ], - "thresholds": "", - "title": "Failed Requests - $transaction", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "rgba(50, 172, 45, 0.97)", - "#e5ac0e", - "#e24d42" - ], - "datasource": "jmeter", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "format": "percentunit", - "gauge": { - "maxValue": 1, - "minValue": 0, - "show": true, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 24 - }, - "id": 8, - "interval": "[[send_interval]]s", - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(14, 237, 45)", - "show": false + "repeat": null, + "title": "Errors", + "type": "row" }, - "tableColumn": "", - "targets": [ { - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"count\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" - } - ] - ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$transaction$/" + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 23 }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ok" - } - ] - } - ], - "thresholds": "0,0.01", - "title": "Error Rate % - $transaction", - "type": "singlestat", - "valueFontSize": "50%", - "valueMaps": [ - { - "op": "=", - "text": "0", - "value": "null" - } - ], - "valueName": "total" - }, - { - "aliasColors": { - "90th Percentage": "#EAB839", - "95th Percentage": "#EF843C", - "99th Percentage": "#99440A", - "Average": "#3F6833", - "Max": "#58140C", - "Req / s": "#6ed0e0" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 7, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 31 + "id": 35, + "panels": [], + "repeat": null, + "title": "Individual Transaction - $transaction", + "type": "row" }, - "height": "", - "id": 10, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Average", - "yaxis": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ { - "alias": "Req / s", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - } + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "#e5ac0e", + "rgba(50, 172, 45, 0.97)" ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "count" - ], - "type": "field" - }, - { - "params": [], - "type": "sum" + "datasource": "jmeter", + "decimals": 0, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [ - "5s" - ], - "type": "non_negative_derivative" - } - ] - ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$transaction$/" + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ok" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Throughput - $transaction", - "tooltip": { - "msResolution": false, - "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": false - } - ] - }, - { - "aliasColors": { - "Num of Errors": "#bf1b00", - "num of errors": "#bf1b00" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 0, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 7, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 31 - }, - "id": 32, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": true, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Num of Errors", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 24 }, - { - "params": [ - "null" - ], - "type": "fill" - } + "id": 9, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": " Requests", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } ], - "tags": [] - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Errors", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": 1, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 0, - "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": { - "90th Percentage": "#f2c96d", - "95th Percentage": "#EF843C", - "99th Percentage": "#bf1b00", - "Average": "#7eb26d", - "Max": "#584477", - "Median": "#6ed0e0", - "median": "#6ed0e0" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "jmeter", - "decimals": 2, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 38 - }, - "height": "", - "id": 5, - "interval": "[[send_interval]]s", - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideEmpty": true, - "max": true, - "min": false, - "rightSide": true, - "show": true, - "sortDesc": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 1, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Average", - "yaxis": 1 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "Average", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "#e5ac0e", + "show": false }, - { - "params": [ - "null" - ], - "type": "fill" - } + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$transaction$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "all" + } + ] + } ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"avg\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "avg" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] + "thresholds": "", + "title": "Total Requests - $transaction", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" - }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ok" - } - ] + "valueName": "total" }, { - "alias": "Median", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "#e24d42", + "rgba(50, 172, 45, 0.97)" ], - "hide": false, - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"pct50.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", - "rawQuery": true, - "refId": "F", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "pct50.0" - ], - "type": "field" + "datasource": "jmeter", + "decimals": 0, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 24 + }, + "id": 6, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": " Failed", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "#e24d42", + "show": false }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "all" - } - ] + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE (\"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$transaction$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ko" + } + ] + } + ], + "thresholds": "", + "title": "Failed Requests - $transaction", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "total" }, { - "alias": "90th Percentile", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "#e5ac0e", + "#e24d42" ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"pct90.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "pct90.0" - ], - "type": "field" + "datasource": "jmeter", + "decimals": 2, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] + "format": "percentunit", + "gauge": { + "maxValue": 1, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 24 + }, + "id": 8, + "interval": "[[send_interval]]s", + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(14, 237, 45)", + "show": false }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "all" - } - ] + "tableColumn": "", + "targets": [ + { + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"error\") / sum(\"all\") FROM (SELECT sum(\"count\") AS \"all\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'all' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null)), (SELECT sum(\"count\") AS \"error\" FROM \"$measurement_name\" WHERE \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND \"application\" =~ /^$application$/ AND $timeFilter GROUP BY time($__interval) fill(null))", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$transaction$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ok" + } + ] + } + ], + "thresholds": "0,0.01", + "title": "Error Rate % - $transaction", + "type": "singlestat", + "valueFontSize": "50%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "total" }, { - "alias": "95th Percentile", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" + "aliasColors": { + "90th Percentage": "#EAB839", + "95th Percentage": "#EF843C", + "99th Percentage": "#99440A", + "Average": "#3F6833", + "Max": "#58140C", + "Req / s": "#6ed0e0" }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "pct95.0" - ], - "type": "field" + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "jmeter", + "decimals": 2, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] + "fill": 7, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 31 + }, + "height": "", + "hiddenSeries": false, + "id": 10, + "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Average", + "yaxis": 1 + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Req / s", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"count\") / $send_interval FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "count" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "5s" + ], + "type": "non_negative_derivative" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$transaction$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ok" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Throughput - $transaction", + "tooltip": { + "msResolution": false, + "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": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null } - ] }, { - "alias": "99th Percentile", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" + "aliasColors": { + "Num of Errors": "#bf1b00", + "num of errors": "#bf1b00" }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"pct99.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "pct99.0" - ], - "type": "field" + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "jmeter", + "decimals": 0, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] + "fill": 7, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 31 + }, + "hiddenSeries": false, + "id": 32, + "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 1, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Num of Errors", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT sum(\"count\") FROM \"$measurement_name\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ko' AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": 1, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null } - ] }, { - "alias": "Max", - "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$aggregation" - ], - "type": "time" + "aliasColors": { + "90th Percentage": "#f2c96d", + "95th Percentage": "#EF843C", + "99th Percentage": "#bf1b00", + "Average": "#7eb26d", + "Max": "#584477", + "Median": "#6ed0e0", + "median": "#6ed0e0" }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "jmeter", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT last(\"max\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": true, - "refId": "E", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "max" - ], - "type": "field" + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "jmeter", + "decimals": 2, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "transaction", - "operator": "=~", - "value": "/^$request$/" + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 38 }, - { - "condition": "AND", - "key": "statut", - "operator": "=", - "value": "ok" - } + "height": "", + "id": 5, + "interval": "[[send_interval]]s", + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "hideEmpty": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "sortDesc": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Average", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Average", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"avg\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "avg" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ok" + } + ] + }, + { + "alias": "Median", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"pct50.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval)", + "rawQuery": true, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "pct50.0" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "all" + } + ] + }, + { + "alias": "90th Percentile", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"pct90.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "pct90.0" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "all" + } + ] + }, + { + "alias": "95th Percentile", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"pct95.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "pct95.0" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + } + ] + }, + { + "alias": "99th Percentile", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"pct99.0\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "pct99.0" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + } + ] + }, + { + "alias": "Max", + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$aggregation" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "jmeter", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"max\") FROM \"$measurement_name\" WHERE (\"transaction\" =~ /^$transaction$/ AND \"statut\" = 'ok') AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": true, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "max" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "transaction", + "operator": "=~", + "value": "/^$request$/" + }, + { + "condition": "AND", + "key": "statut", + "operator": "=", + "value": "ok" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "ok", + "fill": true, + "line": true, + "op": "lt", + "value": 500 + }, + { + "colorMode": "warning", + "fill": false, + "line": true, + "op": "gt", + "value": 1500 + }, + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": 5000 + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Response Times - $transaction", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } ] } - ], - "thresholds": [ - { - "colorMode": "ok", - "fill": true, - "line": true, - "op": "lt", - "value": 500 - }, - { - "colorMode": "warning", - "fill": false, - "line": true, - "op": "gt", - "value": 1500 - }, - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": 5000 - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Response Times - $transaction", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ] - } ], "refresh": "5s", "schemaVersion": 25, @@ -2341,108 +2360,116 @@ ], "templating": { "list": [ - { - "current": { - "selected": false, - "text": "jmeter", - "value": "jmeter" - }, - "hide": 0, - "includeAll": false, - "label": "", - "multi": false, - "name": "data_source", - "options": [], - "query": "influxdb", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, - { - "allValue": null, - "current": {}, - "datasource": "jmeter", - "definition": "", - "hide": 0, - "includeAll": false, - "label": "", - "multi": false, - "name": "application", - "options": [], - "query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"application\"", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": null, - "tags": [], - "tagsQuery": null, - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": {}, - "datasource": "jmeter", - "definition": "", - "hide": 0, - "includeAll": false, - "label": "", - "multi": false, - "name": "transaction", - "options": [], - "query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"transaction\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" != 'internal' AND \"transaction\" != 'all'", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": null, - "tags": [], - "tagsQuery": null, - "type": "query", - "useTags": false - }, - { - "current": { - "text": "jmeter", - "value": "jmeter" - }, - "hide": 2, - "label": "Measurement name", - "name": "measurement_name", - "options": [ { - "text": "jmeter", - "value": "jmeter" - } - ], - "query": "jmeter", - "skipUrlSync": false, - "type": "constant" - }, - { - "current": { - "text": "5", - "value": "5" - }, - "hide": 2, - "label": "Backend send interval in second", - "name": "send_interval", - "options": [ + "current": { + "selected": false, + "text": "jmeter", + "value": "jmeter" + }, + "hide": 0, + "includeAll": false, + "label": "", + "multi": false, + "name": "data_source", + "options": [], + "query": "influxdb", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": { + "selected": false, + "text": "ves", + "value": "ves" + }, + "datasource": "jmeter", + "definition": "", + "hide": 0, + "includeAll": false, + "label": "", + "multi": false, + "name": "application", + "options": [], + "query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"application\"", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": null, + "tags": [], + "tagsQuery": null, + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": false, + "text": "HTTP Request", + "value": "HTTP Request" + }, + "datasource": "jmeter", + "definition": "", + "hide": 0, + "includeAll": false, + "label": "", + "multi": false, + "name": "transaction", + "options": [], + "query": "SHOW TAG VALUES FROM \"jmeter\" WITH KEY = \"transaction\" WHERE \"application\" =~ /^$application$/ AND \"transaction\" != 'internal' AND \"transaction\" != 'all'", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": null, + "tags": [], + "tagsQuery": null, + "type": "query", + "useTags": false + }, + { + "current": { + "text": "jmeter", + "value": "jmeter" + }, + "hide": 2, + "label": "Measurement name", + "name": "measurement_name", + "options": [ + { + "text": "jmeter", + "value": "jmeter" + } + ], + "query": "jmeter", + "skipUrlSync": false, + "type": "constant" + }, { - "text": "5", - "value": "5" + "current": { + "text": "5", + "value": "5" + }, + "hide": 2, + "label": "Backend send interval in second", + "name": "send_interval", + "options": [ + { + "text": "5", + "value": "5" + } + ], + "query": "5", + "skipUrlSync": false, + "type": "constant" } - ], - "query": "5", - "skipUrlSync": false, - "type": "constant" - } ] }, "time": { - "from": "now-30m", + "from": "now-15m", "to": "now" }, "timepicker": { @@ -2472,5 +2499,5 @@ "timezone": "browser", "title": "JMeter Dashboard", "uid": "symhaxzMz", - "version": 4 + "version": 1 } \ No newline at end of file -- cgit 1.2.3-korg