Skip to content
Snippets Groups Projects
Commit 02cce3cb authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-391: Add station initialisation parameters to dashboard

parent eafffe4a
No related branches found
No related tags found
1 merge request!144L2SS-391: Add boot device
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 1,
"links": [], "links": [],
"panels": [ "panels": [
{ {
...@@ -37,6 +38,68 @@ ...@@ -37,6 +38,68 @@
"title": "Devices", "title": "Devices",
"type": "row" "type": "row"
}, },
{
"datasource": "Prometheus",
"description": "Progress of station initialisation",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "yellow",
"value": null
},
{
"color": "red",
"value": 1
},
{
"color": "green",
"value": 100
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 1
},
"id": 43,
"options": {
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": false,
"text": {}
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "device_attribute{device=\"lts/stationcontrol/1\",name=\"initialisation_progress_R\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Station Initialisation",
"type": "gauge"
},
{ {
"datasource": "Prometheus", "datasource": "Prometheus",
"fieldConfig": { "fieldConfig": {
...@@ -97,7 +160,7 @@ ...@@ -97,7 +160,7 @@
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 6, "w": 6,
"x": 0, "x": 4,
"y": 1 "y": 1
}, },
"id": 4, "id": 4,
...@@ -185,7 +248,7 @@ ...@@ -185,7 +248,7 @@
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 12,
"x": 6, "x": 10,
"y": 1 "y": 1
}, },
"id": 32, "id": 32,
...@@ -239,6 +302,104 @@ ...@@ -239,6 +302,104 @@
"title": "Errors", "title": "Errors",
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": "Prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 100
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 7
},
"id": 44,
"options": {
"showHeader": false
},
"pluginVersion": "8.1.2",
"targets": [
{
"exemplar": true,
"expr": "device_attribute{device=\"lts/stationcontrol/1\",name=\"initialisation_status_R\"}",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Initialisation status",
"transformations": [
{
"id": "labelsToFields",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"device": true,
"device_attribute{device=\"lts/stationcontrol/1\", dim_x=\"1\", dim_y=\"0\", instance=\"tango-prometheus-exporter:8000\", job=\"tango\", label=\"initialisation_status_R\", name=\"initialisation_status_R\", str_value=\"Initialisation completed\", type=\"string\", x=\"0\", y=\"0\"}": true,
"dim_x": true,
"dim_y": true,
"instance": true,
"job": true,
"label": true,
"name": true,
"type": true,
"x": true,
"y": true
},
"indexByName": {
"Time": 0,
"Value": 5,
"device": 1,
"dim_x": 2,
"dim_y": 3,
"instance": 4,
"job": 6,
"label": 7,
"name": 8,
"str_value": 9,
"type": 10,
"x": 11,
"y": 12
},
"renameByName": {
"name": "",
"str_value": "status"
}
}
}
],
"type": "table"
},
{ {
"collapsed": false, "collapsed": false,
"datasource": null, "datasource": null,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment