Add availability dashboard row

including a panel with the prewarming poolsize and the idle runner count.
This commit is contained in:
Maximilian Paß
2022-05-24 21:37:04 +02:00
parent ff3ec9e362
commit eafc01e69a

View File

@@ -22,12 +22,12 @@
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 13,
"iteration": 1653418538534,
"iteration": 1653418538550,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
@@ -35,10 +35,7 @@
"y": 0
},
"id": 25,
"panels": [],
"title": "General",
"type": "row"
},
"panels": [
{
"cards": {},
"color": {
@@ -490,20 +487,21 @@
],
"title": "Executions per minute",
"type": "bargauge"
}
],
"title": "General",
"type": "row"
},
{
"collapsed": false,
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
"y": 1
},
"id": 23,
"panels": [],
"title": "Runner Insights",
"type": "row"
},
"panels": [
{
"cards": {},
"color": {
@@ -523,7 +521,7 @@
"h": 10,
"w": 10,
"x": 0,
"y": 22
"y": 2
},
"heatmap": {},
"hideZeroBuckets": false,
@@ -589,7 +587,7 @@
"h": 7,
"w": 4,
"x": 10,
"y": 22
"y": 2
},
"id": 18,
"options": {
@@ -679,7 +677,7 @@
"h": 10,
"w": 10,
"x": 14,
"y": 22
"y": 2
},
"id": 21,
"options": {
@@ -735,7 +733,7 @@
"h": 6,
"w": 4,
"x": 10,
"y": 29
"y": 9
},
"id": 31,
"options": {
@@ -783,7 +781,7 @@
"h": 10,
"w": 10,
"x": 0,
"y": 32
"y": 12
},
"heatmap": {},
"hideZeroBuckets": false,
@@ -881,7 +879,7 @@
"h": 10,
"w": 10,
"x": 14,
"y": 32
"y": 12
},
"id": 30,
"options": {
@@ -910,6 +908,112 @@
"type": "timeseries"
}
],
"title": "Runner Insights",
"type": "row"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 36,
"panels": [],
"title": "Availability",
"type": "row"
},
{
"datasource": {
"type": "influxdb",
"uid": "cMBTRmQnz"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 3
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "influxdb",
"uid": "cMBTRmQnz"
},
"query": "from(bucket: \"poseidon/autogen\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_field\"] == \"idle_runner\" or r[\"_field\"] == \"prewarming_pool_size\")\n |> filter(fn: (r) => contains(value: r[\"environment_id\"], set: ${environment_ids:json}))\n |> filter(fn: (r) => contains(value: r[\"status\"], set: ${status_codes:json}))\n |> keep(columns: [\"_field\", \"_value\", \"_time\", \"environment_id\"])\n |> aggregateWindow(every: duration(v: int(v: v.windowPeriod) * 10), fn: mean)\n",
"refId": "A"
}
],
"title": "Prewarming Poolsize and idle Runner",
"type": "timeseries"
}
],
"refresh": "5m",
"schemaVersion": 35,
"style": "dark",
@@ -918,14 +1022,12 @@
"list": [
{
"current": {
"selected": false,
"selected": true,
"text": [
"10",
"32"
"All"
],
"value": [
"10",
"32"
"$__all"
]
},
"datasource": {
@@ -949,7 +1051,7 @@
},
{
"current": {
"selected": false,
"selected": true,
"text": [
"All"
],
@@ -986,6 +1088,6 @@
"timezone": "",
"title": "Poseidon",
"uid": "hQRzR1Qnz",
"version": 15,
"version": 16,
"weekStart": ""
}