-
Notifications
You must be signed in to change notification settings - Fork 897
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 #13055 from nimrodshn/Reports_20161014_095631
Adding new report and widgets
- Loading branch information
Showing
16 changed files
with
318 additions
and
3 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
product/dashboard/widgets/chart_number_of_nodes_per_cpu_cores.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,17 @@ | ||
description: Number of Nodes per CPU Cores Chart | ||
title: Number of Nodes per CPU Cores Chart | ||
content_type: chart | ||
options: {} | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Number of Nodes per CPU Cores | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,17 @@ | ||
description: Pods per Ready Status Chart | ||
title: Pods per Ready Status Chart | ||
content_type: chart | ||
options: | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Pods per Ready Status | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: false |
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,22 @@ | ||
description: Nodes by Capacity | ||
title: Nodes by Capacity | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- computer_system.hardware.cpu_total_cores | ||
- computer_system.hardware.memory_mb | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Nodes By Capacity | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Nodes By CPU Usage | ||
title: Nodes By CPU Usage | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- max_cpu_usage_rate_average_avg_over_time_period | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Nodes By CPU Usage | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Nodes By Memory Usage | ||
title: Nodes By Memory Usage | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- max_mem_usage_absolute_average_avg_over_time_period | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Nodes By Memory Usage | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Pods per Ready Status | ||
title: Pods per Ready Status | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- ready_condition_status | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Pods per Ready Status | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Projects By CPU Usage | ||
title: Projects By CPU Usage | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- max_cpu_usage_rate_average_avg_over_time_period | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Projects By CPU Usage | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Projects By Memory Usage | ||
title: Projects By Memory Usage | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- max_mem_usage_absolute_average_avg_over_time_period | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Projects By Memory Usage | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
21 changes: 21 additions & 0 deletions
21
product/dashboard/widgets/projects_by_number_of_containers.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,21 @@ | ||
description: Projects by Number of Containers | ||
title: Projects by Number of Containers | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- containers_count | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Projects by Number of Containers | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,21 @@ | ||
description: Projects by Number of Pods | ||
title: Projects by Number of Pods | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- groups_count | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_name: Projects by Number of Pods | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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,22 @@ | ||
description: Recently Discovered Pods | ||
title: Recently Discovered Pods | ||
content_type: report | ||
options: | ||
:row_count: 10 | ||
:col_order: | ||
- name | ||
- ready_condition_status | ||
- ems_created_on | ||
visibility: | ||
:roles: | ||
- _ALL_ | ||
user_id: | ||
resource_id: 198 | ||
resource_type: MiqReport | ||
miq_schedule_options: | ||
:run_at: | ||
:interval: | ||
:value: "1" | ||
:unit: daily | ||
enabled: true | ||
read_only: true |
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
44 changes: 44 additions & 0 deletions
44
...ports/170_Configuration Management - Containers/120_Projects by Number of Containers.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,44 @@ | ||
--- | ||
title: Projects by Number of Containers | ||
rpt_group: Custom | ||
rpt_type: Custom | ||
priority: | ||
db: ContainerProject | ||
cols: | ||
- name | ||
- containers_count | ||
include: {} | ||
col_order: | ||
- name | ||
- containers_count | ||
headers: | ||
- Project Name | ||
- Containers Count | ||
conditions: | ||
order: Descending | ||
sortby: | ||
- containers_count | ||
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: {} | ||
rpt_options: | ||
:pdf: | ||
:page_size: us-letter | ||
:queue_timeout: | ||
menu_name: Projects by Number of Containers |
46 changes: 46 additions & 0 deletions
46
product/reports/170_Configuration Management - Containers/130_Pods per Ready Status.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,46 @@ | ||
--- | ||
title: Pods per Ready Status | ||
rpt_group: Configuration Management - Containers | ||
rpt_type: Default | ||
priority: 60 | ||
db: ContainerGroup | ||
cols: | ||
- name | ||
- ready_condition_status | ||
include: {} | ||
col_order: | ||
- name | ||
- ready_condition_status | ||
headers: | ||
- "# Pods per Ready Status" | ||
- Ready Condition Status | ||
conditions: | ||
order: Ascending | ||
sortby: | ||
- ready_condition_status | ||
group: | ||
graph: | ||
:type: PieThreed | ||
:count: 10 | ||
:other: true | ||
dims: 1 | ||
filename: 170_Configuration Management - Containers/060_Container Groups per Ready Status.yaml | ||
categories: [] | ||
timeline: | ||
template_type: report | ||
where_clause: | ||
db_options: {} | ||
generate_cols: | ||
generate_rows: | ||
col_formats: | ||
- | ||
- | ||
tz: | ||
time_profile_id: | ||
display_filter: | ||
col_options: {} | ||
rpt_options: | ||
:pdf: | ||
:page_size: us-letter | ||
:queue_timeout: | ||
menu_name: Pods per Ready Status |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
describe MiqReport do | ||
context "Seeding" do | ||
include_examples(".seed called multiple times", 141) | ||
include_examples(".seed called multiple times", 142) | ||
end | ||
end |
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