{ "description": "BundleDeployment", "graphTooltip": 1, "panels": [ { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { "decimals": 0, "unit": "percentunit" } }, "gridPos": { "h": 5, "w": 7, "x": 0, "y": 0 }, "id": 1, "pluginVersion": "v11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Ready\"}) / sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\"})" } ], "title": "Ready BundleDeployments", "type": "stat" }, { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { "decimals": 0, "unit": null } }, "gridPos": { "h": 5, "w": 17, "x": 7, "y": 0 }, "id": 2, "pluginVersion": "v11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Ready\"})", "legendFormat": "Ready" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"NotReady\"})", "legendFormat": "Not Ready" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"WaitApplied\"})", "legendFormat": "Wait Applied" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"ErrApplied\"})", "legendFormat": "Err Applied" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"OutOfSync\"})", "legendFormat": "OutOfSync" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Pending\"})", "legendFormat": "Pending" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Modified\"})", "legendFormat": "Modified" } ], "title": "BundleDeployments", "type": "stat" }, { "datasource": { "type": "datasource", "uid": "-- Mixed --" }, "fieldConfig": { "defaults": { "decimals": 0, "unit": null } }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }, "id": 3, "pluginVersion": "v11.0.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Ready\"})", "legendFormat": "Ready" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"NotReady\"})", "legendFormat": "Not Ready" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"WaitApplied\"})", "legendFormat": "Wait Applied" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"ErrApplied\"})", "legendFormat": "Err Applied" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"OutOfSync\"})", "legendFormat": "OutOfSync" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Pending\"})", "legendFormat": "Pending" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(fleet_bundledeployment_state{cluster_namespace=~\"$namespace\",state=\"Modified\"})", "legendFormat": "Modified" } ], "title": "BundleDeployments", "type": "timeseries" } ], "schemaVersion": 39, "templating": { "list": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "name": "namespace", "query": "label_values(fleet_bundledeployment_state, cluster_namespace)", "refresh": 2, "type": "query" } ] }, "time": { "from": "now-1h", "to": "now" }, "timezone": "utc", "title": "Fleet / BundleDeployment", "uid": "fleet-bundledeployment" }