2021-05-14 10:24:40 -05:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
2022-05-26 19:00:44 -05:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "grafana"
|
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
2021-08-17 06:11:57 -05:00
|
|
|
"target": {
|
|
|
|
"limit": 100,
|
|
|
|
"matchAny": false,
|
|
|
|
"tags": [],
|
|
|
|
"type": "dashboard"
|
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
2022-05-26 19:00:44 -05:00
|
|
|
"fiscalYearStartMonth": 0,
|
2021-05-14 10:24:40 -05:00
|
|
|
"graphTooltip": 0,
|
2022-05-26 19:00:44 -05:00
|
|
|
"id": 79,
|
2021-05-14 10:24:40 -05:00
|
|
|
"links": [],
|
2022-05-26 19:00:44 -05:00
|
|
|
"liveNow": false,
|
2021-05-14 10:24:40 -05:00
|
|
|
"panels": [
|
|
|
|
{
|
2022-05-26 19:00:44 -05:00
|
|
|
"datasource": {
|
|
|
|
"type": "testdata",
|
2022-05-30 10:15:35 -05:00
|
|
|
"uid": "PD8C576611E62080A"
|
2022-05-26 19:00:44 -05:00
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 80,
|
2022-05-26 19:00:44 -05:00
|
|
|
"lineWidth": 1,
|
|
|
|
"spanNulls": false
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"CRITICAL": {
|
|
|
|
"color": "red",
|
|
|
|
"index": 3
|
|
|
|
},
|
|
|
|
"HIGH": {
|
|
|
|
"color": "orange",
|
|
|
|
"index": 2
|
|
|
|
},
|
|
|
|
"LOW": {
|
|
|
|
"color": "blue",
|
|
|
|
"index": 0
|
|
|
|
},
|
|
|
|
"NORMAL": {
|
|
|
|
"color": "green",
|
|
|
|
"index": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "value"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
2021-08-09 11:42:41 -05:00
|
|
|
"color": "green"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 8,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"options": {
|
|
|
|
"alignValue": "center",
|
|
|
|
"colWidth": 0.9,
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom"
|
|
|
|
},
|
2021-08-17 06:11:57 -05:00
|
|
|
"mergeValues": true,
|
2021-05-14 10:24:40 -05:00
|
|
|
"rowHeight": 0.98,
|
2021-08-17 06:11:57 -05:00
|
|
|
"showValue": "always",
|
|
|
|
"tooltip": {
|
2022-01-10 03:32:21 -06:00
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
2021-08-17 06:11:57 -05:00
|
|
|
}
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.0-pre",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"alias": "SensorA",
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "LOW,HIGH,NORMAL,NORMAL,NORMAL,LOW,LOW,NORMAL,HIGH,CRITICAL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "SensorB",
|
|
|
|
"hide": false,
|
|
|
|
"refId": "B",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "NORMAL,LOW,LOW,CRITICAL,CRITICAL,LOW,LOW,NORMAL,HIGH,CRITICAL"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "SensorA",
|
|
|
|
"hide": false,
|
|
|
|
"refId": "C",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "NORMAL,NORMAL,NORMAL,NORMAL,CRITICAL,LOW,NORMAL,NORMAL,NORMAL,LOW"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "State changes strings",
|
2021-05-17 15:00:04 -05:00
|
|
|
"type": "state-timeline"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
2022-05-26 19:00:44 -05:00
|
|
|
"datasource": {
|
|
|
|
"type": "testdata",
|
2022-05-30 10:15:35 -05:00
|
|
|
"uid": "PD8C576611E62080A"
|
2022-05-26 19:00:44 -05:00
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 70,
|
2022-05-26 19:00:44 -05:00
|
|
|
"lineWidth": 1,
|
|
|
|
"spanNulls": false
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "true",
|
|
|
|
"result": {
|
|
|
|
"color": "semi-dark-green",
|
|
|
|
"index": 0,
|
|
|
|
"text": "ON"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "false",
|
|
|
|
"result": {
|
|
|
|
"color": "red",
|
|
|
|
"index": 1,
|
|
|
|
"text": "OFF"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
2021-08-09 11:42:41 -05:00
|
|
|
"color": "green"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 13,
|
|
|
|
"x": 0,
|
|
|
|
"y": 8
|
|
|
|
},
|
|
|
|
"id": 13,
|
|
|
|
"options": {
|
|
|
|
"alignValue": "center",
|
|
|
|
"colWidth": 1,
|
2021-08-17 06:11:57 -05:00
|
|
|
"legend": {
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom"
|
|
|
|
},
|
|
|
|
"mergeValues": true,
|
2021-05-14 10:24:40 -05:00
|
|
|
"mode": "changes",
|
|
|
|
"rowHeight": 0.98,
|
2021-08-17 06:11:57 -05:00
|
|
|
"showValue": "always",
|
|
|
|
"tooltip": {
|
2022-01-10 03:32:21 -06:00
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
2021-08-17 06:11:57 -05:00
|
|
|
}
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"alias": "",
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "true,false,true,true,true,true,false,false"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "B",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "false,true,false,true,true,false,false,false,true,true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "C",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "true,false,true,true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "D",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "false,true,false,true,true"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "State changes with boolean values",
|
2021-05-17 15:00:04 -05:00
|
|
|
"type": "state-timeline"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
2022-05-26 19:00:44 -05:00
|
|
|
"datasource": {
|
|
|
|
"type": "testdata",
|
2022-05-30 10:15:35 -05:00
|
|
|
"uid": "PD8C576611E62080A"
|
2022-05-26 19:00:44 -05:00
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"description": "Should show gaps",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 80,
|
2022-05-26 19:00:44 -05:00
|
|
|
"lineWidth": 1,
|
|
|
|
"spanNulls": false
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "true",
|
|
|
|
"result": {
|
|
|
|
"color": "semi-dark-green",
|
|
|
|
"index": 0,
|
|
|
|
"text": "ON"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "false",
|
|
|
|
"result": {
|
|
|
|
"color": "red",
|
|
|
|
"index": 1,
|
|
|
|
"text": "OFF"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
2021-08-09 11:42:41 -05:00
|
|
|
"color": "green"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 11,
|
|
|
|
"x": 13,
|
|
|
|
"y": 8
|
|
|
|
},
|
|
|
|
"id": 12,
|
|
|
|
"options": {
|
|
|
|
"alignValue": "center",
|
|
|
|
"colWidth": 1,
|
2021-08-17 06:11:57 -05:00
|
|
|
"legend": {
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom"
|
|
|
|
},
|
|
|
|
"mergeValues": true,
|
2021-05-14 10:24:40 -05:00
|
|
|
"mode": "changes",
|
|
|
|
"rowHeight": 0.98,
|
2021-08-17 06:11:57 -05:00
|
|
|
"showValue": "always",
|
|
|
|
"tooltip": {
|
2022-01-10 03:32:21 -06:00
|
|
|
"mode": "single",
|
|
|
|
"sort": "none"
|
2021-08-17 06:11:57 -05:00
|
|
|
}
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "true,false,true,true,true,true,false,false"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "B",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "false,true,false,true,true,false,false,false,true,true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "C",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "true,false,null,true,true"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hide": false,
|
|
|
|
"refId": "D",
|
|
|
|
"scenarioId": "csv_metric_values",
|
|
|
|
"stringInput": "false,null,null,false,true,true"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "State changes with nulls",
|
2021-05-17 15:00:04 -05:00
|
|
|
"type": "state-timeline"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
2022-05-26 19:00:44 -05:00
|
|
|
"datasource": {
|
|
|
|
"type": "testdata",
|
2022-05-30 10:15:35 -05:00
|
|
|
"uid": "PD8C576611E62080A"
|
2022-05-26 19:00:44 -05:00
|
|
|
},
|
2021-05-14 10:24:40 -05:00
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "continuous-GrYlRd"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 96,
|
|
|
|
"lineWidth": 0
|
|
|
|
},
|
|
|
|
"decimals": 0,
|
|
|
|
"mappings": [],
|
|
|
|
"max": 30,
|
|
|
|
"min": -10,
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
2021-08-09 11:42:41 -05:00
|
|
|
"color": "green"
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 12,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 19
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"maxDataPoints": 20,
|
|
|
|
"options": {
|
|
|
|
"alignValue": "center",
|
|
|
|
"colWidth": 0.96,
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "list",
|
|
|
|
"placement": "bottom"
|
|
|
|
},
|
|
|
|
"rowHeight": 0.98,
|
2021-08-17 06:11:57 -05:00
|
|
|
"showValue": "always",
|
|
|
|
"tooltip": {
|
2022-01-10 03:32:21 -06:00
|
|
|
"mode": "single",
|
|
|
|
"sort": "asc"
|
2021-08-17 06:11:57 -05:00
|
|
|
}
|
2021-05-14 10:24:40 -05:00
|
|
|
},
|
|
|
|
"pluginVersion": "7.5.0-pre",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"alias": "",
|
|
|
|
"csvWave": {
|
|
|
|
"timeStep": 60,
|
|
|
|
"valuesCSV": "0,0,2,2,1,1"
|
|
|
|
},
|
|
|
|
"lines": 10,
|
|
|
|
"max": 30,
|
|
|
|
"min": -10,
|
|
|
|
"noise": 2,
|
|
|
|
"points": [],
|
|
|
|
"pulseWave": {
|
|
|
|
"offCount": 3,
|
|
|
|
"offValue": 1,
|
|
|
|
"onCount": 3,
|
|
|
|
"onValue": 2,
|
|
|
|
"timeStep": 60
|
|
|
|
},
|
|
|
|
"refId": "A",
|
|
|
|
"scenarioId": "random_walk",
|
|
|
|
"seriesCount": 4,
|
|
|
|
"spread": 15,
|
|
|
|
"startValue": 5,
|
|
|
|
"stream": {
|
|
|
|
"bands": 1,
|
|
|
|
"noise": 2.2,
|
|
|
|
"speed": 250,
|
|
|
|
"spread": 3.5,
|
|
|
|
"type": "signal"
|
|
|
|
},
|
|
|
|
"stringInput": ""
|
|
|
|
}
|
|
|
|
],
|
2021-05-17 15:00:04 -05:00
|
|
|
"title": "Status map",
|
2021-05-29 13:24:14 -05:00
|
|
|
"type": "status-history"
|
2021-05-14 10:24:40 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": false,
|
2022-05-26 19:00:44 -05:00
|
|
|
"schemaVersion": 36,
|
2021-05-14 10:24:40 -05:00
|
|
|
"tags": [
|
|
|
|
"gdev",
|
2021-11-14 10:33:26 -06:00
|
|
|
"panel-tests",
|
|
|
|
"graph-ng",
|
2021-05-14 10:24:40 -05:00
|
|
|
"demo"
|
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": []
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-1h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {},
|
|
|
|
"timezone": "utc",
|
|
|
|
"title": "Timeline Demo",
|
|
|
|
"uid": "mIJjFy8Kz",
|
2022-05-26 19:00:44 -05:00
|
|
|
"version": 7,
|
|
|
|
"weekStart": ""
|
2021-08-09 11:42:41 -05:00
|
|
|
}
|