* Singlevalue: Improvements to decimals logic and added test dashboard * updated * Fixed tests
914 lines
20 KiB
JSON
914 lines
20 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 2,
|
|
"links": [],
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"id": 0,
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"type": 1,
|
|
"value": "null"
|
|
}
|
|
],
|
|
"max": 100,
|
|
"min": 0,
|
|
"nullValueMode": "connected",
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "none"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "horizontal",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,0.2"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "0.2 = 0.2",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 0
|
|
},
|
|
"id": 4,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,0.0002"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "0.0002 = 0.0002",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 8,
|
|
"y": 0
|
|
},
|
|
"id": 3,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1.125"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1.125 = 1.12",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 12,
|
|
"y": 0
|
|
},
|
|
"id": 19,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,2.235"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "2.235 = 2.2",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 16,
|
|
"y": 0
|
|
},
|
|
"id": 6,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1000 = 1K",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 20,
|
|
"y": 0
|
|
},
|
|
"id": 7,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1200"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1200 = 1.2K",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 8,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1250"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1250 = 1.25K",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 5
|
|
},
|
|
"id": 9,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1500"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1500 = 1.5K",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 8,
|
|
"y": 5
|
|
},
|
|
"id": 10,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,15258"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "15258 = 15.26K",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 12,
|
|
"y": 5
|
|
},
|
|
"id": 5,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,100.50"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "100.50 = 101",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 16,
|
|
"y": 5
|
|
},
|
|
"id": 11,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1500000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1500000 = 1.5Mil",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 20,
|
|
"y": 5
|
|
},
|
|
"id": 13,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1000000000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1000000000 = 1 Bil",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 10
|
|
},
|
|
"id": 14,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1500000000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1500000000 = 1.5 Bil",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 10
|
|
},
|
|
"id": 15,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "ms"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1000 (ms) = 1s",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 8,
|
|
"y": 10
|
|
},
|
|
"id": 16,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "ms"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1200"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1200 (ms) = 1.2s",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 12,
|
|
"y": 10
|
|
},
|
|
"id": 12,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "short"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1000000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1000000 = 1 Mil",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 16,
|
|
"y": 10
|
|
},
|
|
"id": 18,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "ms"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,90000"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "90000 (ms) = 1.5 min",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 15
|
|
},
|
|
"id": 17,
|
|
"options": {
|
|
"fieldOptions": {
|
|
"calcs": ["lastNotNull"],
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
],
|
|
"unit": "ms"
|
|
},
|
|
"override": {},
|
|
"values": false
|
|
},
|
|
"orientation": "auto",
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true
|
|
},
|
|
"pluginVersion": "6.4.0-pre",
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"refId": "A",
|
|
"scenarioId": "csv_metric_values",
|
|
"stringInput": "0,1200"
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "1860 (ms) = 1.86s",
|
|
"type": "gauge"
|
|
}
|
|
],
|
|
"schemaVersion": 19,
|
|
"style": "dark",
|
|
"tags": ["gdev", "panel-tests"],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
|
|
},
|
|
"timezone": "",
|
|
"title": "Panel Tests - Auto Decimals",
|
|
"uid": "5mqG8qdZz",
|
|
"version": 1
|
|
}
|