mirror of https://github.com/fluxcd/flux2.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			967 lines
		
	
	
		
			23 KiB
		
	
	
	
		
			JSON
		
	
			
		
		
	
	
			967 lines
		
	
	
		
			23 KiB
		
	
	
	
		
			JSON
		
	
| {
 | |
|   "annotations": {
 | |
|     "list": [
 | |
|       {
 | |
|         "builtIn": 1,
 | |
|         "datasource": "-- Grafana --",
 | |
|         "enable": true,
 | |
|         "hide": true,
 | |
|         "iconColor": "rgba(0, 211, 255, 1)",
 | |
|         "name": "Annotations & Alerts",
 | |
|         "type": "dashboard"
 | |
|       }
 | |
|     ]
 | |
|   },
 | |
|   "editable": true,
 | |
|   "gnetId": null,
 | |
|   "graphTooltip": 0,
 | |
|   "iteration": 1636369574387,
 | |
|   "links": [],
 | |
|   "panels": [
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "decimals": 0,
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 100
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "short"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 5,
 | |
|         "w": 6,
 | |
|         "x": 0,
 | |
|         "y": 0
 | |
|       },
 | |
|       "id": 24,
 | |
|       "options": {
 | |
|         "colorMode": "value",
 | |
|         "graphMode": "none",
 | |
|         "justifyMode": "auto",
 | |
|         "orientation": "auto",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "last"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "text": {},
 | |
|         "textMode": "value"
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "count(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"True\",kind=~\"Kustomization|HelmRelease\"})\n-\nsum(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"Deleted\",kind=~\"Kustomization|HelmRelease\"})",
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Cluster Reconcilers",
 | |
|       "type": "stat"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "decimals": 0,
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": null
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "short"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 5,
 | |
|         "w": 6,
 | |
|         "x": 6,
 | |
|         "y": 0
 | |
|       },
 | |
|       "id": 28,
 | |
|       "options": {
 | |
|         "colorMode": "value",
 | |
|         "graphMode": "area",
 | |
|         "justifyMode": "auto",
 | |
|         "orientation": "auto",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "last"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "text": {},
 | |
|         "textMode": "value"
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "sum(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"False\",kind=~\"Kustomization|HelmRelease\"})",
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Failing Reconcilers",
 | |
|       "type": "stat"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "decimals": 0,
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 100
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "short"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 5,
 | |
|         "w": 6,
 | |
|         "x": 12,
 | |
|         "y": 0
 | |
|       },
 | |
|       "id": 29,
 | |
|       "options": {
 | |
|         "colorMode": "value",
 | |
|         "graphMode": "none",
 | |
|         "justifyMode": "auto",
 | |
|         "orientation": "auto",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "last"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "text": {},
 | |
|         "textMode": "value"
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "count(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"True\",kind=~\"GitRepository|HelmRepository|Bucket\"})\n-\nsum(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"Deleted\",kind=~\"GitRepository|HelmRepository|Bucket\"})",
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Kubernetes Manifests Sources",
 | |
|       "type": "stat"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "decimals": 0,
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": null
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "short"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 5,
 | |
|         "w": 6,
 | |
|         "x": 18,
 | |
|         "y": 0
 | |
|       },
 | |
|       "id": 30,
 | |
|       "options": {
 | |
|         "colorMode": "value",
 | |
|         "graphMode": "area",
 | |
|         "justifyMode": "auto",
 | |
|         "orientation": "auto",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "last"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "text": {},
 | |
|         "textMode": "value"
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "sum(gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"False\",kind=~\"GitRepository|HelmRepository|Bucket\"})",
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Failing Sources",
 | |
|       "type": "stat"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "green",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "#EAB839",
 | |
|                 "value": 1
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 61
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "s"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 4,
 | |
|         "w": 12,
 | |
|         "x": 0,
 | |
|         "y": 5
 | |
|       },
 | |
|       "id": 8,
 | |
|       "options": {
 | |
|         "displayMode": "gradient",
 | |
|         "orientation": "horizontal",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "mean"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "showUnfilled": true,
 | |
|         "text": {}
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "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)",
 | |
|           "interval": "",
 | |
|           "legendFormat": "{{kind}}",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Reconciler ops avg. duration",
 | |
|       "type": "bargauge"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "mappings": [],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "green",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "#EAB839",
 | |
|                 "value": 1
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 61
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           "unit": "s"
 | |
|         },
 | |
|         "overrides": []
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 4,
 | |
|         "w": 12,
 | |
|         "x": 12,
 | |
|         "y": 5
 | |
|       },
 | |
