templates/dashboards: human readable job duration targets

Also makes the default 40m, which is the new slo target for osbuild
jobs.
This commit is contained in:
Sanne Raymaekers 2024-07-04 12:33:12 +02:00
parent 3b3ffe0d08
commit 786f44e7e7

View file

@ -749,11 +749,11 @@ data:
}, },
{ {
"color": "dark-purple", "color": "dark-purple",
"value": 32 "value": 30
}, },
{ {
"color": "dark-purple", "color": "dark-purple",
"value": 1792 "value": 2400
} }
] ]
}, },
@ -1791,8 +1791,8 @@ data:
{ {
"current": { "current": {
"selected": false, "selected": false,
"text": "1792", "text": "2400",
"value": "1792" "value": "2400"
}, },
"description": "The duration in seconds 95% of jobs should adhere to.", "description": "The duration in seconds 95% of jobs should adhere to.",
"hide": 0, "hide": 0,
@ -1803,31 +1803,46 @@ data:
"options": [ "options": [
{ {
"selected": false, "selected": false,
"text": "32", "text": "30s",
"value": "32" "value": "30"
}, },
{ {
"selected": false, "selected": false,
"text": "640", "text": "1m",
"value": "640" "value": "60"
}, },
{ {
"selected": false, "selected": false,
"text": "1536", "text": "10m",
"value": "1536" "value": "600"
},
{
"selected": false,
"text": "20m",
"value": "1200"
},
{
"selected": false,
"text": "30m",
"value": "1800"
}, },
{ {
"selected": true, "selected": true,
"text": "1792", "text": "40m",
"value": "1792" "value": "2400"
}, },
{ {
"selected": false, "selected": false,
"text": "2049", "text": "1h",
"value": "2049" "value": "3600"
},
{
"selected": false,
"text": "2h",
"value": "7200"
} }
], ],
"query": "32, 640, 1536, 1792, 2049", "query": "30m, 60, 600, 1200, 1800, 2400, 3600, 7200",
"skipUrlSync": false, "skipUrlSync": false,
"type": "custom" "type": "custom"
} }
@ -1865,6 +1880,6 @@ data:
"timezone": "", "timezone": "",
"title": "Image Builder Worker Job Stats", "title": "Image Builder Worker Job Stats",
"uid": "image-builder-worker", "uid": "image-builder-worker",
"version": 18, "version": 19,
"weekStart": "" "weekStart": ""
} }