|
24 | 24 | "editable": true,
|
25 | 25 | "fiscalYearStartMonth": 0,
|
26 | 26 | "graphTooltip": 0,
|
27 |
| - "id": 68, |
28 |
| - "iteration": 1658784406433, |
29 | 27 | "links": [],
|
30 | 28 | "liveNow": false,
|
31 | 29 | "panels": [
|
|
51 | 49 | "mode": "palette-classic"
|
52 | 50 | },
|
53 | 51 | "custom": {
|
| 52 | + "axisCenteredZero": false, |
| 53 | + "axisColorMode": "text", |
54 | 54 | "axisLabel": "",
|
55 | 55 | "axisPlacement": "auto",
|
56 | 56 | "barAlignment": 0,
|
|
107 | 107 | "legend": {
|
108 | 108 | "calcs": [],
|
109 | 109 | "displayMode": "list",
|
110 |
| - "placement": "bottom" |
| 110 | + "placement": "bottom", |
| 111 | + "showLegend": true |
111 | 112 | },
|
112 | 113 | "tooltip": {
|
113 | 114 | "mode": "single",
|
|
141 | 142 | "mode": "palette-classic"
|
142 | 143 | },
|
143 | 144 | "custom": {
|
| 145 | + "axisCenteredZero": false, |
| 146 | + "axisColorMode": "text", |
144 | 147 | "axisLabel": "",
|
145 | 148 | "axisPlacement": "auto",
|
146 | 149 | "barAlignment": 0,
|
|
197 | 200 | "legend": {
|
198 | 201 | "calcs": [],
|
199 | 202 | "displayMode": "list",
|
200 |
| - "placement": "bottom" |
| 203 | + "placement": "bottom", |
| 204 | + "showLegend": true |
201 | 205 | },
|
202 | 206 | "tooltip": {
|
203 | 207 | "mode": "single",
|
|
240 | 244 | "x": 0,
|
241 | 245 | "y": 9
|
242 | 246 | },
|
243 |
| - "id": 2, |
| 247 | + "id": 14, |
244 | 248 | "panels": [],
|
245 |
| - "title": "Usage Controller", |
| 249 | + "title": "Scheduled jobs", |
246 | 250 | "type": "row"
|
247 | 251 | },
|
248 | 252 | {
|
|
257 | 261 | "mode": "palette-classic"
|
258 | 262 | },
|
259 | 263 | "custom": {
|
| 264 | + "axisCenteredZero": false, |
| 265 | + "axisColorMode": "text", |
260 | 266 | "axisLabel": "# of events",
|
261 | 267 | "axisPlacement": "auto",
|
262 | 268 | "barAlignment": 0,
|
|
312 | 318 | "legend": {
|
313 | 319 | "calcs": [],
|
314 | 320 | "displayMode": "list",
|
315 |
| - "placement": "bottom" |
| 321 | + "placement": "bottom", |
| 322 | + "showLegend": true |
316 | 323 | },
|
317 | 324 | "tooltip": {
|
318 | 325 | "mode": "single",
|
|
326 | 333 | "uid": "P4169E866C3094E38"
|
327 | 334 | },
|
328 | 335 | "editorMode": "code",
|
329 |
| - "expr": "sum(increase(gitpod_usage_reconcile_started_total{cluster=~\"$cluster\"}[1m]))", |
330 |
| - "legendFormat": "Reconcile started", |
| 336 | + "expr": "sum(increase(gitpod_usage_scheduler_job_started_total{cluster=~\"$cluster\"}[1m])) by (job)", |
| 337 | + "legendFormat": "{{job}} started", |
331 | 338 | "range": true,
|
332 | 339 | "refId": "A"
|
333 | 340 | },
|
|
338 | 345 | },
|
339 | 346 | "editorMode": "code",
|
340 | 347 | "exemplar": false,
|
341 |
| - "expr": "sum(increase(gitpod_usage_reconcile_completed_duration_seconds_count{cluster=~\"$cluster\"}[1m])) by (outcome)", |
| 348 | + "expr": "sum(increase(gitpod_usage_scheduler_job_completed_seconds_count{cluster=~\"$cluster\"}[1m])) by (job, outcome)", |
342 | 349 | "hide": false,
|
343 | 350 | "instant": false,
|
344 |
| - "legendFormat": "Reconcile completed: {{outcome}}", |
| 351 | + "legendFormat": "{{job}} completed: {{outcome}}", |
345 | 352 | "range": true,
|
346 | 353 | "refId": "B"
|
347 | 354 | }
|
348 | 355 | ],
|
349 |
| - "title": "Usage Controller Ticks", |
| 356 | + "title": "Scheduled jobs started & completed", |
350 | 357 | "type": "timeseries"
|
351 | 358 | },
|
352 | 359 | {
|
|
361 | 368 | "mode": "palette-classic"
|
362 | 369 | },
|
363 | 370 | "custom": {
|
| 371 | + "axisCenteredZero": false, |
| 372 | + "axisColorMode": "text", |
364 | 373 | "axisGridShow": true,
|
365 | 374 | "axisLabel": "",
|
366 | 375 | "axisPlacement": "auto",
|
|
418 | 427 | "legend": {
|
419 | 428 | "calcs": [],
|
420 | 429 | "displayMode": "list",
|
421 |
| - "placement": "bottom" |
| 430 | + "placement": "bottom", |
| 431 | + "showLegend": true |
422 | 432 | },
|
423 | 433 | "tooltip": {
|
424 | 434 | "mode": "single",
|
|
432 | 442 | "uid": "P4169E866C3094E38"
|
433 | 443 | },
|
434 | 444 | "editorMode": "code",
|
435 |
| - "expr": "histogram_quantile(0.5, sum(rate(gitpod_usage_reconcile_completed_duration_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))", |
| 445 | + "expr": "histogram_quantile(0.5, sum(rate(gitpod_usage_scheduler_job_completed_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))", |
436 | 446 | "legendFormat": "50th percentile",
|
437 | 447 | "range": true,
|
438 | 448 | "refId": "A"
|
|
443 | 453 | "uid": "P4169E866C3094E38"
|
444 | 454 | },
|
445 | 455 | "editorMode": "code",
|
446 |
| - "expr": "histogram_quantile(0.9, sum(rate(gitpod_usage_reconcile_completed_duration_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))", |
| 456 | + "expr": "histogram_quantile(0.9, sum(rate(gitpod_usage_scheduler_job_completed_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))", |
447 | 457 | "hide": false,
|
448 | 458 | "legendFormat": "90th percentile",
|
449 | 459 | "range": true,
|
450 | 460 | "refId": "B"
|
451 | 461 | }
|
452 | 462 | ],
|
453 |
| - "title": "Tick Duration", |
| 463 | + "title": "Scheduled job duration", |
454 | 464 | "type": "timeseries"
|
455 | 465 | }
|
456 | 466 | ],
|
457 |
| - "schemaVersion": 36, |
| 467 | + "schemaVersion": 37, |
458 | 468 | "style": "dark",
|
459 | 469 | "tags": [],
|
460 | 470 | "templating": {
|
|
561 | 571 | "timezone": "utc",
|
562 | 572 | "title": "Component: Usage",
|
563 | 573 | "uid": "8W7P-jg4z",
|
564 |
| - "version": 8, |
| 574 | + "version": 1, |
565 | 575 | "weekStart": "monday"
|
566 | 576 | }
|
0 commit comments