Skip to content

Commit

Permalink
Merge pull request ManageIQ#19182 from martinpovolny/vestival_reports
Browse files Browse the repository at this point in the history
V. Estival's reports and dashboard.
  • Loading branch information
kbrock authored Oct 17, 2019
2 parents 3d507fb + f97038e commit 04efa94
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 0 deletions.
11 changes: 11 additions & 0 deletions product/dashboard/dashboards/optimization_savings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Optimization & Savings
set_type: MiqWidgetSet
description: Optimization
owner_type: MiqGroup
read_only: t
owner_description: EvmGroup-administrator
set_data_by_description:
:col1:
- CPU Right Sizing Recommendations
:col2: []
:col3: []
23 changes: 23 additions & 0 deletions product/dashboard/widgets/cpu_right_sizing_recommendations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
description: CPU Right Sizing Recommendations
title: CPU Right Sizing Recommendations
content_type: report
options:
:row_count: 10
:col_order:
- name
- ext_management_system.name
- moderate_vcpus_recommended_change_pct
- cpu_total_cores
visibility:
:roles:
- _ALL_
user_id:
resource_name: CPU Right Sizing Recommendations
resource_type: MiqReport
miq_schedule_options:
:run_at:
:interval:
:value: "1"
:unit: daily
enabled: true
read_only: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: CPU Right Sizing Recommendations
rpt_group: Custom
rpt_type: Custom
priority:
db: Vm
cols:
- name
- aggressive_vcpus_recommended_change_pct
- aggressive_vcpus_recommended_change
- aggressive_recommended_vcpus
- moderate_vcpus_recommended_change_pct
- moderate_vcpus_recommended_change
- moderate_recommended_vcpus
- cpu_total_cores
- num_cpu
include:
ext_management_system:
columns:
- name
col_order:
- name
- ext_management_system.name
- aggressive_vcpus_recommended_change_pct
- aggressive_vcpus_recommended_change
- aggressive_recommended_vcpus
- moderate_vcpus_recommended_change_pct
- moderate_vcpus_recommended_change
- moderate_recommended_vcpus
- cpu_total_cores
- num_cpu
headers:
- Name
- Provider Name
- CPU - Aggressive Savings (%)
- CPU - Aggressive Savings
- 'CPU - Aggressive '
- CPU - Moderate Savings (%)
- CPU - Moderate Savings
- 'CPU - Moderate '
- CPU Cores
- CPU Sockets
conditions: !ruby/object:MiqExpression
exp:
"=":
field: Vm-active
value: 'true'
context_type:
order: Descending
sortby:
- moderate_vcpus_recommended_change_pct
group:
graph:
dims:
filename:
file_mtime:
categories: []
timeline:
template_type: report
where_clause:
db_options: {}
generate_cols:
generate_rows:
col_formats:
-
-
-
-
-
-
-
-
-
-
tz:
time_profile_id:
display_filter:
col_options:
moderate_vcpus_recommended_change_pct:
:style:
- :class: :miq_rpt_yellow_bg
:operator: ">="
:value: '50'
aggressive_vcpus_recommended_change_pct:
:style:
- :class: :miq_rpt_red_bg
:operator: ">="
:value: '75'
rpt_options:
:pdf:
:page_size: US-Letter
:queue_timeout:
menu_name: CPU Right Sizing Recommendations
userid: admin
group_description: EvmGroup-super_administrator

0 comments on commit 04efa94

Please sign in to comment.