Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V. Estival's reports and dashboard. #19182

Merged
merged 1 commit into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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