|       "id": 31,
 | |
|       "options": {
 | |
|         "displayMode": "gradient",
 | |
|         "orientation": "horizontal",
 | |
|         "reduceOptions": {
 | |
|           "calcs": [
 | |
|             "mean"
 | |
|           ],
 | |
|           "fields": "",
 | |
|           "values": false
 | |
|         },
 | |
|         "showUnfilled": true,
 | |
|         "text": {}
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "  sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket\"}[5m])) by (kind)\n/\n  sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket\"}[5m])) by (kind)",
 | |
|           "interval": "",
 | |
|           "legendFormat": "{{kind}}",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Source ops avg. duration",
 | |
|       "type": "bargauge"
 | |
|     },
 | |
|     {
 | |
|       "collapsed": false,
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "gridPos": {
 | |
|         "h": 1,
 | |
|         "w": 24,
 | |
|         "x": 0,
 | |
|         "y": 9
 | |
|       },
 | |
|       "id": 15,
 | |
|       "panels": [],
 | |
|       "title": "Status",
 | |
|       "type": "row"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "custom": {
 | |
|             "align": null,
 | |
|             "filterable": true
 | |
|           },
 | |
|           "mappings": [
 | |
|             {
 | |
|               "from": "",
 | |
|               "id": 1,
 | |
|               "text": "Ready",
 | |
|               "to": "",
 | |
|               "type": 1,
 | |
|               "value": "0"
 | |
|             },
 | |
|             {
 | |
|               "from": "",
 | |
|               "id": 2,
 | |
|               "text": "Not Ready",
 | |
|               "to": "",
 | |
|               "type": 1,
 | |
|               "value": "1"
 | |
|             }
 | |
|           ],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": 0
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 1
 | |
|               }
 | |
|             ]
 | |
|           }
 | |
|         },
 | |
|         "overrides": [
 | |
|           {
 | |
|             "matcher": {
 | |
|               "id": "byName",
 | |
|               "options": "Status"
 | |
|             },
 | |
|             "properties": [
 | |
|               {
 | |
|                 "id": "custom.displayMode",
 | |
|                 "value": "color-background"
 | |
|               }
 | |
|             ]
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 8,
 | |
|         "w": 12,
 | |
|         "x": 0,
 | |
|         "y": 10
 | |
|       },
 | |
|       "id": 33,
 | |
|       "options": {
 | |
|         "showHeader": true
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"False\",kind=~\"Kustomization|HelmRelease\"}",
 | |
|           "format": "table",
 | |
|           "instant": true,
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Cluster reconciliation readiness ",
 | |
|       "transformations": [
 | |
|         {
 | |
|           "id": "organize",
 | |
|           "options": {
 | |
|             "excludeByName": {
 | |
|               "Time": true,
 | |
|               "__name__": true,
 | |
|               "app": true,
 | |
|               "container": true,
 | |
|               "endpoint": true,
 | |
|               "exported_namespace": true,
 | |
|               "instance": true,
 | |
|               "job": true,
 | |
|               "kubernetes_namespace": true,
 | |
|               "kubernetes_pod_name": true,
 | |
|               "pod": true,
 | |
|               "pod_template_hash": true,
 | |
|               "status": true,
 | |
|               "type": true
 | |
|             },
 | |
|             "indexByName": {},
 | |
|             "renameByName": {
 | |
|               "Value": "Status",
 | |
|               "kind": "Kind",
 | |
|               "name": "Name",
 | |
|               "namespace": "Namespace"
 | |
|             }
 | |
|           }
 | |
|         }
 | |
|       ],
 | |
|       "type": "table"
 | |
|     },
 | |
|     {
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {
 | |
|           "custom": {
 | |
|             "align": null,
 | |
|             "filterable": true
 | |
|           },
 | |
|           "mappings": [
 | |
|             {
 | |
|               "from": "",
 | |
|               "id": 1,
 | |
|               "text": "Ready",
 | |
|               "to": "",
 | |
|               "type": 1,
 | |
|               "value": "0"
 | |
|             },
 | |
|             {
 | |
|               "from": "",
 | |
|               "id": 2,
 | |
|               "text": "Not Ready",
 | |
|               "to": "",
 | |
|               "type": 1,
 | |
|               "value": "1"
 | |
|             }
 | |
|           ],
 | |
|           "thresholds": {
 | |
|             "mode": "absolute",
 | |
|             "steps": [
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": null
 | |
|               },
 | |
|               {
 | |
|                 "color": "blue",
 | |
|                 "value": 0
 | |
|               },
 | |
|               {
 | |
|                 "color": "red",
 | |
|                 "value": 1
 | |
|               }
 | |
|             ]
 | |
|           }
 | |
|         },
 | |
|         "overrides": [
 | |
|           {
 | |
|             "matcher": {
 | |
|               "id": "byName",
 | |
|               "options": "Status"
 | |
|             },
 | |
|             "properties": [
 | |
|               {
 | |
|                 "id": "custom.displayMode",
 | |
|                 "value": "color-background"
 | |
|               }
 | |
|             ]
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "gridPos": {
 | |
|         "h": 8,
 | |
|         "w": 12,
 | |
|         "x": 12,
 | |
|         "y": 10
 | |
|       },
 | |
|       "id": 34,
 | |
|       "options": {
 | |
|         "showHeader": true
 | |
|       },
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "gotk_reconcile_condition{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",type=\"Ready\",status=\"False\",kind=~\"GitRepository|HelmRepository|Bucket\"}",
 | |
|           "format": "table",
 | |
|           "instant": true,
 | |
|           "interval": "",
 | |
|           "legendFormat": "",
 | |
|           "refId": "A"
 | |
|         }
 | |
|       ],
 | |
|       "timeFrom": null,
 | |
|       "timeShift": null,
 | |
|       "title": "Source acquisition readiness ",
 | |
|       "transformations": [
 | |
|         {
 | |
|           "id": "organize",
 | |
|           "options": {
 | |
|             "excludeByName": {
 | |
|               "Time": true,
 | |
|               "__name__": true,
 | |
|               "app": true,
 | |
|               "container": true,
 | |
|               "endpoint": true,
 | |
|               "exported_namespace": true,
 | |
|               "instance": true,
 | |
|               "job": true,
 | |
|               "kubernetes_namespace": true,
 | |
|               "kubernetes_pod_name": true,
 | |
|               "pod": true,
 | |
|               "pod_template_hash": true,
 | |
|               "status": true,
 | |
|               "type": true
 | |
|             },
 | |
|             "indexByName": {},
 | |
|             "renameByName": {
 | |
|               "Value": "Status",
 | |
|               "kind": "Kind",
 | |
|               "name": "Name",
 | |
|               "namespace": "Namespace"
 | |
|             }
 | |
|           }
 | |
|         }
 | |
|       ],
 | |
|       "type": "table"
 | |
|     },
 | |
