Robot Framework Grafana Dashboard - PostgreSQL
Robot Framework Test Results Grafana Dashboard in PostgreSQL
Robot Framework Test Results are parsed and stored in PostgreSQL DB. Please go through the following link to see how to parse the test results to PostgreSQL DB - [CQE - Robot Framework Grafana Dashboard](https://cognitiveqe.com/robot-framework-test-results-in-grafana-postgresql/)                                                                

Metrics Covered By Robot Framework Grafana Dashboard :
- Execution Status - Latest
- Total Executions - Over Time Period
- Average Pass and Failure Percentage
- Top 5 Failed Test Cases
- All Execution Status Over Time Period
- Average Execution Time
- Execution Trend Graph 

![alt text](https://cognitiveqe.com/wp-content/uploads/2020/07/Robot_Framework_Grafana_PostgreSQL.png)

![alt text](https://cognitiveqe.com/wp-content/uploads/2020/07/Robot_Framework_Grafana_PostgreSQL_1.png)

Robot Framework Test Results Grafana Dashboard
{
  "__inputs": [
    {
      "name": "DS_POSTGRESQL",
      "label": "PostgreSQL",
      "description": "",
      "type": "datasource",
      "pluginId": "postgres",
      "pluginName": "PostgreSQL"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "briangann-gauge-panel",
      "name": "D3 Gauge",
      "version": "0.0.6"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.1.0"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.5.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "postgres",
      "name": "PostgreSQL",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "table-old",
      "name": "Table (old)",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Robot Framework Test Results Grafana Dashboard in PostgreSQL",
  "editable": true,
  "gnetId": 12728,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1596154937949,
  "links": [],
  "panels": [
    {
      "aliasColors": {
        "FAIL": "#F2495C",
        "Failed": "#F2495C",
        "Passed": "#73BF69"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 8,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "id": 6,
      "interval": null,
      "legend": {
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "values": true
      },
      "legendType": "Under graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "strokeWidth": 1,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  start_time AS \"time\",\n  failed AS \"Failed\",\n  passed AS \"Passed\"\nFROM automation_execution_results\nWHERE\n  $__timeFilter(start_time)\nORDER BY 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "failed"
                ],
                "type": "column"
              },
              {
                "params": [
                  "Failed"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "passed"
                ],
                "type": "column"
              },
              {
                "params": [
                  "Passed"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "automation_execution_results",
          "timeColumn": "start_time",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Automation Execution Status - Latest",
      "transparent": true,
      "type": "grafana-piechart-panel",
      "valueName": "current"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#5794F2",
                "value": null
              },
              {
                "color": "#5794F2",
                "value": 100
              },
              {
                "color": "#d44a3a"
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 4,
        "x": 6,
        "y": 0
      },
      "id": 4,
      "interval": null,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "sum"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.0",
      "targets": [
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "$__interval",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "suite_name",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(start_time,$__interval),\n  suite_name AS metric,\n  count(suite_name) AS \"suite_name\"\nFROM automation_execution_results\nWHERE\n  $__timeFilter(start_time) AND\n  suite_name = '$suite_name'\nGROUP BY 1,2\nORDER BY 1,2",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "suite_name"
                ],
                "type": "column"
              },
              {
                "params": [
                  "count"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "suite_name"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "automation_execution_results",
          "timeColumn": "start_time",
          "timeColumnType": "timestamp",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            },
            {
              "datatype": "text",
              "name": "",
              "params": [
                "suite_name",
                "=",
                "'$suite_name'"
              ],
              "type": "expression"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Total Executions",
      "type": "stat"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#299c46",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 100
              },
              {
                "color": "#d44a3a"
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 4,
        "x": 10,
        "y": 0
      },
      "id": 2,
      "interval": null,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.0",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  $__timeGroupAlias(start_time,$__interval),\n  sum(passed)/(sum(passed)+sum(failed)) as \"success_rate\"\nFROM\n  automation_execution_results\nWHERE\n  $__timeFilter(start_time) and suite_name = '$suite_name'\nGROUP BY 1\nORDER BY 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Avg Success Rate",
      "type": "stat"
    },
    {
      "cacheTimeout": null,
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 0,
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#F2495C",
                "value": null
              },
              {
                "color": "#F2495C",
                "value": 100
              },
              {
                "color": "#d44a3a"
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 4,
        "x": 14,
        "y": 0
      },
      "id": 3,
      "interval": null,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.1.0",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  $__timeGroupAlias(start_time,$__interval),\n  sum(failed)/(sum(passed)+sum(failed)) as \"success_rate\"\nFROM\n  automation_execution_results\nWHERE\n  $__timeFilter(start_time) and suite_name = '$suite_name'\nGROUP BY 1\nORDER BY 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Average Failure Rate",
      "type": "stat"
    },
    {
      "colors": [
        "rgba(50, 172, 45, 0.97)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(245, 54, 54, 0.9)"
      ],
      "datasource": "${DS_POSTGRESQL}",
      "decimals": 2,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSizes": [
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        22,
        24,
        26,
        28,
        30,
        32,
        34,
        36,
        38,
        40,
        42,
        44,
        46,
        48,
        50,
        52,
        54,
        56,
        58,
        60,
        62,
        64,
        66,
        68,
        70
      ],
      "fontTypes": [
        "Arial",
        "Avant Garde",
        "Bookman",
        "Consolas",
        "Courier",
        "Courier New",
        "Garamond",
        "Helvetica",
        "Open Sans",
        "Palatino",
        "Times",
        "Times New Roman",
        "Verdana"
      ],
      "format": "m",
      "gauge": {
        "animateNeedleValueTransition": true,
        "animateNeedleValueTransitionSpeed": 2000,
        "edgeWidth": 0.05,
        "gaugeRadius": 0,
        "gaugeUnits": "",
        "innerCol": "#fff",
        "labelFontSize": 18,
        "maxNeedleAngle": 320,
        "maxTickAngle": 300,
        "maxValue": 60,
        "minValue": 0,
        "needleCol": "#0099CC",
        "needleLengthNeg": 0.2,
        "needleTickGap": 0.05,
        "needleWidth": 5,
        "outerEdgeCol": "#0099CC",
        "padding": 0.05,
        "pivotCol": "#999",
        "pivotRadius": 0.1,
        "show": true,
        "showLowerThresholdRange": true,
        "showMiddleThresholdRange": true,
        "showThresholdColorOnBackground": true,
        "showThresholdColorOnValue": false,
        "showThresholdOnGauge": true,
        "showUpperThresholdRange": true,
        "tickColMaj": "#0099CC",
        "tickColMin": "#000",
        "tickEdgeGap": 0.05,
        "tickFont": "Open Sans",
        "tickLabelCol": "#000",
        "tickLengthMaj": 0.15,
        "tickLengthMin": 0.05,
        "tickSpaceMajVal": 10,
        "tickSpaceMinVal": 1,
        "tickWidthMaj": 5,
        "tickWidthMin": 1,
        "ticknessGaugeBasis": 200,
        "unitsFont": "Open Sans",
        "unitsLabelCol": "#000",
        "unitsLabelFontSize": 22,
        "valueYOffset": 0,
        "zeroNeedleAngle": 40,
        "zeroTickAngle": 60
      },
      "gaugeDivId": "d3gauge_svg_8",
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 0
      },
      "id": 8,
      "mappingType": 1,
      "mappingTypes": [
        {
          "name": "value to text",
          "value": 1
        },
        {
          "name": "range to text",
          "value": 2
        }
      ],
      "operatorName": "avg",
      "operatorNameOptions": [
        "min",
        "max",
        "avg",
        "current",
        "total",
        "name"
      ],
      "rangeMaps": [
        {
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "svgContainer": {},
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  $__timeGroupAlias(start_time,$__interval),\n  (avg(suite_execution_time)/(10000*60)) as \"suite_execution_time\"\nFROM\n  automation_execution_results\nWHERE\n  $__timeFilter(start_time) and suite_name = '$suite_name'\nGROUP BY 1\nORDER BY 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "thresholds": "30,45",
      "tickMaps": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Avg Execution Time",
      "transparent": true,
      "type": "briangann-gauge-panel",
      "unitFormats": [
        {
          "submenu": [
            {
              "click": "menuItemSelected(0,0)",
              "text": "none",
              "value": "none"
            },
            {
              "click": "menuItemSelected(0,1)",
              "text": "short",
              "value": "short"
            },
            {
              "click": "menuItemSelected(0,2)",
              "text": "percent (0-100)",
              "value": "percent"
            },
            {
              "click": "menuItemSelected(0,3)",
              "text": "percent (0.0-1.0)",
              "value": "percentunit"
            },
            {
              "click": "menuItemSelected(0,4)",
              "text": "Humidity (%H)",
              "value": "humidity"
            },
            {
              "click": "menuItemSelected(0,5)",
              "text": "decibel",
              "value": "dB"
            },
            {
              "click": "menuItemSelected(0,6)",
              "text": "hexadecimal (0x)",
              "value": "hex0x"
            },
            {
              "click": "menuItemSelected(0,7)",
              "text": "hexadecimal",
              "value": "hex"
            },
            {
              "click": "menuItemSelected(0,8)",
              "text": "scientific notation",
              "value": "sci"
            },
            {
              "click": "menuItemSelected(0,9)",
              "text": "locale format",
              "value": "locale"
            },
            {
              "click": "menuItemSelected(0,10)",
              "text": "Pixels",
              "value": "pixel"
            }
          ],
          "text": "Misc"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(1,0)",
              "text": "Meters/sec²",
              "value": "accMS2"
            },
            {
              "click": "menuItemSelected(1,1)",
              "text": "Feet/sec²",
              "value": "accFS2"
            },
            {
              "click": "menuItemSelected(1,2)",
              "text": "G unit",
              "value": "accG"
            }
          ],
          "text": "Acceleration"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(2,0)",
              "text": "Degrees (°)",
              "value": "degree"
            },
            {
              "click": "menuItemSelected(2,1)",
              "text": "Radians",
              "value": "radian"
            },
            {
              "click": "menuItemSelected(2,2)",
              "text": "Gradian",
              "value": "grad"
            },
            {
              "click": "menuItemSelected(2,3)",
              "text": "Arc Minutes",
              "value": "arcmin"
            },
            {
              "click": "menuItemSelected(2,4)",
              "text": "Arc Seconds",
              "value": "arcsec"
            }
          ],
          "text": "Angle"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(3,0)",
              "text": "Square Meters (m²)",
              "value": "areaM2"
            },
            {
              "click": "menuItemSelected(3,1)",
              "text": "Square Feet (ft²)",
              "value": "areaF2"
            },
            {
              "click": "menuItemSelected(3,2)",
              "text": "Square Miles (mi²)",
              "value": "areaMI2"
            }
          ],
          "text": "Area"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(4,0)",
              "text": "FLOP/s",
              "value": "flops"
            },
            {
              "click": "menuItemSelected(4,1)",
              "text": "MFLOP/s",
              "value": "mflops"
            },
            {
              "click": "menuItemSelected(4,2)",
              "text": "GFLOP/s",
              "value": "gflops"
            },
            {
              "click": "menuItemSelected(4,3)",
              "text": "TFLOP/s",
              "value": "tflops"
            },
            {
              "click": "menuItemSelected(4,4)",
              "text": "PFLOP/s",
              "value": "pflops"
            },
            {
              "click": "menuItemSelected(4,5)",
              "text": "EFLOP/s",
              "value": "eflops"
            },
            {
              "click": "menuItemSelected(4,6)",
              "text": "ZFLOP/s",
              "value": "zflops"
            },
            {
              "click": "menuItemSelected(4,7)",
              "text": "YFLOP/s",
              "value": "yflops"
            }
          ],
          "text": "Computation"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(5,0)",
              "text": "parts-per-million (ppm)",
              "value": "ppm"
            },
            {
              "click": "menuItemSelected(5,1)",
              "text": "parts-per-billion (ppb)",
              "value": "conppb"
            },
            {
              "click": "menuItemSelected(5,2)",
              "text": "nanogram per cubic meter (ng/m³)",
              "value": "conngm3"
            },
            {
              "click": "menuItemSelected(5,3)",
              "text": "nanogram per normal cubic meter (ng/Nm³)",
              "value": "conngNm3"
            },
            {
              "click": "menuItemSelected(5,4)",
              "text": "microgram per cubic meter (μg/m³)",
              "value": "conμgm3"
            },
            {
              "click": "menuItemSelected(5,5)",
              "text": "microgram per normal cubic meter (μg/Nm³)",
              "value": "conμgNm3"
            },
            {
              "click": "menuItemSelected(5,6)",
              "text": "milligram per cubic meter (mg/m³)",
              "value": "conmgm3"
            },
            {
              "click": "menuItemSelected(5,7)",
              "text": "milligram per normal cubic meter (mg/Nm³)",
              "value": "conmgNm3"
            },
            {
              "click": "menuItemSelected(5,8)",
              "text": "gram per cubic meter (g/m³)",
              "value": "congm3"
            },
            {
              "click": "menuItemSelected(5,9)",
              "text": "gram per normal cubic meter (g/Nm³)",
              "value": "congNm3"
            },
            {
              "click": "menuItemSelected(5,10)",
              "text": "milligrams per decilitre (mg/dL)",
              "value": "conmgdL"
            },
            {
              "click": "menuItemSelected(5,11)",
              "text": "millimoles per litre (mmol/L)",
              "value": "conmmolL"
            }
          ],
          "text": "Concentration"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(6,0)",
              "text": "Dollars ($)",
              "value": "currencyUSD"
            },
            {
              "click": "menuItemSelected(6,1)",
              "text": "Pounds (£)",
              "value": "currencyGBP"
            },
            {
              "click": "menuItemSelected(6,2)",
              "text": "Euro (€)",
              "value": "currencyEUR"
            },
            {
              "click": "menuItemSelected(6,3)",
              "text": "Yen (¥)",
              "value": "currencyJPY"
            },
            {
              "click": "menuItemSelected(6,4)",
              "text": "Rubles (₽)",
              "value": "currencyRUB"
            },
            {
              "click": "menuItemSelected(6,5)",
              "text": "Hryvnias (₴)",
              "value": "currencyUAH"
            },
            {
              "click": "menuItemSelected(6,6)",
              "text": "Real (R$)",
              "value": "currencyBRL"
            },
            {
              "click": "menuItemSelected(6,7)",
              "text": "Danish Krone (kr)",
              "value": "currencyDKK"
            },
            {
              "click": "menuItemSelected(6,8)",
              "text": "Icelandic Króna (kr)",
              "value": "currencyISK"
            },
            {
              "click": "menuItemSelected(6,9)",
              "text": "Norwegian Krone (kr)",
              "value": "currencyNOK"
            },
            {
              "click": "menuItemSelected(6,10)",
              "text": "Swedish Krona (kr)",
              "value": "currencySEK"
            },
            {
              "click": "menuItemSelected(6,11)",
              "text": "Czech koruna (czk)",
              "value": "currencyCZK"
            },
            {
              "click": "menuItemSelected(6,12)",
              "text": "Swiss franc (CHF)",
              "value": "currencyCHF"
            },
            {
              "click": "menuItemSelected(6,13)",
              "text": "Polish Złoty (PLN)",
              "value": "currencyPLN"
            },
            {
              "click": "menuItemSelected(6,14)",
              "text": "Bitcoin (฿)",
              "value": "currencyBTC"
            },
            {
              "click": "menuItemSelected(6,15)",
              "text": "South African Rand (R)",
              "value": "currencyZAR"
            },
            {
              "click": "menuItemSelected(6,16)",
              "text": "Indian Rupee (₹)",
              "value": "currencyINR"
            }
          ],
          "text": "Currency"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(7,0)",
              "text": "bits",
              "value": "bits"
            },
            {
              "click": "menuItemSelected(7,1)",
              "text": "bytes",
              "value": "bytes"
            },
            {
              "click": "menuItemSelected(7,2)",
              "text": "kibibytes",
              "value": "kbytes"
            },
            {
              "click": "menuItemSelected(7,3)",
              "text": "mebibytes",
              "value": "mbytes"
            },
            {
              "click": "menuItemSelected(7,4)",
              "text": "gibibytes",
              "value": "gbytes"
            },
            {
              "click": "menuItemSelected(7,5)",
              "text": "tebibytes",
              "value": "tbytes"
            },
            {
              "click": "menuItemSelected(7,6)",
              "text": "pebibytes",
              "value": "pbytes"
            }
          ],
          "text": "Data (IEC)"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(8,0)",
              "text": "bits",
              "value": "decbits"
            },
            {
              "click": "menuItemSelected(8,1)",
              "text": "bytes",
              "value": "decbytes"
            },
            {
              "click": "menuItemSelected(8,2)",
              "text": "kilobytes",
              "value": "deckbytes"
            },
            {
              "click": "menuItemSelected(8,3)",
              "text": "megabytes",
              "value": "decmbytes"
            },
            {
              "click": "menuItemSelected(8,4)",
              "text": "gigabytes",
              "value": "decgbytes"
            },
            {
              "click": "menuItemSelected(8,5)",
              "text": "terabytes",
              "value": "dectbytes"
            },
            {
              "click": "menuItemSelected(8,6)",
              "text": "petabytes",
              "value": "decpbytes"
            }
          ],
          "text": "Data (Metric)"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(9,0)",
              "text": "packets/sec",
              "value": "pps"
            },
            {
              "click": "menuItemSelected(9,1)",
              "text": "bits/sec",
              "value": "bps"
            },
            {
              "click": "menuItemSelected(9,2)",
              "text": "bytes/sec",
              "value": "Bps"
            },
            {
              "click": "menuItemSelected(9,3)",
              "text": "kilobytes/sec",
              "value": "KBs"
            },
            {
              "click": "menuItemSelected(9,4)",
              "text": "kilobits/sec",
              "value": "Kbits"
            },
            {
              "click": "menuItemSelected(9,5)",
              "text": "megabytes/sec",
              "value": "MBs"
            },
            {
              "click": "menuItemSelected(9,6)",
              "text": "megabits/sec",
              "value": "Mbits"
            },
            {
              "click": "menuItemSelected(9,7)",
              "text": "gigabytes/sec",
              "value": "GBs"
            },
            {
              "click": "menuItemSelected(9,8)",
              "text": "gigabits/sec",
              "value": "Gbits"
            },
            {
              "click": "menuItemSelected(9,9)",
              "text": "terabytes/sec",
              "value": "TBs"
            },
            {
              "click": "menuItemSelected(9,10)",
              "text": "terabits/sec",
              "value": "Tbits"
            },
            {
              "click": "menuItemSelected(9,11)",
              "text": "petabytes/sec",
              "value": "PBs"
            },
            {
              "click": "menuItemSelected(9,12)",
              "text": "petabits/sec",
              "value": "Pbits"
            }
          ],
          "text": "Data Rate"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(10,0)",
              "text": "YYYY-MM-DD HH:mm:ss",
              "value": "dateTimeAsIso"
            },
            {
              "click": "menuItemSelected(10,1)",
              "text": "DD/MM/YYYY h:mm:ss a",
              "value": "dateTimeAsUS"
            },
            {
              "click": "menuItemSelected(10,2)",
              "text": "From Now",
              "value": "dateTimeFromNow"
            }
          ],
          "text": "Date & Time"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(11,0)",
              "text": "Watt (W)",
              "value": "watt"
            },
            {
              "click": "menuItemSelected(11,1)",
              "text": "Kilowatt (kW)",
              "value": "kwatt"
            },
            {
              "click": "menuItemSelected(11,2)",
              "text": "Megawatt (MW)",
              "value": "megwatt"
            },
            {
              "click": "menuItemSelected(11,3)",
              "text": "Milliwatt (mW)",
              "value": "mwatt"
            },
            {
              "click": "menuItemSelected(11,4)",
              "text": "Watt per square meter (W/m²)",
              "value": "Wm2"
            },
            {
              "click": "menuItemSelected(11,5)",
              "text": "Volt-ampere (VA)",
              "value": "voltamp"
            },
            {
              "click": "menuItemSelected(11,6)",
              "text": "Kilovolt-ampere (kVA)",
              "value": "kvoltamp"
            },
            {
              "click": "menuItemSelected(11,7)",
              "text": "Volt-ampere reactive (var)",
              "value": "voltampreact"
            },
            {
              "click": "menuItemSelected(11,8)",
              "text": "Kilovolt-ampere reactive (kvar)",
              "value": "kvoltampreact"
            },
            {
              "click": "menuItemSelected(11,9)",
              "text": "Watt-hour (Wh)",
              "value": "watth"
            },
            {
              "click": "menuItemSelected(11,10)",
              "text": "Watt-hour per Kilogram (Wh/kg)",
              "value": "watthperkg"
            },
            {
              "click": "menuItemSelected(11,11)",
              "text": "Kilowatt-hour (kWh)",
              "value": "kwatth"
            },
            {
              "click": "menuItemSelected(11,12)",
              "text": "Kilowatt-min (kWm)",
              "value": "kwattm"
            },
            {
              "click": "menuItemSelected(11,13)",
              "text": "Ampere-hour (Ah)",
              "value": "amph"
            },
            {
              "click": "menuItemSelected(11,14)",
              "text": "Kiloampere-hour (kAh)",
              "value": "kamph"
            },
            {
              "click": "menuItemSelected(11,15)",
              "text": "Milliampere-hour (mAh)",
              "value": "mamph"
            },
            {
              "click": "menuItemSelected(11,16)",
              "text": "Joule (J)",
              "value": "joule"
            },
            {
              "click": "menuItemSelected(11,17)",
              "text": "Electron volt (eV)",
              "value": "ev"
            },
            {
              "click": "menuItemSelected(11,18)",
              "text": "Ampere (A)",
              "value": "amp"
            },
            {
              "click": "menuItemSelected(11,19)",
              "text": "Kiloampere (kA)",
              "value": "kamp"
            },
            {
              "click": "menuItemSelected(11,20)",
              "text": "Milliampere (mA)",
              "value": "mamp"
            },
            {
              "click": "menuItemSelected(11,21)",
              "text": "Volt (V)",
              "value": "volt"
            },
            {
              "click": "menuItemSelected(11,22)",
              "text": "Kilovolt (kV)",
              "value": "kvolt"
            },
            {
              "click": "menuItemSelected(11,23)",
              "text": "Millivolt (mV)",
              "value": "mvolt"
            },
            {
              "click": "menuItemSelected(11,24)",
              "text": "Decibel-milliwatt (dBm)",
              "value": "dBm"
            },
            {
              "click": "menuItemSelected(11,25)",
              "text": "Ohm (Ω)",
              "value": "ohm"
            },
            {
              "click": "menuItemSelected(11,26)",
              "text": "Lumens (Lm)",
              "value": "lumens"
            }
          ],
          "text": "Energy"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(12,0)",
              "text": "Gallons/min (gpm)",
              "value": "flowgpm"
            },
            {
              "click": "menuItemSelected(12,1)",
              "text": "Cubic meters/sec (cms)",
              "value": "flowcms"
            },
            {
              "click": "menuItemSelected(12,2)",
              "text": "Cubic feet/sec (cfs)",
              "value": "flowcfs"
            },
            {
              "click": "menuItemSelected(12,3)",
              "text": "Cubic feet/min (cfm)",
              "value": "flowcfm"
            },
            {
              "click": "menuItemSelected(12,4)",
              "text": "Litre/hour",
              "value": "litreh"
            },
            {
              "click": "menuItemSelected(12,5)",
              "text": "Litre/min (L/min)",
              "value": "flowlpm"
            },
            {
              "click": "menuItemSelected(12,6)",
              "text": "milliLitre/min (mL/min)",
              "value": "flowmlpm"
            },
            {
              "click": "menuItemSelected(12,7)",
              "text": "Lux (lx)",
              "value": "lux"
            }
          ],
          "text": "Flow"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(13,0)",
              "text": "Newton-meters (Nm)",
              "value": "forceNm"
            },
            {
              "click": "menuItemSelected(13,1)",
              "text": "Kilonewton-meters (kNm)",
              "value": "forcekNm"
            },
            {
              "click": "menuItemSelected(13,2)",
              "text": "Newtons (N)",
              "value": "forceN"
            },
            {
              "click": "menuItemSelected(13,3)",
              "text": "Kilonewtons (kN)",
              "value": "forcekN"
            }
          ],
          "text": "Force"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(14,0)",
              "text": "hashes/sec",
              "value": "Hs"
            },
            {
              "click": "menuItemSelected(14,1)",
              "text": "kilohashes/sec",
              "value": "KHs"
            },
            {
              "click": "menuItemSelected(14,2)",
              "text": "megahashes/sec",
              "value": "MHs"
            },
            {
              "click": "menuItemSelected(14,3)",
              "text": "gigahashes/sec",
              "value": "GHs"
            },
            {
              "click": "menuItemSelected(14,4)",
              "text": "terahashes/sec",
              "value": "THs"
            },
            {
              "click": "menuItemSelected(14,5)",
              "text": "petahashes/sec",
              "value": "PHs"
            },
            {
              "click": "menuItemSelected(14,6)",
              "text": "exahashes/sec",
              "value": "EHs"
            }
          ],
          "text": "Hash Rate"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(15,0)",
              "text": "milligram (mg)",
              "value": "massmg"
            },
            {
              "click": "menuItemSelected(15,1)",
              "text": "gram (g)",
              "value": "massg"
            },
            {
              "click": "menuItemSelected(15,2)",
              "text": "kilogram (kg)",
              "value": "masskg"
            },
            {
              "click": "menuItemSelected(15,3)",
              "text": "metric ton (t)",
              "value": "masst"
            }
          ],
          "text": "Mass"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(16,0)",
              "text": "millimeter (mm)",
              "value": "lengthmm"
            },
            {
              "click": "menuItemSelected(16,1)",
              "text": "feet (ft)",
              "value": "lengthft"
            },
            {
              "click": "menuItemSelected(16,2)",
              "text": "meter (m)",
              "value": "lengthm"
            },
            {
              "click": "menuItemSelected(16,3)",
              "text": "kilometer (km)",
              "value": "lengthkm"
            },
            {
              "click": "menuItemSelected(16,4)",
              "text": "mile (mi)",
              "value": "lengthmi"
            }
          ],
          "text": "length"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(17,0)",
              "text": "Millibars",
              "value": "pressurembar"
            },
            {
              "click": "menuItemSelected(17,1)",
              "text": "Bars",
              "value": "pressurebar"
            },
            {
              "click": "menuItemSelected(17,2)",
              "text": "Kilobars",
              "value": "pressurekbar"
            },
            {
              "click": "menuItemSelected(17,3)",
              "text": "Hectopascals",
              "value": "pressurehpa"
            },
            {
              "click": "menuItemSelected(17,4)",
              "text": "Kilopascals",
              "value": "pressurekpa"
            },
            {
              "click": "menuItemSelected(17,5)",
              "text": "Inches of mercury",
              "value": "pressurehg"
            },
            {
              "click": "menuItemSelected(17,6)",
              "text": "PSI",
              "value": "pressurepsi"
            }
          ],
          "text": "Pressure"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(18,0)",
              "text": "Becquerel (Bq)",
              "value": "radbq"
            },
            {
              "click": "menuItemSelected(18,1)",
              "text": "curie (Ci)",
              "value": "radci"
            },
            {
              "click": "menuItemSelected(18,2)",
              "text": "Gray (Gy)",
              "value": "radgy"
            },
            {
              "click": "menuItemSelected(18,3)",
              "text": "rad",
              "value": "radrad"
            },
            {
              "click": "menuItemSelected(18,4)",
              "text": "Sievert (Sv)",
              "value": "radsv"
            },
            {
              "click": "menuItemSelected(18,5)",
              "text": "milliSievert (mSv)",
              "value": "radmsv"
            },
            {
              "click": "menuItemSelected(18,6)",
              "text": "microSievert (µSv)",
              "value": "radusv"
            },
            {
              "click": "menuItemSelected(18,7)",
              "text": "rem",
              "value": "radrem"
            },
            {
              "click": "menuItemSelected(18,8)",
              "text": "Exposure (C/kg)",
              "value": "radexpckg"
            },
            {
              "click": "menuItemSelected(18,9)",
              "text": "roentgen (R)",
              "value": "radr"
            },
            {
              "click": "menuItemSelected(18,10)",
              "text": "Sievert/hour (Sv/h)",
              "value": "radsvh"
            },
            {
              "click": "menuItemSelected(18,11)",
              "text": "milliSievert/hour (mSv/h)",
              "value": "radmsvh"
            },
            {
              "click": "menuItemSelected(18,12)",
              "text": "microSievert/hour (µSv/h)",
              "value": "radusvh"
            }
          ],
          "text": "Radiation"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(19,0)",
              "text": "Celsius (°C)",
              "value": "celsius"
            },
            {
              "click": "menuItemSelected(19,1)",
              "text": "Fahrenheit (°F)",
              "value": "fahrenheit"
            },
            {
              "click": "menuItemSelected(19,2)",
              "text": "Kelvin (K)",
              "value": "kelvin"
            }
          ],
          "text": "Temperature"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(20,0)",
              "text": "Hertz (1/s)",
              "value": "hertz"
            },
            {
              "click": "menuItemSelected(20,1)",
              "text": "nanoseconds (ns)",
              "value": "ns"
            },
            {
              "click": "menuItemSelected(20,2)",
              "text": "microseconds (µs)",
              "value": "µs"
            },
            {
              "click": "menuItemSelected(20,3)",
              "text": "milliseconds (ms)",
              "value": "ms"
            },
            {
              "click": "menuItemSelected(20,4)",
              "text": "seconds (s)",
              "value": "s"
            },
            {
              "click": "menuItemSelected(20,5)",
              "text": "minutes (m)",
              "value": "m"
            },
            {
              "click": "menuItemSelected(20,6)",
              "text": "hours (h)",
              "value": "h"
            },
            {
              "click": "menuItemSelected(20,7)",
              "text": "days (d)",
              "value": "d"
            },
            {
              "click": "menuItemSelected(20,8)",
              "text": "duration (ms)",
              "value": "dtdurationms"
            },
            {
              "click": "menuItemSelected(20,9)",
              "text": "duration (s)",
              "value": "dtdurations"
            },
            {
              "click": "menuItemSelected(20,10)",
              "text": "duration (hh:mm:ss)",
              "value": "dthms"
            },
            {
              "click": "menuItemSelected(20,11)",
              "text": "Timeticks (s/100)",
              "value": "timeticks"
            },
            {
              "click": "menuItemSelected(20,12)",
              "text": "clock (ms)",
              "value": "clockms"
            },
            {
              "click": "menuItemSelected(20,13)",
              "text": "clock (s)",
              "value": "clocks"
            }
          ],
          "text": "Time"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(21,0)",
              "text": "counts/sec (cps)",
              "value": "cps"
            },
            {
              "click": "menuItemSelected(21,1)",
              "text": "ops/sec (ops)",
              "value": "ops"
            },
            {
              "click": "menuItemSelected(21,2)",
              "text": "requests/sec (rps)",
              "value": "reqps"
            },
            {
              "click": "menuItemSelected(21,3)",
              "text": "reads/sec (rps)",
              "value": "rps"
            },
            {
              "click": "menuItemSelected(21,4)",
              "text": "writes/sec (wps)",
              "value": "wps"
            },
            {
              "click": "menuItemSelected(21,5)",
              "text": "I/O ops/sec (iops)",
              "value": "iops"
            },
            {
              "click": "menuItemSelected(21,6)",
              "text": "counts/min (cpm)",
              "value": "cpm"
            },
            {
              "click": "menuItemSelected(21,7)",
              "text": "ops/min (opm)",
              "value": "opm"
            },
            {
              "click": "menuItemSelected(21,8)",
              "text": "reads/min (rpm)",
              "value": "rpm"
            },
            {
              "click": "menuItemSelected(21,9)",
              "text": "writes/min (wpm)",
              "value": "wpm"
            }
          ],
          "text": "Throughput"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(22,0)",
              "text": "meters/second (m/s)",
              "value": "velocityms"
            },
            {
              "click": "menuItemSelected(22,1)",
              "text": "kilometers/hour (km/h)",
              "value": "velocitykmh"
            },
            {
              "click": "menuItemSelected(22,2)",
              "text": "miles/hour (mph)",
              "value": "velocitymph"
            },
            {
              "click": "menuItemSelected(22,3)",
              "text": "knot (kn)",
              "value": "velocityknot"
            }
          ],
          "text": "Velocity"
        },
        {
          "submenu": [
            {
              "click": "menuItemSelected(23,0)",
              "text": "millilitre (mL)",
              "value": "mlitre"
            },
            {
              "click": "menuItemSelected(23,1)",
              "text": "litre (L)",
              "value": "litre"
            },
            {
              "click": "menuItemSelected(23,2)",
              "text": "cubic meter",
              "value": "m3"
            },
            {
              "click": "menuItemSelected(23,3)",
              "text": "Normal cubic meter",
              "value": "Nm3"
            },
            {
              "click": "menuItemSelected(23,4)",
              "text": "cubic decimeter",
              "value": "dm3"
            },
            {
              "click": "menuItemSelected(23,5)",
              "text": "gallons",
              "value": "gallons"
            }
          ],
          "text": "Volume"
        }
      ],
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ]
    },
    {
      "columns": [],
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "90%",
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 6,
        "y": 2
      },
      "id": 14,
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:222",
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "time",
          "type": "date"
        },
        {
          "$$hashKey": "object:223",
          "alias": "Passed",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "#73BF69",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 0,
          "pattern": "passed",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "$$hashKey": "object:225",
          "alias": "Failed",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 0,
          "mappingType": 1,
          "pattern": "failed",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "$$hashKey": "object:226",
          "alias": "Execution Time",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "execution_time",
          "thresholds": [],
          "type": "number",
          "unit": "ms"
        },
        {
          "$$hashKey": "object:598",
          "alias": "Suite Name",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "suite_name",
          "thresholds": [],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "format": "table",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  $__time(start_time), suite_name,\n  passed, failed, suite_execution_time/1000 as execution_time\nFROM\n  automation_execution_results\nWHERE\n  $__timeFilter(start_time) and suite_name = '$suite_name'\n",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "All Executions - Time Period",
      "transform": "table",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {},
            "indexByName": {},
            "renameByName": {
              "execution_time": "Execution Time",
              "failed": "Failed",
              "passed": "Passed",
              "suite_name": "Suite Name",
              "time": "Time"
            }
          }
        }
      ],
      "type": "table-old"
    },
    {
      "columns": [],
      "datasource": "${DS_POSTGRESQL}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "90%",
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 8
      },
      "id": 10,
      "interval": "",
      "pageSize": null,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "$$hashKey": "object:154",
          "alias": "Test Case Name",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "mappingType": 1,
          "pattern": "name",
          "type": "string"
        },
        {
          "$$hashKey": "object:155",
          "alias": "Failed Count",
          "align": "auto",
          "colorMode": "value",
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 0,
          "pattern": "failed_count",
          "thresholds": [],
          "type": "number",
          "unit": "short"
        },
        {
          "$$hashKey": "object:156",
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "id",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "format": "table",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  test_case.id, test_case.name, count(test_result.status) as failed_count\nFROM\n  suite \ninner join suite_result on suite_result.suite_id = suite.id\ninner join test_run on suite_result.test_run_id = test_run.id\ninner join test_result on suite_result.test_run_id = test_result.test_run_id\ninner join test_case on test_result.test_id = test_case.id\nWHERE\n  $__timeFilter(suite_result.start_time) and test_result.status = 'FAIL'::text and suite.name = '$suite_name'\ngroup by test_case.id order by failed_count desc;",
          "refId": "B",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Top 5 Failed Tests Details",
      "transform": "table",
      "type": "table-old"
    },
    {
      "aliasColors": {
        "Failed": "red",
        "Passed": "green",
        "failed": "red",
        "passed": "green"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_POSTGRESQL}",
      "decimals": 0,
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": []
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "failed"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Failed"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "passed"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Passed"
              }
            ]
          }
        ]
      },
      "fill": 3,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 12,
      "legend": {
        "avg": false,
        "current": false,
        "hideEmpty": true,
        "hideZero": true,
        "max": false,
        "min": false,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "percentage": false,
      "pluginVersion": "7.1.0",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  start_time as \"time\",\n  failed as Failed,\n  passed as Passed\nFROM\n  automation_execution_results\nWHERE\n  $__timeFilter(start_time) and suite_name = '$suite_name'\nORDER BY 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "column"
              }
            ]
          ],
          "timeColumn": "time",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Automation Test Execution Trend",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": "TC Count",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_POSTGRESQL}",
        "definition": "select distinct value from suite_metadata where name='Application';",
        "hide": 0,
        "includeAll": false,
        "label": "Application Name",
        "multi": false,
        "name": "application",
        "options": [],
        "query": "select distinct value from suite_metadata where name='Application';",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_POSTGRESQL}",
        "definition": "select s.name from suite as s join suite_metadata as sm on s.id = sm.suite_id where sm.value = '$application'",
        "hide": 0,
        "includeAll": false,
        "label": "Suite Name",
        "multi": false,
        "name": "suite_name",
        "options": [],
        "query": "select s.name from suite as s join suite_metadata as sm on s.id = sm.suite_id where sm.value = '$application'",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_POSTGRESQL}",
        "definition": "select build_id from test_series as ts \njoin test_series_mapping tsm on ts.id = tsm.series \njoin suite_result sr on sr.test_run_id = tsm.test_run_id \njoin suite s on s.id = sr.suite_id where s.name = '$suite_name'",
        "hide": 0,
        "includeAll": false,
        "label": "Build No",
        "multi": false,
        "name": "build_no",
        "options": [],
        "query": "select build_id from test_series as ts \njoin test_series_mapping tsm on ts.id = tsm.series \njoin suite_result sr on sr.test_run_id = tsm.test_run_id \njoin suite s on s.id = sr.suite_id where s.name = '$suite_name'",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-10d",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "Robot Framework Grafana Dashboard - PostgreSQL",
  "uid": "7lCc3gVMz",
  "version": 104
}