|
598 | 598 | "type": "prometheus",
|
599 | 599 | "uid": "$datasource"
|
600 | 600 | },
|
601 |
| - "description": "Time in ms to sync Custom Resources after operator restart", |
| 601 | + "description": "Time in ms to sync Custom Resources after operator restart or leader change", |
602 | 602 | "fieldConfig": {
|
603 | 603 | "defaults": {
|
604 | 604 | "color": {
|
|
620 | 620 | },
|
621 | 621 | "gridPos": {
|
622 | 622 | "h": 5,
|
623 |
| - "w": 12, |
| 623 | + "w": 4, |
624 | 624 | "x": 0,
|
625 | 625 | "y": 9
|
626 | 626 | },
|
|
646 | 646 | "targets": [
|
647 | 647 | {
|
648 | 648 | "editorMode": "code",
|
649 |
| - "expr": "sum(grafana_operator_dashboards_initial_sync_duration{$k8sClusterLabelKey=\"$cluster\", pod=~\"$pod\", job=\"$job\"})", |
| 649 | + "expr": "sum(grafana_operator_reconciler_initial_sync_duration{$k8sClusterLabelKey=\"$cluster\", pod=~\"$pod\", job=\"$job\"})", |
650 | 650 | "legendFormat": "Dashboards",
|
651 | 651 | "range": true,
|
652 | 652 | "refId": "A"
|
653 |
| - }, |
654 |
| - { |
655 |
| - "datasource": { |
656 |
| - "type": "prometheus", |
657 |
| - "uid": "$datasource" |
658 |
| - }, |
659 |
| - "editorMode": "code", |
660 |
| - "expr": "sum(grafana_operator_datasources_initial_sync_duration{$k8sClusterLabelKey=\"$cluster\", pod=~\"$pod\", job=\"$job\"})", |
661 |
| - "hide": false, |
662 |
| - "instant": false, |
663 |
| - "legendFormat": "Datasources", |
664 |
| - "range": true, |
665 |
| - "refId": "B" |
666 |
| - }, |
667 |
| - { |
668 |
| - "datasource": { |
669 |
| - "type": "prometheus", |
670 |
| - "uid": "$datasource" |
671 |
| - }, |
672 |
| - "editorMode": "code", |
673 |
| - "expr": "sum(grafana_operator_folders_initial_sync_duration{$k8sClusterLabelKey=\"$cluster\", pod=~\"$pod\", job=\"$job\"})", |
674 |
| - "hide": false, |
675 |
| - "instant": false, |
676 |
| - "legendFormat": "Folders", |
677 |
| - "range": true, |
678 |
| - "refId": "C" |
679 | 653 | }
|
680 | 654 | ],
|
681 |
| - "title": "CR Initial Sync Durations", |
| 655 | + "title": "CR Initial Sync Duration", |
682 | 656 | "type": "stat"
|
683 | 657 | },
|
684 | 658 | {
|
|
744 | 718 | },
|
745 | 719 | "gridPos": {
|
746 | 720 | "h": 5,
|
747 |
| - "w": 12, |
748 |
| - "x": 12, |
| 721 | + "w": 20, |
| 722 | + "x": 4, |
749 | 723 | "y": 9
|
750 | 724 | },
|
751 | 725 | "id": 17,
|
|
769 | 743 | "exemplar": false,
|
770 | 744 | "expr": "rate(grafana_operator_reconciler_reconciles{$k8sClusterLabelKey=\"$cluster\", pod=~\"$pod\", job=\"$job\"}[$__rate_interval])",
|
771 | 745 | "instant": false,
|
772 |
| - "legendFormat": "{{instance_name}}", |
| 746 | + "legendFormat": "{{instance_namespace}}/{{instance_name}}", |
773 | 747 | "range": true,
|
774 | 748 | "refId": "A"
|
775 | 749 | }
|
|
0 commit comments