Skip to content

Commit

Permalink
templates/dashboards/worker: add arch label to job wait duration
Browse files Browse the repository at this point in the history
Display the wait duration of jobs per architecture.
  • Loading branch information
croissanne committed Mar 21, 2023
1 parent b13865d commit a2a3a26
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ data:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1675420979872,
"iteration": 1676467352621,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -1235,7 +1235,7 @@ data:
"targets": [
{
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\"}[$__range])) by (le))",
"expr": "histogram_quantile(0.95, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\", arch=~\"$arch\"}[$__range])) by (le))",
"interval": "",
"legendFormat": "",
"refId": "A"
Expand Down Expand Up @@ -1365,7 +1365,7 @@ data:
"targets": [
{
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\"}[$interval])) by (le))",
"expr": "histogram_quantile(0.99, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\", arch=~\"$arch\"}[$interval])) by (le))",
"hide": false,
"interval": "",
"legendFormat": "p99",
Expand All @@ -1374,7 +1374,7 @@ data:
{
"editorMode": "code",
"exemplar": true,
"expr": "histogram_quantile(0.95, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\"}[$interval])) by (le))",
"expr": "histogram_quantile(0.95, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\", arch=~\"$arch\"}[$interval])) by (le))",
"hide": false,
"interval": "",
"legendFormat": "p95",
Expand All @@ -1383,7 +1383,7 @@ data:
},
{
"exemplar": true,
"expr": "histogram_quantile(0.5, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\"}[$interval])) by (le))",
"expr": "histogram_quantile(0.5, sum(rate(image_builder_worker_job_wait_duration_seconds_bucket{type=~\"$jobtype\",tenant=~\"$tenant\", arch=~\"$arch\"}[$interval])) by (le))",
"interval": "",
"legendFormat": "p50",
"refId": "A"
Expand Down

0 comments on commit a2a3a26

Please sign in to comment.