|
18 | 18 | "editable": true, |
19 | 19 | "fiscalYearStartMonth": 0, |
20 | 20 | "graphTooltip": 1, |
21 | | - "id": 5, |
| 21 | + "id": 35, |
22 | 22 | "links": [], |
23 | 23 | "panels": [ |
24 | 24 | { |
|
340 | 340 | "uid": "P1809F7CD0C75ACF3" |
341 | 341 | }, |
342 | 342 | "editorMode": "code", |
343 | | - "expr": "histogram_quantile(0.99,\n sum by (run_id, le) (rate(\n workqueue_queue_duration_seconds_bucket{\n job=\"webhosting-operator\", name=\"website\", run_id=~\"$run_id\"\n }[$__rate_interval]\n ))\n)", |
344 | | - "legendFormat": "__auto", |
| 343 | + "expr": "histogram_quantile($percentile/100,\n sum by (run_id, le) (rate(\n workqueue_queue_duration_seconds_bucket{\n job=\"webhosting-operator\", name=\"website\", run_id=~\"$run_id\"\n }[1m]\n ))\n)", |
| 344 | + "legendFormat": "{{run_id}}-1m", |
345 | 345 | "range": true, |
346 | 346 | "refId": "A" |
| 347 | + }, |
| 348 | + { |
| 349 | + "datasource": { |
| 350 | + "type": "prometheus", |
| 351 | + "uid": "P1809F7CD0C75ACF3" |
| 352 | + }, |
| 353 | + "editorMode": "code", |
| 354 | + "expr": "histogram_quantile($percentile/100,\n sum by (run_id, le) (rate(\n workqueue_queue_duration_seconds_bucket{\n job=\"webhosting-operator\", name=\"website\", run_id=~\"$run_id\"\n }[15m]\n ))\n)", |
| 355 | + "hide": false, |
| 356 | + "legendFormat": "{{run_id}}-15m", |
| 357 | + "range": true, |
| 358 | + "refId": "B" |
347 | 359 | } |
348 | 360 | ], |
349 | | - "title": "Queue Latency (P99)", |
| 361 | + "title": "Queue Latency (P$percentile)", |
350 | 362 | "type": "timeseries" |
351 | 363 | }, |
352 | 364 | { |
|
443 | 455 | "uid": "P1809F7CD0C75ACF3" |
444 | 456 | }, |
445 | 457 | "editorMode": "code", |
446 | | - "expr": "histogram_quantile(0.99,\n sum by (run_id, le) (rate(\n experiment_website_reconciliation_duration_seconds_bucket{\n job=\"experiment\", run_id=~\"$run_id\"\n }[$__rate_interval]\n ))\n)", |
447 | | - "legendFormat": "__auto", |
| 458 | + "expr": "histogram_quantile($percentile/100,\n sum by (run_id, le) (rate(\n experiment_website_reconciliation_duration_seconds_bucket{\n job=\"experiment\", run_id=~\"$run_id\"\n }[1m]\n ))\n)", |
| 459 | + "legendFormat": "{{run_id}}-1m", |
448 | 460 | "range": true, |
449 | 461 | "refId": "A" |
| 462 | + }, |
| 463 | + { |
| 464 | + "datasource": { |
| 465 | + "type": "prometheus", |
| 466 | + "uid": "P1809F7CD0C75ACF3" |
| 467 | + }, |
| 468 | + "editorMode": "code", |
| 469 | + "expr": "histogram_quantile($percentile/100,\n sum by (run_id, le) (rate(\n experiment_website_reconciliation_duration_seconds_bucket{\n job=\"experiment\", run_id=~\"$run_id\"\n }[15m]\n ))\n)", |
| 470 | + "hide": false, |
| 471 | + "legendFormat": "{{run_id}}-15m", |
| 472 | + "range": true, |
| 473 | + "refId": "B" |
450 | 474 | } |
451 | 475 | ], |
452 | | - "title": "Reconciliation Latency (P99)", |
| 476 | + "title": "Reconciliation Latency (P$percentile)", |
453 | 477 | "type": "timeseries" |
454 | 478 | }, |
455 | 479 | { |
|
898 | 922 | "regex": "", |
899 | 923 | "sort": 1, |
900 | 924 | "type": "query" |
| 925 | + }, |
| 926 | + { |
| 927 | + "current": { |
| 928 | + "text": "99", |
| 929 | + "value": "99" |
| 930 | + }, |
| 931 | + "label": "SLO Percentile", |
| 932 | + "name": "percentile", |
| 933 | + "options": [ |
| 934 | + { |
| 935 | + "selected": false, |
| 936 | + "text": "90", |
| 937 | + "value": "90" |
| 938 | + }, |
| 939 | + { |
| 940 | + "selected": false, |
| 941 | + "text": "95", |
| 942 | + "value": "95" |
| 943 | + }, |
| 944 | + { |
| 945 | + "selected": true, |
| 946 | + "text": "99", |
| 947 | + "value": "99" |
| 948 | + } |
| 949 | + ], |
| 950 | + "query": "90,95,99", |
| 951 | + "type": "custom" |
901 | 952 | } |
902 | 953 | ] |
903 | 954 | }, |
|
0 commit comments