flux-cluster-dashboard.json (48963B)
1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": "-- Grafana --", 7 "enable": true, 8 "hide": true, 9 "iconColor": "rgba(0, 211, 255, 1)", 10 "name": "Annotations & Alerts", 11 "type": "dashboard" 12 }, 13 { 14 "datasource": { 15 "type": "datasource", 16 "uid": "grafana" 17 }, 18 "enable": true, 19 "iconColor": "red", 20 "name": "flux events", 21 "target": { 22 "limit": 100, 23 "matchAny": false, 24 "tags": [ 25 "flux" 26 ], 27 "type": "tags" 28 } 29 } 30 ] 31 }, 32 "editable": true, 33 "fiscalYearStartMonth": 0, 34 "graphTooltip": 0, 35 "id": 1, 36 "links": [], 37 "liveNow": false, 38 "panels": [ 39 { 40 "datasource": { 41 "type": "prometheus", 42 "uid": "${DS_PROMETHEUS}" 43 }, 44 "description": "", 45 "fieldConfig": { 46 "defaults": { 47 "decimals": 0, 48 "mappings": [], 49 "noValue": "0", 50 "thresholds": { 51 "mode": "absolute", 52 "steps": [ 53 { 54 "color": "blue", 55 "value": null 56 }, 57 { 58 "color": "red", 59 "value": 100 60 } 61 ] 62 }, 63 "unit": "short" 64 }, 65 "overrides": [] 66 }, 67 "gridPos": { 68 "h": 5, 69 "w": 6, 70 "x": 0, 71 "y": 0 72 }, 73 "id": 24, 74 "options": { 75 "colorMode": "value", 76 "graphMode": "none", 77 "justifyMode": "auto", 78 "orientation": "auto", 79 "reduceOptions": { 80 "calcs": [ 81 "last" 82 ], 83 "fields": "", 84 "values": false 85 }, 86 "text": {}, 87 "textMode": "value" 88 }, 89 "pluginVersion": "10.0.3", 90 "targets": [ 91 { 92 "datasource": { 93 "type": "prometheus", 94 "uid": "prometheus" 95 }, 96 "editorMode": "code", 97 "exemplar": false, 98 "expr": "count(gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"Kustomization|HelmRelease\"})", 99 "instant": true, 100 "interval": "", 101 "legendFormat": "", 102 "range": false, 103 "refId": "A" 104 } 105 ], 106 "title": "Cluster Reconcilers", 107 "type": "stat" 108 }, 109 { 110 "datasource": { 111 "type": "prometheus", 112 "uid": "${DS_PROMETHEUS}" 113 }, 114 "description": "", 115 "fieldConfig": { 116 "defaults": { 117 "decimals": 0, 118 "mappings": [], 119 "noValue": "0", 120 "thresholds": { 121 "mode": "absolute", 122 "steps": [ 123 { 124 "color": "red", 125 "value": null 126 } 127 ] 128 }, 129 "unit": "short" 130 }, 131 "overrides": [] 132 }, 133 "gridPos": { 134 "h": 5, 135 "w": 6, 136 "x": 6, 137 "y": 0 138 }, 139 "id": 28, 140 "options": { 141 "colorMode": "value", 142 "graphMode": "area", 143 "justifyMode": "auto", 144 "orientation": "auto", 145 "reduceOptions": { 146 "calcs": [ 147 "last" 148 ], 149 "fields": "", 150 "values": false 151 }, 152 "text": {}, 153 "textMode": "value" 154 }, 155 "pluginVersion": "10.0.3", 156 "targets": [ 157 { 158 "datasource": { 159 "type": "prometheus", 160 "uid": "prometheus" 161 }, 162 "editorMode": "code", 163 "exemplar": false, 164 "expr": "count(gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"Kustomization|HelmRelease\", ready=\"False\"})", 165 "instant": true, 166 "interval": "", 167 "legendFormat": "", 168 "range": false, 169 "refId": "A" 170 } 171 ], 172 "title": "Failing Reconcilers", 173 "type": "stat" 174 }, 175 { 176 "datasource": { 177 "type": "prometheus", 178 "uid": "${DS_PROMETHEUS}" 179 }, 180 "description": "", 181 "fieldConfig": { 182 "defaults": { 183 "decimals": 0, 184 "mappings": [], 185 "noValue": "0", 186 "thresholds": { 187 "mode": "absolute", 188 "steps": [ 189 { 190 "color": "blue", 191 "value": null 192 }, 193 { 194 "color": "red", 195 "value": 100 196 } 197 ] 198 }, 199 "unit": "short" 200 }, 201 "overrides": [] 202 }, 203 "gridPos": { 204 "h": 5, 205 "w": 6, 206 "x": 12, 207 "y": 0 208 }, 209 "id": 29, 210 "options": { 211 "colorMode": "value", 212 "graphMode": "none", 213 "justifyMode": "auto", 214 "orientation": "auto", 215 "reduceOptions": { 216 "calcs": [ 217 "last" 218 ], 219 "fields": "", 220 "values": false 221 }, 222 "text": {}, 223 "textMode": "value" 224 }, 225 "pluginVersion": "10.0.3", 226 "targets": [ 227 { 228 "datasource": { 229 "type": "prometheus", 230 "uid": "prometheus" 231 }, 232 "editorMode": "code", 233 "exemplar": false, 234 "expr": "count(gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"})", 235 "instant": true, 236 "interval": "", 237 "legendFormat": "", 238 "range": false, 239 "refId": "A" 240 } 241 ], 242 "title": "Kubernetes Manifests Sources", 243 "type": "stat" 244 }, 245 { 246 "datasource": { 247 "type": "prometheus", 248 "uid": "${DS_PROMETHEUS}" 249 }, 250 "description": "", 251 "fieldConfig": { 252 "defaults": { 253 "decimals": 0, 254 "mappings": [], 255 "noValue": "0", 256 "thresholds": { 257 "mode": "absolute", 258 "steps": [ 259 { 260 "color": "red", 261 "value": null 262 } 263 ] 264 }, 265 "unit": "short" 266 }, 267 "overrides": [] 268 }, 269 "gridPos": { 270 "h": 5, 271 "w": 6, 272 "x": 18, 273 "y": 0 274 }, 275 "id": 30, 276 "options": { 277 "colorMode": "value", 278 "graphMode": "area", 279 "justifyMode": "auto", 280 "orientation": "auto", 281 "reduceOptions": { 282 "calcs": [ 283 "last" 284 ], 285 "fields": "", 286 "values": false 287 }, 288 "text": {}, 289 "textMode": "value" 290 }, 291 "pluginVersion": "10.0.3", 292 "targets": [ 293 { 294 "datasource": { 295 "type": "prometheus", 296 "uid": "prometheus" 297 }, 298 "editorMode": "code", 299 "exemplar": false, 300 "expr": "count(gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\", ready=\"False\"})", 301 "instant": true, 302 "interval": "", 303 "legendFormat": "", 304 "range": false, 305 "refId": "A" 306 } 307 ], 308 "title": "Failing Sources", 309 "type": "stat" 310 }, 311 { 312 "datasource": "${DS_PROMETHEUS}", 313 "description": "", 314 "fieldConfig": { 315 "defaults": { 316 "mappings": [], 317 "thresholds": { 318 "mode": "absolute", 319 "steps": [ 320 { 321 "color": "green", 322 "value": null 323 }, 324 { 325 "color": "#EAB839", 326 "value": 1 327 }, 328 { 329 "color": "red", 330 "value": 61 331 } 332 ] 333 }, 334 "unit": "s" 335 }, 336 "overrides": [] 337 }, 338 "gridPos": { 339 "h": 4, 340 "w": 12, 341 "x": 0, 342 "y": 5 343 }, 344 "id": 8, 345 "options": { 346 "displayMode": "gradient", 347 "minVizHeight": 10, 348 "minVizWidth": 0, 349 "orientation": "horizontal", 350 "reduceOptions": { 351 "calcs": [ 352 "mean" 353 ], 354 "fields": "", 355 "values": false 356 }, 357 "showUnfilled": true, 358 "text": {}, 359 "valueMode": "color" 360 }, 361 "pluginVersion": "10.0.3", 362 "targets": [ 363 { 364 "exemplar": true, 365 "expr": "sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"Kustomization|HelmRelease\"}[5m])) by (kind)\n/\n sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"Kustomization|HelmRelease\"}[5m])) by (kind)", 366 "interval": "", 367 "legendFormat": "{{kind}}", 368 "refId": "A" 369 } 370 ], 371 "title": "Reconciler ops avg. duration", 372 "type": "bargauge" 373 }, 374 { 375 "datasource": "${DS_PROMETHEUS}", 376 "description": "", 377 "fieldConfig": { 378 "defaults": { 379 "mappings": [], 380 "thresholds": { 381 "mode": "absolute", 382 "steps": [ 383 { 384 "color": "green", 385 "value": null 386 }, 387 { 388 "color": "#EAB839", 389 "value": 1 390 }, 391 { 392 "color": "red", 393 "value": 61 394 } 395 ] 396 }, 397 "unit": "s" 398 }, 399 "overrides": [] 400 }, 401 "gridPos": { 402 "h": 4, 403 "w": 12, 404 "x": 12, 405 "y": 5 406 }, 407 "id": 31, 408 "options": { 409 "displayMode": "gradient", 410 "minVizHeight": 10, 411 "minVizWidth": 0, 412 "orientation": "horizontal", 413 "reduceOptions": { 414 "calcs": [ 415 "mean" 416 ], 417 "fields": "", 418 "values": false 419 }, 420 "showUnfilled": true, 421 "text": {}, 422 "valueMode": "color" 423 }, 424 "pluginVersion": "10.0.3", 425 "targets": [ 426 { 427 "exemplar": true, 428 "expr": "sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"}[5m])) by (kind)\n/\n sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"}[5m])) by (kind)", 429 "interval": "", 430 "legendFormat": "{{kind}}", 431 "refId": "A" 432 } 433 ], 434 "title": "Source ops avg. duration", 435 "type": "bargauge" 436 }, 437 { 438 "collapsed": false, 439 "datasource": "${DS_PROMETHEUS}", 440 "gridPos": { 441 "h": 1, 442 "w": 24, 443 "x": 0, 444 "y": 9 445 }, 446 "id": 15, 447 "panels": [], 448 "title": "Status", 449 "type": "row" 450 }, 451 { 452 "datasource": { 453 "type": "prometheus", 454 "uid": "${DS_PROMETHEUS}" 455 }, 456 "description": "", 457 "fieldConfig": { 458 "defaults": { 459 "custom": { 460 "align": "auto", 461 "cellOptions": { 462 "type": "auto" 463 }, 464 "filterable": true, 465 "inspect": false 466 }, 467 "mappings": [ 468 { 469 "options": { 470 "False": { 471 "color": "red", 472 "index": 1, 473 "text": "Not Ready" 474 }, 475 "True": { 476 "color": "blue", 477 "index": 0, 478 "text": "Ready" 479 } 480 }, 481 "type": "value" 482 } 483 ], 484 "thresholds": { 485 "mode": "absolute", 486 "steps": [ 487 { 488 "color": "transparent", 489 "value": null 490 } 491 ] 492 } 493 }, 494 "overrides": [ 495 { 496 "matcher": { 497 "id": "byType", 498 "options": "string" 499 }, 500 "properties": [ 501 { 502 "id": "custom.cellOptions", 503 "value": { 504 "mode": "basic", 505 "type": "color-background" 506 } 507 } 508 ] 509 } 510 ] 511 }, 512 "gridPos": { 513 "h": 22, 514 "w": 12, 515 "x": 0, 516 "y": 10 517 }, 518 "id": 33, 519 "options": { 520 "cellHeight": "sm", 521 "footer": { 522 "countRows": false, 523 "fields": "", 524 "reducer": [ 525 "sum" 526 ], 527 "show": false 528 }, 529 "showHeader": true, 530 "sortBy": [ 531 { 532 "desc": true, 533 "displayName": "Status" 534 } 535 ] 536 }, 537 "pluginVersion": "10.0.3", 538 "targets": [ 539 { 540 "datasource": { 541 "type": "prometheus", 542 "uid": "prometheus" 543 }, 544 "editorMode": "code", 545 "exemplar": true, 546 "expr": "gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"Kustomization|HelmRelease\"}", 547 "format": "table", 548 "instant": true, 549 "interval": "", 550 "legendFormat": "", 551 "refId": "A" 552 } 553 ], 554 "title": "Cluster reconciliation readiness ", 555 "transformations": [ 556 { 557 "id": "organize", 558 "options": { 559 "excludeByName": { 560 "Time": false, 561 "Value": false, 562 "__name__": false, 563 "app": false, 564 "chart_name": false, 565 "chart_source_name": false, 566 "container": false, 567 "customresource_group": false, 568 "customresource_kind": false, 569 "customresource_version": false, 570 "endpoint": false, 571 "exported_namespace": false, 572 "gotk_type": false, 573 "instance": false, 574 "job": false, 575 "kubernetes_namespace": false, 576 "kubernetes_pod_name": false, 577 "namespace": false, 578 "pod": false, 579 "pod_template_hash": false, 580 "revision": false, 581 "service": false, 582 "source_name": false, 583 "status": false, 584 "suspended": false, 585 "type": false 586 }, 587 "indexByName": { 588 "Time": 0, 589 "Value": 15, 590 "__name__": 1, 591 "container": 2, 592 "customresource_group": 4, 593 "customresource_kind": 5, 594 "customresource_version": 6, 595 "endpoint": 7, 596 "exported_namespace": 3, 597 "instance": 8, 598 "job": 9, 599 "name": 10, 600 "namespace": 11, 601 "pod": 12, 602 "ready": 13, 603 "service": 14 604 }, 605 "renameByName": { 606 "Value": "", 607 "customresource_kind": "Kind", 608 "exported_namespace": "Namespace", 609 "kind": "Kind", 610 "name": "Name", 611 "namespace": "Operator Namespace", 612 "ready": "Status" 613 } 614 } 615 }, 616 { 617 "id": "filterFieldsByName", 618 "options": { 619 "include": { 620 "pattern": "(Namespace|Kind|Name|Status)" 621 } 622 } 623 } 624 ], 625 "type": "table" 626 }, 627 { 628 "datasource": { 629 "type": "prometheus", 630 "uid": "${DS_PROMETHEUS}" 631 }, 632 "description": "", 633 "fieldConfig": { 634 "defaults": { 635 "color": { 636 "mode": "thresholds" 637 }, 638 "custom": { 639 "align": "auto", 640 "cellOptions": { 641 "type": "auto" 642 }, 643 "filterable": true, 644 "inspect": false 645 }, 646 "mappings": [ 647 { 648 "options": { 649 "False": { 650 "color": "red", 651 "index": 1, 652 "text": "Not Ready" 653 }, 654 "True": { 655 "color": "blue", 656 "index": 0, 657 "text": "Ready" 658 } 659 }, 660 "type": "value" 661 } 662 ], 663 "thresholds": { 664 "mode": "absolute", 665 "steps": [ 666 { 667 "color": "transparent", 668 "value": null 669 } 670 ] 671 } 672 }, 673 "overrides": [ 674 { 675 "matcher": { 676 "id": "byType", 677 "options": "string" 678 }, 679 "properties": [ 680 { 681 "id": "custom.cellOptions", 682 "value": { 683 "mode": "basic", 684 "type": "color-background" 685 } 686 } 687 ] 688 }, 689 { 690 "matcher": { 691 "id": "byName", 692 "options": "Status" 693 }, 694 "properties": [ 695 { 696 "id": "noValue", 697 "value": "Ready" 698 }, 699 { 700 "id": "color", 701 "value": { 702 "fixedColor": "blue", 703 "mode": "fixed" 704 } 705 } 706 ] 707 } 708 ] 709 }, 710 "gridPos": { 711 "h": 11, 712 "w": 12, 713 "x": 12, 714 "y": 10 715 }, 716 "id": 34, 717 "options": { 718 "cellHeight": "sm", 719 "footer": { 720 "countRows": false, 721 "fields": "", 722 "reducer": [ 723 "sum" 724 ], 725 "show": false 726 }, 727 "showHeader": true, 728 "sortBy": [ 729 { 730 "desc": true, 731 "displayName": "Status" 732 } 733 ] 734 }, 735 "pluginVersion": "10.0.3", 736 "targets": [ 737 { 738 "datasource": { 739 "type": "prometheus", 740 "uid": "prometheus" 741 }, 742 "editorMode": "code", 743 "exemplar": true, 744 "expr": "gotk_resource_info{exported_namespace=~\"$namespace\", customresource_kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"}", 745 "format": "table", 746 "instant": true, 747 "interval": "", 748 "legendFormat": "", 749 "refId": "A" 750 } 751 ], 752 "title": "Source acquisition readiness ", 753 "transformations": [ 754 { 755 "id": "organize", 756 "options": { 757 "excludeByName": { 758 "Time": false, 759 "Value": false, 760 "__name__": false, 761 "app": false, 762 "bucket_name": false, 763 "container": false, 764 "customresource_group": false, 765 "customresource_kind": false, 766 "customresource_version": false, 767 "endpoint": false, 768 "exported_namespace": false, 769 "gotk_type": false, 770 "instance": false, 771 "job": false, 772 "kubernetes_namespace": false, 773 "kubernetes_pod_name": false, 774 "namespace": false, 775 "pod": false, 776 "pod_template_hash": false, 777 "ready": false, 778 "revision": false, 779 "service": false, 780 "status": false, 781 "suspended": false, 782 "type": false, 783 "url": false 784 }, 785 "indexByName": { 786 "Time": 0, 787 "Value": 15, 788 "__name__": 1, 789 "container": 2, 790 "customresource_group": 5, 791 "customresource_kind": 6, 792 "customresource_version": 7, 793 "endpoint": 8, 794 "exported_namespace": 4, 795 "instance": 9, 796 "job": 10, 797 "name": 11, 798 "namespace": 3, 799 "pod": 12, 800 "ready": 13, 801 "service": 14 802 }, 803 "renameByName": { 804 "Value": "", 805 "customresource_kind": "Kind", 806 "exported_namespace": "Namespace", 807 "kind": "Kind", 808 "name": "Name", 809 "namespace": "Operator Namespace", 810 "ready": "Status" 811 } 812 } 813 }, 814 { 815 "id": "filterFieldsByName", 816 "options": { 817 "include": { 818 "pattern": "(Namespace|Kind|Name|Status)" 819 } 820 } 821 } 822 ], 823 "type": "table" 824 }, 825 { 826 "datasource": { 827 "type": "prometheus", 828 "uid": "${DS_PROMETHEUS}" 829 }, 830 "description": "", 831 "fieldConfig": { 832 "defaults": { 833 "color": { 834 "mode": "thresholds" 835 }, 836 "custom": { 837 "align": "auto", 838 "cellOptions": { 839 "type": "auto" 840 }, 841 "filterable": true, 842 "inspect": false 843 }, 844 "mappings": [], 845 "thresholds": { 846 "mode": "absolute", 847 "steps": [ 848 { 849 "color": "transparent", 850 "value": null 851 } 852 ] 853 } 854 }, 855 "overrides": [ 856 { 857 "matcher": { 858 "id": "byType", 859 "options": "string" 860 }, 861 "properties": [ 862 { 863 "id": "custom.cellOptions", 864 "value": { 865 "mode": "basic", 866 "type": "color-background" 867 } 868 } 869 ] 870 } 871 ] 872 }, 873 "gridPos": { 874 "h": 11, 875 "w": 12, 876 "x": 12, 877 "y": 21 878 }, 879 "id": 36, 880 "options": { 881 "cellHeight": "sm", 882 "footer": { 883 "countRows": false, 884 "fields": "", 885 "reducer": [ 886 "sum" 887 ], 888 "show": false 889 }, 890 "showHeader": true, 891 "sortBy": [ 892 { 893 "desc": true, 894 "displayName": "Namespace" 895 } 896 ] 897 }, 898 "pluginVersion": "10.1.0", 899 "targets": [ 900 { 901 "datasource": { 902 "type": "prometheus", 903 "uid": "prometheus" 904 }, 905 "editorMode": "code", 906 "exemplar": true, 907 "expr": "gotk_resource_info{exported_namespace=~\"$namespace\", suspended=\"true\"}", 908 "format": "table", 909 "instant": true, 910 "interval": "", 911 "legendFormat": "", 912 "refId": "A" 913 } 914 ], 915 "title": "Suspended Objects", 916 "transformations": [ 917 { 918 "id": "organize", 919 "options": { 920 "excludeByName": { 921 "Time": false, 922 "Value": false, 923 "__name__": false, 924 "app": false, 925 "bucket_name": false, 926 "container": false, 927 "customresource_group": false, 928 "customresource_kind": false, 929 "customresource_version": false, 930 "endpoint": false, 931 "exported_namespace": false, 932 "gotk_type": false, 933 "instance": false, 934 "job": false, 935 "kubernetes_namespace": false, 936 "kubernetes_pod_name": false, 937 "namespace": false, 938 "pod": false, 939 "pod_template_hash": false, 940 "ready": false, 941 "revision": false, 942 "service": false, 943 "source_name": false, 944 "status": false, 945 "suspended": false, 946 "type": false, 947 "url": false 948 }, 949 "indexByName": { 950 "Time": 0, 951 "Value": 15, 952 "__name__": 1, 953 "container": 2, 954 "customresource_group": 5, 955 "customresource_kind": 6, 956 "customresource_version": 7, 957 "endpoint": 8, 958 "exported_namespace": 4, 959 "instance": 9, 960 "job": 10, 961 "name": 11, 962 "namespace": 3, 963 "pod": 12, 964 "ready": 13, 965 "service": 14 966 }, 967 "renameByName": { 968 "customresource_kind": "Kind", 969 "exported_namespace": "Namespace", 970 "name": "Name" 971 } 972 } 973 }, 974 { 975 "id": "filterFieldsByName", 976 "options": { 977 "include": { 978 "pattern": "(Namespace|Name|Kind)" 979 } 980 } 981 } 982 ], 983 "type": "table" 984 }, 985 { 986 "collapsed": false, 987 "datasource": "${DS_PROMETHEUS}", 988 "gridPos": { 989 "h": 1, 990 "w": 24, 991 "x": 0, 992 "y": 32 993 }, 994 "id": 17, 995 "panels": [], 996 "title": "Timing", 997 "type": "row" 998 }, 999 { 1000 "datasource": "${DS_PROMETHEUS}", 1001 "description": "", 1002 "fieldConfig": { 1003 "defaults": { 1004 "color": { 1005 "mode": "palette-classic" 1006 }, 1007 "custom": { 1008 "axisCenteredZero": false, 1009 "axisColorMode": "text", 1010 "axisLabel": "", 1011 "axisPlacement": "auto", 1012 "barAlignment": 0, 1013 "drawStyle": "line", 1014 "fillOpacity": 10, 1015 "gradientMode": "none", 1016 "hideFrom": { 1017 "legend": false, 1018 "tooltip": false, 1019 "viz": false 1020 }, 1021 "lineInterpolation": "linear", 1022 "lineWidth": 1, 1023 "pointSize": 5, 1024 "scaleDistribution": { 1025 "type": "linear" 1026 }, 1027 "showPoints": "never", 1028 "spanNulls": false, 1029 "stacking": { 1030 "group": "A", 1031 "mode": "none" 1032 }, 1033 "thresholdsStyle": { 1034 "mode": "off" 1035 } 1036 }, 1037 "mappings": [], 1038 "thresholds": { 1039 "mode": "absolute", 1040 "steps": [ 1041 { 1042 "color": "green", 1043 "value": null 1044 }, 1045 { 1046 "color": "red", 1047 "value": 80 1048 } 1049 ] 1050 }, 1051 "unit": "s" 1052 }, 1053 "overrides": [ 1054 { 1055 "matcher": { 1056 "id": "byValue", 1057 "options": { 1058 "op": "gte", 1059 "reducer": "allIsZero", 1060 "value": 0 1061 } 1062 }, 1063 "properties": [ 1064 { 1065 "id": "custom.hideFrom", 1066 "value": { 1067 "legend": true, 1068 "tooltip": true, 1069 "viz": false 1070 } 1071 } 1072 ] 1073 }, 1074 { 1075 "matcher": { 1076 "id": "byValue", 1077 "options": { 1078 "op": "gte", 1079 "reducer": "allIsNull", 1080 "value": 0 1081 } 1082 }, 1083 "properties": [ 1084 { 1085 "id": "custom.hideFrom", 1086 "value": { 1087 "legend": true, 1088 "tooltip": true, 1089 "viz": false 1090 } 1091 } 1092 ] 1093 } 1094 ] 1095 }, 1096 "gridPos": { 1097 "h": 8, 1098 "w": 24, 1099 "x": 0, 1100 "y": 33 1101 }, 1102 "id": 27, 1103 "options": { 1104 "legend": { 1105 "calcs": [ 1106 "mean" 1107 ], 1108 "displayMode": "table", 1109 "placement": "right", 1110 "showLegend": true 1111 }, 1112 "tooltip": { 1113 "mode": "multi", 1114 "sort": "none" 1115 } 1116 }, 1117 "pluginVersion": "10.0.3", 1118 "targets": [ 1119 { 1120 "exemplar": true, 1121 "expr": "sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"Kustomization|HelmRelease\"}[5m])) by (kind, name)\n/\n sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"Kustomization|HelmRelease\"}[5m])) by (kind, name)", 1122 "hide": false, 1123 "interval": "", 1124 "legendFormat": "{{kind}}/{{name}}", 1125 "refId": "B" 1126 } 1127 ], 1128 "title": "Cluster reconciliation duration", 1129 "type": "timeseries" 1130 }, 1131 { 1132 "datasource": "${DS_PROMETHEUS}", 1133 "description": "", 1134 "fieldConfig": { 1135 "defaults": { 1136 "color": { 1137 "mode": "palette-classic" 1138 }, 1139 "custom": { 1140 "axisCenteredZero": false, 1141 "axisColorMode": "text", 1142 "axisLabel": "", 1143 "axisPlacement": "auto", 1144 "barAlignment": 0, 1145 "drawStyle": "line", 1146 "fillOpacity": 10, 1147 "gradientMode": "none", 1148 "hideFrom": { 1149 "legend": false, 1150 "tooltip": false, 1151 "viz": false 1152 }, 1153 "lineInterpolation": "linear", 1154 "lineWidth": 1, 1155 "pointSize": 5, 1156 "scaleDistribution": { 1157 "type": "linear" 1158 }, 1159 "showPoints": "never", 1160 "spanNulls": false, 1161 "stacking": { 1162 "group": "A", 1163 "mode": "none" 1164 }, 1165 "thresholdsStyle": { 1166 "mode": "off" 1167 } 1168 }, 1169 "mappings": [], 1170 "thresholds": { 1171 "mode": "absolute", 1172 "steps": [ 1173 { 1174 "color": "green", 1175 "value": null 1176 }, 1177 { 1178 "color": "red", 1179 "value": 80 1180 } 1181 ] 1182 }, 1183 "unit": "s" 1184 }, 1185 "overrides": [ 1186 { 1187 "matcher": { 1188 "id": "byValue", 1189 "options": { 1190 "op": "gte", 1191 "reducer": "allIsZero", 1192 "value": 0 1193 } 1194 }, 1195 "properties": [ 1196 { 1197 "id": "custom.hideFrom", 1198 "value": { 1199 "legend": true, 1200 "tooltip": true, 1201 "viz": false 1202 } 1203 } 1204 ] 1205 }, 1206 { 1207 "matcher": { 1208 "id": "byValue", 1209 "options": { 1210 "op": "gte", 1211 "reducer": "allIsNull", 1212 "value": 0 1213 } 1214 }, 1215 "properties": [ 1216 { 1217 "id": "custom.hideFrom", 1218 "value": { 1219 "legend": true, 1220 "tooltip": true, 1221 "viz": false 1222 } 1223 } 1224 ] 1225 } 1226 ] 1227 }, 1228 "gridPos": { 1229 "h": 8, 1230 "w": 24, 1231 "x": 0, 1232 "y": 41 1233 }, 1234 "id": 35, 1235 "options": { 1236 "legend": { 1237 "calcs": [ 1238 "mean" 1239 ], 1240 "displayMode": "table", 1241 "placement": "right", 1242 "showLegend": true 1243 }, 1244 "tooltip": { 1245 "mode": "multi", 1246 "sort": "none" 1247 } 1248 }, 1249 "pluginVersion": "10.0.3", 1250 "targets": [ 1251 { 1252 "exemplar": true, 1253 "expr": "sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"}[5m])) by (kind, name)\n/\n sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket|OCIRepository\"}[5m])) by (kind, name)", 1254 "hide": false, 1255 "interval": "", 1256 "legendFormat": "{{kind}}/{{name}}", 1257 "refId": "B" 1258 } 1259 ], 1260 "title": "Source acquisition duration", 1261 "type": "timeseries" 1262 } 1263 ], 1264 "refresh": "30s", 1265 "schemaVersion": 38, 1266 "style": "light", 1267 "tags": [ 1268 "flux" 1269 ], 1270 "templating": { 1271 "list": [ 1272 { 1273 "allValue": "", 1274 "current": { 1275 "selected": true, 1276 "text": [ 1277 "All" 1278 ], 1279 "value": [ 1280 "$__all" 1281 ] 1282 }, 1283 "datasource": { 1284 "type": "prometheus", 1285 "uid": "$DS_PROMETHEUS" 1286 }, 1287 "definition": "label_values(gotk_reconcile_condition, namespace)", 1288 "hide": 0, 1289 "includeAll": true, 1290 "multi": true, 1291 "name": "operator_namespace", 1292 "options": [], 1293 "query": { 1294 "query": "label_values(gotk_reconcile_condition, namespace)", 1295 "refId": "StandardVariableQuery" 1296 }, 1297 "refresh": 2, 1298 "regex": "", 1299 "skipUrlSync": false, 1300 "sort": 5, 1301 "tagValuesQuery": "", 1302 "tags": [], 1303 "tagsQuery": "", 1304 "type": "query", 1305 "useTags": false 1306 }, 1307 { 1308 "current": { 1309 "selected": true, 1310 "text": [ 1311 "All" 1312 ], 1313 "value": [ 1314 "$__all" 1315 ] 1316 }, 1317 "datasource": { 1318 "type": "prometheus", 1319 "uid": "$DS_PROMETHEUS" 1320 }, 1321 "definition": "label_values(gotk_resource_info,exported_namespace)", 1322 "hide": 0, 1323 "includeAll": true, 1324 "multi": true, 1325 "name": "namespace", 1326 "options": [], 1327 "query": { 1328 "query": "label_values(gotk_resource_info,exported_namespace)", 1329 "refId": "PrometheusVariableQueryEditor-VariableQuery" 1330 }, 1331 "refresh": 2, 1332 "regex": "", 1333 "skipUrlSync": false, 1334 "sort": 0, 1335 "tagValuesQuery": "", 1336 "tags": [], 1337 "tagsQuery": "", 1338 "type": "query", 1339 "useTags": false 1340 }, 1341 { 1342 "current": { 1343 "selected": false, 1344 "text": "Prometheus", 1345 "value": "Prometheus" 1346 }, 1347 "hide": 0, 1348 "includeAll": false, 1349 "label": "Datasource", 1350 "multi": false, 1351 "name": "DS_PROMETHEUS", 1352 "options": [], 1353 "query": "prometheus", 1354 "refresh": 1, 1355 "regex": "", 1356 "skipUrlSync": false, 1357 "type": "datasource" 1358 } 1359 ] 1360 }, 1361 "time": { 1362 "from": "now-15m", 1363 "to": "now" 1364 }, 1365 "timepicker": { 1366 "refresh_intervals": [ 1367 "10s", 1368 "30s", 1369 "1m", 1370 "5m", 1371 "15m", 1372 "30m", 1373 "1h", 1374 "2h", 1375 "1d" 1376 ] 1377 }, 1378 "timezone": "", 1379 "title": "Flux Cluster Stats", 1380 "uid": "flux-cluster", 1381 "version": 4, 1382 "weekStart": "" 1383 }