|     {
 | |
|       "collapsed": false,
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "gridPos": {
 | |
|         "h": 1,
 | |
|         "w": 24,
 | |
|         "x": 0,
 | |
|         "y": 18
 | |
|       },
 | |
|       "id": 17,
 | |
|       "panels": [],
 | |
|       "title": "Timing",
 | |
|       "type": "row"
 | |
|     },
 | |
|     {
 | |
|       "aliasColors": {},
 | |
|       "bars": false,
 | |
|       "dashLength": 10,
 | |
|       "dashes": false,
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {},
 | |
|         "overrides": []
 | |
|       },
 | |
|       "fill": 1,
 | |
|       "fillGradient": 0,
 | |
|       "gridPos": {
 | |
|         "h": 8,
 | |
|         "w": 24,
 | |
|         "x": 0,
 | |
|         "y": 19
 | |
|       },
 | |
|       "hiddenSeries": false,
 | |
|       "id": 27,
 | |
|       "legend": {
 | |
|         "alignAsTable": true,
 | |
|         "avg": true,
 | |
|         "current": false,
 | |
|         "hideEmpty": true,
 | |
|         "hideZero": true,
 | |
|         "max": false,
 | |
|         "min": false,
 | |
|         "rightSide": true,
 | |
|         "show": true,
 | |
|         "total": false,
 | |
|         "values": true
 | |
|       },
 | |
|       "lines": true,
 | |
|       "linewidth": 1,
 | |
|       "nullPointMode": "null",
 | |
|       "options": {
 | |
|         "alertThreshold": true
 | |
|       },
 | |
|       "percentage": false,
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "pointradius": 2,
 | |
|       "points": false,
 | |
|       "renderer": "flot",
 | |
|       "seriesOverrides": [],
 | |
|       "spaceLength": 10,
 | |
|       "stack": false,
 | |
|       "steppedLine": false,
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "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)",
 | |
|           "hide": false,
 | |
|           "interval": "",
 | |
|           "legendFormat": "{{kind}}/{{name}}",
 | |
|           "refId": "B"
 | |
|         }
 | |
|       ],
 | |
|       "thresholds": [],
 | |
|       "timeFrom": null,
 | |
