{ "__inputs": [ { "name": "DS_ITER8_GRPC", "label": "Iter8 gRPC", "description": "", "type": "datasource", "pluginId": "marcusolsson-json-datasource", "pluginName": "JSON API" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "barchart", "name": "Bar chart", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "10.0.3" }, { "type": "datasource", "id": "marcusolsson-json-datasource", "name": "JSON API", "version": "1.3.6" }, { "type": "panel", "id": "piechart", "name": "Pie chart", "version": "" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "false": { "color": "green", "index": 0, "text": "Success" }, "true": { "color": "red", "index": 1, "text": "Failure" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 0 }, "id": 8, "options": { "colorMode": "background_solid", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/.*/", "values": false }, "textMode": "auto" }, "pluginVersion": "10.0.3", "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.ExperimentResult.Failure" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Experiment status", "type": "stat" }, { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 0 }, "id": 9, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.0.3", "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.ExperimentResult.Completed tasks" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Completed tasks", "type": "stat" }, { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "false": { "color": "green", "index": 0 }, "true": { "color": "red", "index": 1 } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 0 }, "id": 7, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/.*/", "values": false }, "text": { "titleSize": 30, "valueSize": 30 }, "textMode": "auto" }, "pluginVersion": "10.0.3", "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.ExperimentResult" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Experiment metadata", "transformations": [ { "id": "extractFields", "options": { "replace": true, "source": "ExperimentResult" } }, { "id": "organize", "options": { "excludeByName": { "Completed tasks": true, "Failure": true, "Insights": true, "Revision": true }, "indexByName": {}, "renameByName": {} } } ], "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 8 }, "id": 4, "panels": [], "repeat": "endpoint", "repeatDirection": "h", "title": "$endpoint", "type": "row" }, { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "description": "The distribution of status codes during the performance experiment.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "hideFrom": { "legend": false, "tooltip": false, "viz": false } }, "mappings": [] }, "overrides": [] }, "gridPos": { "h": 11, "w": 4, "x": 0, "y": 9 }, "id": 1, "options": { "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, "values": [ "value", "percent" ] }, "pieType": "pie", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.Endpoints[$endpoint].Status codes" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Status code distribution", "transformations": [ { "id": "extractFields", "options": { "replace": true, "source": "Status codes" } } ], "type": "piechart" }, { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "description": "Statistics that describe the requests sent in the performance experiment.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 11, "w": 4, "x": 4, "y": 9 }, "id": 3, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "10.0.3", "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.Endpoints[$endpoint].Statistics" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Statistics", "transformations": [ { "id": "extractFields", "options": { "replace": true, "source": "Statistics" } } ], "type": "stat" }, { "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "description": "Histogram that shows the distribution of the duration (in milliseconds) of the requests sent in the performance experiment.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1, "scaleDistribution": { "type": "linear" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 11, "w": 16, "x": 8, "y": 9 }, "id": 2, "options": { "barRadius": 0, "barWidth": 0.97, "fullHighlight": false, "groupWidth": 0.7, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "orientation": "auto", "showValue": "never", "stacking": "none", "tooltip": { "mode": "single", "sort": "none" }, "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, "targets": [ { "cacheDurationSeconds": 300, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "fields": [ { "jsonPath": "$.Endpoints[$endpoint].Durations[*]" } ], "method": "GET", "queryParams": "", "refId": "A", "urlPath": "" } ], "title": "Durations", "transformations": [ { "id": "extractFields", "options": { "format": "json", "keepTime": false, "replace": true, "source": "*" } }, { "id": "partitionByValues", "options": { "fields": [ "Version" ] } } ], "type": "barchart" } ], "refresh": "", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${DS_ITER8_GRPC}" }, "definition": "$keys($.Endpoints)", "hide": 0, "includeAll": true, "multi": true, "name": "endpoint", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "$keys($.Endpoints)", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Iter8 gRPC Performance Test", "uid": "adc8fd9f-90c3-4396-9caf-bf0251c5b112-mul", "version": 6, "weekStart": "" }