Skip to content

Commit

Permalink
Merge pull request #558 from mgirgisf/mgirgis-network-dashboard
Browse files Browse the repository at this point in the history
 Add VM Network Traffic Dashboard
  • Loading branch information
mgirgisf authored Dec 19, 2024
2 parents 47f2bd8 + 28c1b40 commit 3a0436c
Show file tree
Hide file tree
Showing 5 changed files with 1,196 additions and 4 deletions.
9 changes: 5 additions & 4 deletions controllers/metricstorage_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,10 +773,11 @@ func (r *MetricStorageReconciler) createDashboardObjects(ctx context.Context, in
// NOTE: Dashboards installed without the custom datasource will default to the openshift-monitoring prometheus causing unexpected results
if dataSourceSuccess {
dashboardCMs := map[string]*corev1.ConfigMap{
"grafana-dashboard-openstack-cloud": dashboards.OpenstackCloud(datasourceName),
"grafana-dashboard-openstack-node": dashboards.OpenstackNode(datasourceName),
"grafana-dashboard-openstack-vm": dashboards.OpenstackVM(datasourceName),
"grafana-dashboard-openstack-rabbitmq": dashboards.OpenstackRabbitmq(datasourceName),
"grafana-dashboard-openstack-cloud": dashboards.OpenstackCloud(datasourceName),
"grafana-dashboard-openstack-node": dashboards.OpenstackNode(datasourceName),
"grafana-dashboard-openstack-vm": dashboards.OpenstackVM(datasourceName),
"grafana-dashboard-openstack-rabbitmq": dashboards.OpenstackRabbitmq(datasourceName),
"grafana-dashboard-openstack-network-traffic": dashboards.OpenstackNetworkTraffic(datasourceName),
}

// atleast one nodeset must have "telemetry-power-monitoring" service enabled for kepler and ipmi dashboard to be created
Expand Down
Loading

0 comments on commit 3a0436c

Please sign in to comment.