From 76e5179480b82891ff26bbba24e19d4ec0810b8b Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 28 Sep 2021 15:06:52 +0200
Subject: [PATCH] L2SS-276: Fix device state panel

---
 docker-compose/grafana/dashboards/home.json | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docker-compose/grafana/dashboards/home.json b/docker-compose/grafana/dashboards/home.json
index 85ccf3335..8f3f49f0d 100644
--- a/docker-compose/grafana/dashboards/home.json
+++ b/docker-compose/grafana/dashboards/home.json
@@ -96,7 +96,7 @@
       },
       "gridPos": {
         "h": 9,
-        "w": 12,
+        "w": 6,
         "x": 0,
         "y": 1
       },
@@ -105,7 +105,7 @@
         "colorMode": "background",
         "graphMode": "none",
         "justifyMode": "auto",
-        "orientation": "auto",
+        "orientation": "horizontal",
         "reduceOptions": {
           "calcs": [
             "lastNotNull"
@@ -120,7 +120,7 @@
       "targets": [
         {
           "exemplar": true,
-          "expr": "device_attribute{label=\"State\"}",
+          "expr": "device_attribute{label=\"State\",device=~\"lts/.*/1\"}",
           "instant": false,
           "interval": "",
           "legendFormat": "{{device}}",
@@ -185,7 +185,7 @@
       "gridPos": {
         "h": 9,
         "w": 12,
-        "x": 12,
+        "x": 6,
         "y": 1
       },
       "id": 32,
@@ -1429,7 +1429,7 @@
       "type": "timeseries"
     },
     {
-      "collapsed": true,
+      "collapsed": false,
       "datasource": null,
       "gridPos": {
         "h": 1,
-- 
GitLab