|
73 | 73 | { |
74 | 74 | "datasource": { |
75 | 75 | "type": "prometheus", |
76 | | - "uid": "PROMETHEUS" |
| 76 | + "uid": "${DS_PROMETHEUS}" |
77 | 77 | }, |
78 | 78 | "fieldConfig": { |
79 | 79 | "defaults": { |
|
126 | 126 | { |
127 | 127 | "datasource": { |
128 | 128 | "type": "prometheus", |
129 | | - "uid": "PROMETHEUS" |
| 129 | + "uid": "${DS_PROMETHEUS}" |
130 | 130 | }, |
131 | 131 | "expr": "time()-ccp_backrest_oldest_full_backup_time_seconds{pg_cluster=\"[[cluster]]\", role=\"master\"}", |
132 | 132 | "format": "table", |
|
142 | 142 | { |
143 | 143 | "datasource": { |
144 | 144 | "type": "prometheus", |
145 | | - "uid": "PROMETHEUS" |
| 145 | + "uid": "${DS_PROMETHEUS}" |
146 | 146 | }, |
147 | 147 | "fieldConfig": { |
148 | 148 | "defaults": { |
|
316 | 316 | { |
317 | 317 | "datasource": { |
318 | 318 | "type": "prometheus", |
319 | | - "uid": "PROMETHEUS" |
| 319 | + "uid": "${DS_PROMETHEUS}" |
320 | 320 | }, |
321 | 321 | "expr": "min(ccp_backrest_last_incr_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\", role=\"master\"}) without(deployment,instance,ip,pod)", |
322 | 322 | "format": "time_series", |
|
329 | 329 | { |
330 | 330 | "datasource": { |
331 | 331 | "type": "prometheus", |
332 | | - "uid": "PROMETHEUS" |
| 332 | + "uid": "${DS_PROMETHEUS}" |
333 | 333 | }, |
334 | 334 | "expr": "min(ccp_backrest_last_diff_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\", role=\"master\"}) without(deployment, instance,ip,pod)", |
335 | 335 | "hide": false, |
|
340 | 340 | { |
341 | 341 | "datasource": { |
342 | 342 | "type": "prometheus", |
343 | | - "uid": "PROMETHEUS" |
| 343 | + "uid": "${DS_PROMETHEUS}" |
344 | 344 | }, |
345 | 345 | "expr": "min(ccp_backrest_last_full_backup_time_since_completion_seconds{pg_cluster=\"[[cluster]]\", role=\"master\"}) without(deployment, instance,ip,pod)", |
346 | 346 | "hide": false, |
|
351 | 351 | { |
352 | 352 | "datasource": { |
353 | 353 | "type": "prometheus", |
354 | | - "uid": "PROMETHEUS" |
| 354 | + "uid": "${DS_PROMETHEUS}" |
355 | 355 | }, |
356 | 356 | "expr": "min(ccp_archive_command_status_seconds_since_last_archive{pg_cluster=\"[[cluster]]\", role=\"master\"}) without(deployment, instance,ip,pod)", |
357 | 357 | "hide": false, |
|
366 | 366 | { |
367 | 367 | "datasource": { |
368 | 368 | "type": "prometheus", |
369 | | - "uid": "PROMETHEUS" |
| 369 | + "uid": "${DS_PROMETHEUS}" |
370 | 370 | }, |
371 | 371 | "fieldConfig": { |
372 | 372 | "defaults": { |
|
495 | 495 | { |
496 | 496 | "datasource": { |
497 | 497 | "type": "prometheus", |
498 | | - "uid": "PROMETHEUS" |
| 498 | + "uid": "${DS_PROMETHEUS}" |
499 | 499 | }, |
500 | 500 | "expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"incr\"}) without (deployment,instance,pod,ip)", |
501 | 501 | "format": "time_series", |
|
508 | 508 | { |
509 | 509 | "datasource": { |
510 | 510 | "type": "prometheus", |
511 | | - "uid": "PROMETHEUS" |
| 511 | + "uid": "${DS_PROMETHEUS}" |
512 | 512 | }, |
513 | 513 | "expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"diff\"}) without (deployment,instance,pod,ip)", |
514 | 514 | "hide": false, |
|
519 | 519 | { |
520 | 520 | "datasource": { |
521 | 521 | "type": "prometheus", |
522 | | - "uid": "PROMETHEUS" |
| 522 | + "uid": "${DS_PROMETHEUS}" |
523 | 523 | }, |
524 | 524 | "expr": "min(ccp_backrest_last_info_backup_runtime_seconds{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"full\"}) without (deployment,instance,pod,ip)", |
525 | 525 | "hide": false, |
|
534 | 534 | { |
535 | 535 | "datasource": { |
536 | 536 | "type": "prometheus", |
537 | | - "uid": "PROMETHEUS" |
| 537 | + "uid": "${DS_PROMETHEUS}" |
538 | 538 | }, |
539 | 539 | "description": "", |
540 | 540 | "fieldConfig": { |
|
664 | 664 | { |
665 | 665 | "datasource": { |
666 | 666 | "type": "prometheus", |
667 | | - "uid": "PROMETHEUS" |
| 667 | + "uid": "${DS_PROMETHEUS}" |
668 | 668 | }, |
669 | 669 | "expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"incr\"}) without (deployment, instance,pod,ip)", |
670 | 670 | "format": "time_series", |
|
677 | 677 | { |
678 | 678 | "datasource": { |
679 | 679 | "type": "prometheus", |
680 | | - "uid": "PROMETHEUS" |
| 680 | + "uid": "${DS_PROMETHEUS}" |
681 | 681 | }, |
682 | 682 | "expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"diff\"}) without (deployment,instance,pod,ip)", |
683 | 683 | "hide": false, |
|
688 | 688 | { |
689 | 689 | "datasource": { |
690 | 690 | "type": "prometheus", |
691 | | - "uid": "PROMETHEUS" |
| 691 | + "uid": "${DS_PROMETHEUS}" |
692 | 692 | }, |
693 | 693 | "expr": "min(ccp_backrest_last_info_repo_backup_size_bytes{pg_cluster=\"[[cluster]]\", role=\"master\", backup_type=\"full\"}) without (deployment,instance,pod,ip)", |
694 | 694 | "hide": false, |
|
703 | 703 | { |
704 | 704 | "datasource": { |
705 | 705 | "type": "prometheus", |
706 | | - "uid": "PROMETHEUS" |
| 706 | + "uid": "${DS_PROMETHEUS}" |
707 | 707 | }, |
708 | 708 | "description": "", |
709 | 709 | "fieldConfig": { |
|
879 | 879 | { |
880 | 880 | "datasource": { |
881 | 881 | "type": "prometheus", |
882 | | - "uid": "PROMETHEUS" |
| 882 | + "uid": "${DS_PROMETHEUS}" |
883 | 883 | }, |
884 | 884 | "expr": "avg(idelta(ccp_archive_command_status_failed_count{pg_cluster=\"[[cluster]]\", role=\"master\"}[1m])) without (instance,ip)", |
885 | 885 | "format": "time_series", |
|
892 | 892 | { |
893 | 893 | "datasource": { |
894 | 894 | "type": "prometheus", |
895 | | - "uid": "PROMETHEUS" |
| 895 | + "uid": "${DS_PROMETHEUS}" |
896 | 896 | }, |
897 | 897 | "expr": "avg(idelta(ccp_archive_command_status_archived_count{pg_cluster=\"[[cluster]]\", role=\"master\"}[1m])) without (instance,pod, ip)", |
898 | 898 | "hide": false, |
|
916 | 916 | "current": {}, |
917 | 917 | "datasource": { |
918 | 918 | "type": "prometheus", |
919 | | - "uid": "PROMETHEUS" |
| 919 | + "uid": "${DS_PROMETHEUS}" |
920 | 920 | }, |
921 | 921 | "definition": "label_values(pg_cluster)", |
922 | 922 | "hide": 0, |
|
0 commit comments