-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
1,243 additions
and
246 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
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 |
---|---|---|
|
@@ -7,19 +7,36 @@ initialize: | |
path: builtin | ||
method: MockObservations | ||
global-config: | ||
timestamp-from: 2023-07-06T00:00 | ||
timestamp-to: 2023-07-06T00:10 | ||
timestamp-from: 2023-12-12T00:00 | ||
timestamp-to: 2023-12-12T00:10 | ||
duration: 60 | ||
components: | ||
- cloud/instance-type: A1 | ||
generators: | ||
common: | ||
cloud/region: uk-west | ||
common-key: common-val | ||
randint: | ||
cpu/utilization: | ||
min: 1 | ||
max: 99 | ||
parameter-metadata: | ||
inputs: | ||
timestamp: | ||
description: refers to the time of occurrence of the input | ||
unit: RFC3339 | ||
aggregation-method: none | ||
duration: | ||
description: refers to the duration of the input | ||
unit: seconds | ||
aggregation-method: sum | ||
cloud/instance-type: | ||
description: type of Cloud Instance name used in the cloud provider APIs | ||
unit: none | ||
aggregation-method: none | ||
cloud/region: | ||
description: region cloud instance | ||
unit: none | ||
aggregation-method: none | ||
interpolate: | ||
path: builtin | ||
method: Interpolation | ||
|
@@ -37,6 +54,12 @@ initialize: | |
- 1.02 | ||
input-parameter: cpu/utilization | ||
output-parameter: cpu-factor | ||
parameter-metadata: | ||
inputs: | ||
cpu/utilization: | ||
description: refers to CPU utilization. | ||
unit: percentage | ||
aggregation-method: avg | ||
cpu-factor-to-wattage: | ||
path: builtin | ||
method: Multiply | ||
|
@@ -45,6 +68,12 @@ initialize: | |
- cpu-factor | ||
- cpu/thermal-design-power | ||
output-parameter: cpu-wattage | ||
parameter-metadata: | ||
inputs: | ||
cpu/thermal-design-power: | ||
description: thermal design power for a processor | ||
unit: kwh | ||
aggregation-method: avg | ||
wattage-times-duration: | ||
path: builtin | ||
method: Multiply | ||
|
@@ -67,6 +96,16 @@ initialize: | |
numerator: vcpus-total | ||
denominator: vcpus-allocated | ||
output: vcpu-ratio | ||
parameter-metadata: | ||
inputs: | ||
vcpus-total: | ||
description: total number of vcpus available on a particular resource | ||
unit: count | ||
aggregation-method: none | ||
vcpus-allocated: | ||
description: number of vcpus allocated to particular resource | ||
unit: count | ||
aggregation-method: none | ||
correct-cpu-energy-for-vcpu-ratio: | ||
path: builtin | ||
method: Divide | ||
|
@@ -100,7 +139,6 @@ execution: | |
- "@commitlint/[email protected]" | ||
- "@commitlint/[email protected]" | ||
- "@grnsft/[email protected]" | ||
|
||
- "@jest/[email protected]" | ||
- "@types/[email protected]" | ||
- "@types/[email protected]" | ||
|
@@ -131,6 +169,7 @@ tree: | |
children: | ||
child-1: | ||
pipeline: | ||
- mock-observations | ||
- interpolate | ||
- cpu-factor-to-wattage | ||
- wattage-times-duration | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.