|       "timeRegions": [],
 | |
|       "timeShift": null,
 | |
|       "title": "Cluster reconciliation duration",
 | |
|       "tooltip": {
 | |
|         "shared": true,
 | |
|         "sort": 0,
 | |
|         "value_type": "individual"
 | |
|       },
 | |
|       "type": "graph",
 | |
|       "xaxis": {
 | |
|         "buckets": null,
 | |
|         "mode": "time",
 | |
|         "name": null,
 | |
|         "show": true,
 | |
|         "values": []
 | |
|       },
 | |
|       "yaxes": [
 | |
|         {
 | |
|           "format": "s",
 | |
|           "label": null,
 | |
|           "logBase": 1,
 | |
|           "max": null,
 | |
|           "min": null,
 | |
|           "show": true
 | |
|         },
 | |
|         {
 | |
|           "format": "short",
 | |
|           "label": null,
 | |
|           "logBase": 1,
 | |
|           "max": null,
 | |
|           "min": null,
 | |
|           "show": true
 | |
|         }
 | |
|       ],
 | |
|       "yaxis": {
 | |
|         "align": false,
 | |
|         "alignLevel": null
 | |
|       }
 | |
|     },
 | |
|     {
 | |
|       "aliasColors": {},
 | |
|       "bars": false,
 | |
|       "dashLength": 10,
 | |
|       "dashes": false,
 | |
|       "datasource": "${DS_PROMETHEUS}",
 | |
|       "description": "",
 | |
|       "fieldConfig": {
 | |
|         "defaults": {},
 | |
|         "overrides": []
 | |
|       },
 | |
|       "fill": 1,
 | |
|       "fillGradient": 0,
 | |
|       "gridPos": {
 | |
|         "h": 8,
 | |
|         "w": 24,
 | |
|         "x": 0,
 | |
|         "y": 27
 | |
|       },
 | |
|       "hiddenSeries": false,
 | |
|       "id": 35,
 | |
|       "legend": {
 | |
|         "alignAsTable": true,
 | |
|         "avg": true,
 | |
|         "current": false,
 | |
|         "hideEmpty": true,
 | |
|         "hideZero": true,
 | |
|         "max": false,
 | |
|         "min": false,
 | |
|         "rightSide": true,
 | |
|         "show": true,
 | |
|         "total": false,
 | |
|         "values": true
 | |
|       },
 | |
|       "lines": true,
 | |
|       "linewidth": 1,
 | |
|       "nullPointMode": "null",
 | |
|       "options": {
 | |
|         "alertThreshold": true
 | |
|       },
 | |
|       "percentage": false,
 | |
|       "pluginVersion": "7.5.5",
 | |
|       "pointradius": 2,
 | |
|       "points": false,
 | |
|       "renderer": "flot",
 | |
|       "seriesOverrides": [],
 | |
|       "spaceLength": 10,
 | |
|       "stack": false,
 | |
|       "steppedLine": false,
 | |
|       "targets": [
 | |
|         {
 | |
|           "exemplar": true,
 | |
|           "expr": "  sum(rate(gotk_reconcile_duration_seconds_sum{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket\"}[5m])) by (kind, name)\n/\n  sum(rate(gotk_reconcile_duration_seconds_count{namespace=~\"$operator_namespace\",exported_namespace=~\"$namespace\",kind=~\"GitRepository|HelmRepository|Bucket\"}[5m])) by (kind, name)",
 | |
|           "hide": false,
 | |
|           "interval": "",
 | |
|           "legendFormat": "{{kind}}/{{name}}",
 | |
|           "refId": "B"
 | |
|         }
 | |
|       ],
 | |
|       "thresholds": [],
 | |
|       "timeFrom": null,
 | |
|       "timeRegions": [],
 | |
|       "timeShift": null,
 | |
|       "title": "Source acquisition duration",
 | |
|       "tooltip": {
 | |
|         "shared": true,
 | |
|         "sort": 0,
 | |
|         "value_type": "individual"
 | |
|       },
 | |
|       "type": "graph",
 | |
|       "xaxis": {
 | |
|         "buckets": null,
 | |
|         "mode": "time",
 | |
|         "name": null,
 | |
|         "show": true,
 | |
|         "values": []
 | |
|       },
 | |
|       "yaxes": [
 | |
|         {
 | |
|           "format": "s",
 | |
|           "label": null,
 | |
|           "logBase": 1,
 | |
|           "max": null,
 | |
|           "min": null,
 | |
|           "show": true
 | |
|         },
 | |
|         {
 | |
|           "format": "short",
 | |
|           "label": null,
 | |
|           "logBase": 1,
 | |
|           "max": null,
 | |
|           "min": null,
 | |
|           "show": true
 | |
|         }
 | |
|       ],
 | |
|       "yaxis": {
 | |
|         "align": false,
 | |
|         "alignLevel": null
 | |
|       }
 | |
|     }
 | |
|   ],
 | |
|   "refresh": "",
 | |
|   "schemaVersion": 27,
 | |
|   "style": "light",
 | |
|   "tags": [
 | |
|     "flux"
 | |
|   ],
 | |
|   "templating": {
 | |
|     "list": [
 | |
|       {
 | |
|         "current": {
 | |
|           "selected": false,
 | |
|           "text": "Prometheus",
 | |
|           "value": "Prometheus"
 | |
|         },
 | |
|         "description": null,
 | |
|         "error": null,
 | |
|         "hide": 2,
 | |
|         "includeAll": false,
 | |
|         "label": null,
 | |
|         "multi": false,
 | |
|         "name": "DS_PROMETHEUS",
 | |
|         "options": [],
 | |
|         "query": "prometheus",
 | |
|         "refresh": 1,
 | |
|         "regex": "",
 | |
|         "skipUrlSync": false,
 | |
|         "type": "datasource"
 | |
|       },
 | |
|       {
 | |
|         "allValue": "",
 | |
|         "current": {
 | |
|           "selected": true,
 | |
|           "text": [
 | |
|             "All"
 | |
|           ],
 | |
|           "value": [
 | |
|             "$__all"
 | |
|           ]
 | |
|         },
 | |
|         "datasource": "$DS_PROMETHEUS",
 | |
|         "definition": "label_values(gotk_reconcile_condition, namespace)",
 | |
|         "description": null,
 | |
|         "error": null,
 | |
|         "hide": 0,
 | |
|         "includeAll": true,
 | |
|         "label": null,
 | |
|         "multi": true,
 | |
|         "name": "operator_namespace",
 | |
|         "options": [],
 | |
|         "query": {
 | |
|           "query": "label_values(gotk_reconcile_condition, namespace)",
 | |
|           "refId": "StandardVariableQuery"
 | |
|         },
 | |
|         "refresh": 2,
 | |
|         "regex": "",
 | |
|         "skipUrlSync": false,
 | |
|         "sort": 5,
 | |
|         "tagValuesQuery": "",
 | |
|         "tags": [],
 | |
|         "tagsQuery": "",
 | |
|         "type": "query",
 | |
|         "useTags": false
 | |
|       },
 | |
|       {
 | |
|         "allValue": null,
 | |
|         "current": {
 | |
|           "selected": true,
 | |
|           "tags": [],
 | |
|           "text": [
 | |
|             "All"
 | |
|           ],
 | |
|           "value": [
 | |
|             "$__all"
 | |
|           ]
 | |
|         },
 | |
|         "datasource": null,
 | |
|         "definition": "label_values(gotk_reconcile_condition, exported_namespace)",
 | |
|         "description": null,
 | |
|         "error": null,
 | |
|         "hide": 0,
 | |
|         "includeAll": true,
 | |
|         "label": null,
 | |
|         "multi": true,
 | |
|         "name": "namespace",
 | |
|         "options": [],
 | |
|         "query": {
 | |
|           "query": "label_values(gotk_reconcile_condition, exported_namespace)",
 | |
|           "refId": "StandardVariableQuery"
 | |
|         },
 | |
|         "refresh": 2,
 | |
|         "regex": "",
 | |
|         "skipUrlSync": false,
 | |
|         "sort": 0,
 | |
|         "tagValuesQuery": "",
 | |
|         "tags": [],
 | |
|         "tagsQuery": "",
 | |
|         "type": "query",
 | |
|         "useTags": false
 | |
|       }
 | |
|     ]
 | |
|   },
 | |
|   "time": {
 | |
|     "from": "now-15m",
 | |
|     "to": "now"
 | |
|   },
 | |
|   "timepicker": {
 | |
|     "refresh_intervals": [
 | |
|       "10s",
 | |
|       "30s",
 | |
|       "1m",
 | |
|       "5m",
 | |
|       "15m",
 | |
|       "30m",
 | |
|       "1h",
 | |
|       "2h",
 | |
|       "1d"
 | |
|     ]
 | |
|   },
 | |
|   "timezone": "",
 | |
|   "title": "Flux Cluster Stats",
 | |
|   "uid": "flux-cluster",
 | |
|   "version": 1
 | |
| }
 |