-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(manifests): update plugins to use builtins
- Loading branch information
1 parent
b80ab76
commit ae53a1c
Showing
21 changed files
with
212 additions
and
74 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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
manifests/plugins/csv-lookup/tdp-finder/failure-missing-input-param.yml
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 @@ | ||
name: tdp-finder | ||
description: failure with `inputs` missing `physical-processor` param | ||
tags: | ||
initialize: | ||
# outputs: ['yaml'] | ||
plugins: | ||
tdp-finder: | ||
method: CSVLookup | ||
path: "builtin" | ||
global-config: | ||
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/tdp-data-1.csv | ||
query: | ||
name: physical-processor | ||
output: "tdp" | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- tdp-finder | ||
config: | ||
inputs: | ||
- timestamp: 2023-07-06T00:00 | ||
duration: 300 |
24 changes: 24 additions & 0 deletions
24
manifests/plugins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yml
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,24 @@ | ||
name: tdp-finder | ||
description: successful path | ||
tags: | ||
initialize: | ||
# outputs: ['yaml'] | ||
plugins: | ||
tdp-finder: | ||
method: CSVLookup | ||
path: "builtin" | ||
global-config: | ||
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/tdp-data-1.csv | ||
query: | ||
name: physical-processor | ||
output: "tdp" | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- tdp-finder | ||
config: | ||
inputs: | ||
- timestamp: 2023-07-06T00:00 | ||
duration: 300 | ||
physical-processor: AMD 302 |
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,24 @@ | ||
name: tdp-finder | ||
description: successful path | ||
tags: | ||
initialize: | ||
# outputs: ['yaml'] | ||
plugins: | ||
tdp-finder: | ||
method: CSVLookup | ||
path: "builtin" | ||
global-config: | ||
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/tdp-data-1.csv | ||
query: | ||
name: physical-processor | ||
output: "tdp" | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- tdp-finder | ||
config: | ||
inputs: | ||
- timestamp: 2023-07-06T00:00 | ||
duration: 300 | ||
physical-processor: AMD 3020e |
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: exponent demo | ||
description: | ||
tags: | ||
initialize: | ||
# outputs: | ||
# - yaml | ||
plugins: | ||
exponent: | ||
method: Exponent | ||
path: 'builtin' | ||
global-config: | ||
input-parameter: 'cpu/energy' | ||
exponent: 2 | ||
output-parameter: 'energy' | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- exponent | ||
config: | ||
exponent: | ||
inputs: | ||
- timestamp: 2023-08-06T00:00 | ||
duration: 3600 | ||
cpu/energy: 0.001 | ||
network/energy: 0.001 |
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,24 @@ | ||
name: interpolation-demo | ||
description: simple demo of interpolation plugin | ||
tags: | ||
initialize: | ||
plugins: | ||
interpolation: | ||
method: Interpolation | ||
path: "builtin" | ||
global-config: | ||
method: linear | ||
x: [0, 10, 50, 100] | ||
y: [0.12, 0.32, 0.75, 1.02] | ||
input-parameter: "cpu/utilization" | ||
output-parameter: "result" | ||
|
||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- interpolation | ||
inputs: | ||
- timestamp: 2023-07-06T00:00 | ||
duration: 3600 | ||
cpu/utilization: 45 |
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,25 @@ | ||
name: subtract demo | ||
description: | ||
tags: | ||
initialize: | ||
outputs: | ||
- yaml | ||
plugins: | ||
subtract: | ||
method: Subtract | ||
path: 'builtin' | ||
global-config: | ||
input-parameters: ['cpu/energy', 'network/energy'] | ||
output-parameter: 'energy/diff' | ||
tree: | ||
children: | ||
child: | ||
pipeline: | ||
- subtract | ||
config: | ||
subtract: | ||
inputs: | ||
- timestamp: 2023-08-06T00:00 | ||
duration: 3600 | ||
cpu/energy: 0.003 | ||
network/energy: 0.001 |
18 changes: 0 additions & 18 deletions
18
manifests/plugins/tdp-finder/failure-missing-input-param.yml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
manifests/plugins/tdp-finder/failure-unsupported-physical-processor.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.