Grafana dashboard: Rulek
Description: Rulek


{
  "__inputs": [
    {
      "name": "DS_MYSQL",
      "label": "MySQL",
      "description": "",
      "type": "datasource",
      "pluginId": "mysql",
      "pluginName": "MySQL"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.1.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "mysql",
      "name": "MySQL",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 15838,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_MYSQL}",
      "fieldConfig": {
        "defaults": {
          "unit": "volt"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 9,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.1.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "table",
          "group": [
            {
              "params": [
                "1s",
                "none"
              ],
              "type": "time"
            }
          ],
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(datetime,1s),\n  v1 AS \"v1\"\nFROM RulekPV\nGROUP BY 1\nORDER BY $__timeGroup(datetime,1s)",
          "refId": "V1",
          "select": [
            [
              {
                "params": [
                  "v1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "v1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "RulekPV",
          "timeColumn": "datetime",
          "timeColumnType": "datetime",
          "where": []
        },
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "1s",
                "none"
              ],
              "type": "time"
            }
          ],
          "hide": false,
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(datetime,1s),\n  v2 AS \"v2\"\nFROM RulekPV\nGROUP BY 1\nORDER BY $__timeGroup(datetime,1s)",
          "refId": "V2",
          "select": [
            [
              {
                "params": [
                  "v2"
                ],
                "type": "column"
              },
              {
                "params": [
                  "v2"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "RulekPV",
          "timeColumn": "datetime",
          "timeColumnType": "timestamp",
          "where": []
        },
        {
          "format": "time_series",
          "group": [
            {
              "params": [
                "1s",
                "none"
              ],
              "type": "time"
            }
          ],
          "hide": false,
          "metricColumn": "none",
          "rawQuery": false,
          "rawSql": "SELECT\n  $__timeGroupAlias(datetime,1s),\n  avg(v3) AS \"v3\"\nFROM RulekPV\nGROUP BY 1\nORDER BY $__timeGroup(datetime,1s)",
          "refId": "V3",
          "select": [
            [
              {
                "params": [
                  "v3"
                ],
                "type": "column"
              },
              {
                "params": [
                  "avg"
                ],
                "type": "aggregate"
              },
              {
                "params": [
                  "v3"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "RulekPV",
          "timeColumn": "datetime",
          "timeColumnType": "timestamp",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Panel Title",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:606",
          "decimals": 1,
          "format": "volt",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:607",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 30,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Rulek",
  "uid": "PDtx-4zRk",
  "version": 3,
  "description": "Rulek"
}