Browse Source

devenv: graph time regions test dashboard

Marcus Efraimsson 7 years ago
parent
commit
2f65b06135
1 changed files with 97 additions and 3 deletions
  1. 97 3
      devenv/dev-dashboards/panel_tests_graph_time_regions.json

+ 97 - 3
devenv/dev-dashboards/panel_tests_graph_time_regions.json

@@ -167,7 +167,7 @@
           "fillColor": "rgba(255, 255, 255, 0.03)",
           "fillColor": "rgba(255, 255, 255, 0.03)",
           "from": "20:00",
           "from": "20:00",
           "fromDayOfWeek": 7,
           "fromDayOfWeek": 7,
-          "line": false,
+          "line": true,
           "lineColor": "rgba(255, 255, 255, 0.2)",
           "lineColor": "rgba(255, 255, 255, 0.2)",
           "op": "time",
           "op": "time",
           "to": "23:00",
           "to": "23:00",
@@ -369,6 +369,100 @@
         "align": false,
         "align": false,
         "alignLevel": null
         "alignLevel": null
       }
       }
+    },
+    {
+      "aliasColors": {},
+      "bars": false,
+      "dashLength": 10,
+      "dashes": false,
+      "datasource": "gdev-testdata",
+      "fill": 2,
+      "gridPos": {
+        "h": 8,
+        "w": 24,
+        "x": 0,
+        "y": 24
+      },
+      "id": 5,
+      "legend": {
+        "avg": false,
+        "current": false,
+        "max": false,
+        "min": false,
+        "show": true,
+        "total": false,
+        "values": false
+      },
+      "lines": true,
+      "linewidth": 2,
+      "links": [],
+      "nullPointMode": "null",
+      "percentage": false,
+      "pointradius": 5,
+      "points": false,
+      "renderer": "flot",
+      "seriesOverrides": [],
+      "spaceLength": 10,
+      "stack": false,
+      "steppedLine": false,
+      "targets": [
+        {
+          "expr": "",
+          "format": "time_series",
+          "intervalFactor": 1,
+          "refId": "A",
+          "scenarioId": "random_walk",
+          "target": ""
+        }
+      ],
+      "thresholds": [],
+      "timeFrom": null,
+      "timeRegions": [
+        {
+          "colorMode": "red",
+          "fill": true,
+          "from": "05:00",
+          "line": true,
+          "op": "time"
+        }
+      ],
+      "timeShift": null,
+      "title": "05:00",
+      "tooltip": {
+        "shared": true,
+        "sort": 0,
+        "value_type": "individual"
+      },
+      "type": "graph",
+      "xaxis": {
+        "buckets": null,
+        "mode": "time",
+        "name": null,
+        "show": true,
+        "values": []
+      },
+      "yaxes": [
+        {
+          "format": "short",
+          "label": null,
+          "logBase": 1,
+          "max": null,
+          "min": null,
+          "show": true
+        },
+        {
+          "format": "short",
+          "label": null,
+          "logBase": 1,
+          "max": null,
+          "min": null,
+          "show": true
+        }
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
     }
     }
   ],
   ],
   "refresh": false,
   "refresh": false,
@@ -410,8 +504,8 @@
       "30d"
       "30d"
     ]
     ]
   },
   },
-  "timezone": "utc",
+  "timezone": "browser",
   "title": "Panel Tests - Graph (Time Regions)",
   "title": "Panel Tests - Graph (Time Regions)",
   "uid": "XMjIZPmik",
   "uid": "XMjIZPmik",
-  "version": 43
+  "version": 1
 }
 }