forked from ManageIQ/manageiq
-
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.
Merge pull request ManageIQ#19182 from martinpovolny/vestival_reports
V. Estival's reports and dashboard.
- Loading branch information
Showing
3 changed files
with
129 additions
and
0 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
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
23
product/dashboard/widgets/cpu_right_sizing_recommendations.yaml
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,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 |
95 changes: 95 additions & 0 deletions
95
...uct/reports/200_Optimization - Virtual Machines/001_CPU Right Sizing Recommendations.yaml
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,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 |