Skip to content

Commit

Permalink
Update home.json
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMatthes authored May 29, 2024
1 parent 68e9ee7 commit 5556766
Showing 1 changed file with 28 additions and 57 deletions.
85 changes: 28 additions & 57 deletions provisioning/dashboards/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 13,
"id": 5,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -1509,57 +1509,21 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 48,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 4,
"pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
"mode": "continuous-RdYlGr"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent",
"unitScale": true
},
"overrides": []
Expand All @@ -1572,25 +1536,30 @@
},
"id": 79,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.3.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "(sum(prediction_service_udp_thing_status) / count(count by (thing_id) (prediction_service_udp_thing_status)))",
"expr": "(sum(prediction_service_udp_thing_status) / count(count by (thing_id) (prediction_service_udp_thing_status))) * 100",
"hide": false,
"instant": false,
"legendFormat": "Things receiving data",
Expand All @@ -1603,15 +1572,15 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "(increase(prediction_service_predictions_count_total{}[120s]) / (2 * prediction_service_subscription_count_total{}))",
"expr": "(increase(prediction_service_predictions_count_total{}[120s]) / (2 * prediction_service_subscription_count_total{})) * 100",
"instant": false,
"legendFormat": "Things having prediction",
"range": true,
"refId": "A"
}
],
"title": "Available Predictions / Online Connections",
"type": "timeseries"
"type": "stat"
},
{
"datasource": {
Expand Down Expand Up @@ -1995,7 +1964,8 @@
"mode": "absolute",
"steps": [
{
"color": "orange"
"color": "orange",
"value": null
}
]
},
Expand Down Expand Up @@ -2071,7 +2041,8 @@
"mode": "absolute",
"steps": [
{
"color": "orange"
"color": "orange",
"value": null
}
]
},
Expand Down Expand Up @@ -2357,14 +2328,14 @@
"list": []
},
"time": {
"from": "now-1h",
"from": "now-15m",
"to": "now"
},
"timeRangeUpdatedDuringEditOrView": false,
"timepicker": {},
"timezone": "",
"title": "Priobike",
"uid": "sdmbOcJnz",
"version": 3,
"version": 2,
"weekStart": ""
}

0 comments on commit 5556766

Please sign in to comment.