-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use release name for label Signed-off-by: Bruno Bressi <[email protected]> * chore: bumped to latest prom crds * chore: removed uneeded instruction in make chart The dependencies are already updated, no need to run the command again. * fix: removed pinned images The pinning of the images practically blocked the update of most components. * chore: removed unused value Signed-off-by: Bruno Bressi <[email protected]> * feat: added rancher-monitoring RBAC & smon This commit adds the necessary templates to be able to parse the rancher deployments metrics. The resources were copied from the official rancher-monitoring chart. The default behavior should be not to activate this monitoring, because the chart is typically deployed in downstream clusters, which don't have any rancher deployments. * feat: added fleet grafana dashboards The dashboards and the "exporter" were copied from the official rancher-monitoring chart. * fix: added missing release label Signed-off-by: Bruno Bressi <[email protected]> * chore: rc9 Signed-off-by: Bruno Bressi <[email protected]> * chore: rc0 for 1.0.0 Signed-off-by: Bruno Bressi <[email protected]> * chore: rc1 for 1.0.0 Signed-off-by: Bruno Bressi <[email protected]> --------- Signed-off-by: Bruno Bressi <[email protected]>
- Loading branch information
Showing
11 changed files
with
2,267 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
{ | ||
"description": "Bundle", | ||
"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_bundle_ready{exported_namespace=\"$namespace\",name=~\"$name\"}) / sum(fleet_bundle_desired_ready{exported_namespace=\"$namespace\",name=~\"$name\"})" | ||
} | ||
], | ||
"title": "Ready Bundles", | ||
"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_bundle_desired_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Desired Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_not_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Not Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_out_of_sync{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Out of Sync" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_err_applied{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Err Applied" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_modified{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Modified" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_pending{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Pending" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_wait_applied{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Wait Applied" | ||
} | ||
], | ||
"title": "Bundles", | ||
"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_bundle_desired_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Desired Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_not_ready{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Not Ready" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_out_of_sync{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Out of Sync" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_err_applied{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Err Applied" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_modified{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Modified" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_pending{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Pending" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"expr": "sum(fleet_bundle_wait_applied{exported_namespace=\"$namespace\",name=~\"$name\"})", | ||
"legendFormat": "Wait Applied" | ||
} | ||
], | ||
"title": "Bundles", | ||
"type": "timeseries" | ||
} | ||
], | ||
"schemaVersion": 39, | ||
"templating": { | ||
"list": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"name": "namespace", | ||
"query": "label_values(fleet_bundle_desired_ready, exported_namespace)", | ||
"refresh": 2, | ||
"type": "query" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"includeAll": true, | ||
"name": "name", | ||
"query": "label_values(fleet_bundle_desired_ready{exported_namespace=~\"$namespace\"}, name)", | ||
"refresh": 2, | ||
"type": "query" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-1h", | ||
"to": "now" | ||
}, | ||
"timezone": "utc", | ||
"title": "Fleet / Bundle", | ||
"uid": "fleet-bundle" | ||
} |
Oops, something went wrong.