Commit 25618dee authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Update and fix dashboards

parent 826f6a2b
......@@ -272,7 +272,7 @@
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"pipeline_status\" FROM \"{{ measurement }}\" ",
"query": "SELECT \"pipeline_status\" FROM \"{{ measurement }}\" WHERE (\"pipeline_id\" = '{{ container_name }}' AND $timeFilter)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
......@@ -349,4 +349,86 @@
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": false
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 7,
"x": 14,
"y":105
},
"id": 2093487693492,
"options": {
"showHeader": false
},
"pluginVersion": "7.3.5",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"pipeline_status\" FROM \"{{ measurement }}\" WHERE (\"pipeline_id\" = '{{ container_name }}' AND $timeFilter)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pipeline_status"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Pipeline Status",
"type": "table"
}
......@@ -99,8 +99,185 @@
"timeShift": null,
"title": "Level",
"type": "aidanmountford-html-panel"
},
{
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y":300
},
"id": 2093487693496,
"options": {
"showHeader": true
},
"pluginVersion": "7.3.5",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "{{measurement}}",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"rxs_packetizer_device_status\" FROM \"{{measurement}}\" WHERE (\"pipeline_id\" = '{{ container_name }}' AND $timeFilter)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rxs_packetizer_device_status"
],
"type": "field"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "RXS packetizer Device Status",
"type": "table"
},
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"y": 300
},
"id": 2093487693498,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value_and_name"
},
"pluginVersion": "7.3.5",
"targets": [
{
"alias": "1PPS last",
"groupBy": [],
"measurement": "{{measurement}}",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"rxs_packetizer_1pps_last"
],
"type": "field"
}
]
],
"tags": [
{
"key": "pipeline_id",
"operator": "=",
"value": "{{container_name}}"
}
]
},
{
"alias": "Syncronization Epoch",
"groupBy": [],
"measurement": "{{measurement}}",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"s_band_time_synchronisation_epoch"
],
"type": "field"
}
]
],
"tags": [
{
"key": "pipeline_id",
"operator": "=",
"value": "{{container_name}}"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
......
......@@ -62,7 +62,7 @@
"type": "fill"
}
],
"measurement": "hdf5_writer",
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
......@@ -197,10 +197,10 @@
}
],
"hide": false,
"measurement": "hdf5_writer",
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"current_file\" FROM \"hdf5_writer\" WHERE $timeFilter",
"query": "SELECT \"current_file\" FROM \"{{ measurement }}\" WHERE (\"pipeline_id\" = '{{ container_name }}' AND $timeFilter)",
"rawQuery": true,
"refId": "A",
"resultFormat": "table",
......@@ -287,7 +287,7 @@
"type": "fill"
}
],
"measurement": "hdf5_writer",
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
......@@ -324,7 +324,7 @@
"type": "fill"
}
],
"measurement": "hdf5_writer",
"measurement": "{{ measurement }}",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
......@@ -418,7 +418,7 @@
{
"command": "hget",
"field": "value",
"keyName": "hdf5_writer:bandpass",
"keyName": "{{ container_name }}:bandpass",
"query": "",
"refId": "A",
"type": "command"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment