@grnsft/if 0.5.0-beta.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/check.js +14 -4
- package/build/config/strings.d.ts +4 -0
- package/build/config/strings.js +7 -3
- package/build/util/debug-logger.js +8 -7
- package/build/util/helpers.d.ts +1 -1
- package/build/util/helpers.js +3 -2
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +27 -0
- package/manifests/{plugins → examples/builtins}/csv-lookup/region-metadata/failure-missing-column.yml +1 -2
- package/manifests/{plugins → examples/builtins}/csv-lookup/region-metadata/failure-missing-output.yml +1 -2
- package/manifests/{plugins → examples/builtins}/csv-lookup/region-metadata/success-renaming.yml +1 -2
- package/manifests/{plugins → examples/builtins}/csv-lookup/region-metadata/success.yml +1 -2
- package/manifests/{plugins → examples/builtins}/exponent/success.yml +1 -2
- package/manifests/{plugins → examples/builtins}/groupby/success.yml +1 -1
- package/manifests/{plugins → examples/builtins}/interpolation/success.yml +0 -1
- package/manifests/{plugins → examples/builtins}/subtract/success.yml +1 -2
- package/manifests/examples/{generics.yml → pipelines/generics.yml} +1 -0
- package/manifests/examples/{instance-metadata.yml → pipelines/instance-metadata.yml} +4 -4
- package/manifests/examples/{pipeline-with-aggregate.yml → pipelines/pipeline-with-aggregate.yml} +1 -1
- package/manifests/outputs/bugs/aggregation-error-wrong-metric.yaml +243 -0
- package/manifests/outputs/bugs/initialize-error-no-config.yaml +78 -0
- package/manifests/outputs/bugs/initialize-error-no-path.yaml +91 -0
- package/manifests/outputs/bugs/initialize-error-no-plugins.yaml +74 -0
- package/manifests/outputs/bugs/input-error-missing-duration.yaml +84 -0
- package/manifests/outputs/bugs/mock-observations-failure-duration-is-zero.yaml +81 -0
- package/manifests/outputs/bugs/pipeline-error-naming-mismatch.yaml +91 -0
- package/manifests/outputs/bugs/pipeline-error-uninitialized-plugin.yaml +92 -0
- package/manifests/outputs/bugs/pipeline-ordering-error.yaml +155 -0
- package/manifests/outputs/bugs/sci-embodied-missing-resources-total.yaml +73 -0
- package/manifests/outputs/divide.yaml +93 -0
- package/manifests/outputs/features/aggregate-failure-invalid-metrics.yaml +101 -0
- package/manifests/outputs/features/aggregate-failure-missing-metric-in-inputs.yaml +100 -0
- package/manifests/outputs/features/aggregate-horizontal.yaml +128 -0
- package/manifests/outputs/features/aggregate-vertical.yaml +151 -0
- package/manifests/outputs/features/aggregate.yaml +155 -0
- package/manifests/outputs/pipelines/cloud-metadata-divide.yaml +95 -0
- package/manifests/outputs/pipelines/mock-obs-group-by-cloud-meta.yaml +645 -0
- package/manifests/outputs/pipelines/mock-obs-groupby.yaml +178 -0
- package/manifests/outputs/pipelines/mock-obs-time-sync.yaml +350 -0
- package/manifests/outputs/plugins/coefficient/failure-invalid-config-input-param.yaml +73 -0
- package/manifests/outputs/plugins/coefficient/failure-output-param-is-null.yaml +73 -0
- package/manifests/outputs/plugins/coefficient/success.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +27 -0
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yaml +77 -0
- package/manifests/outputs/plugins/csv-lookup/cloud-metadata/success.yaml +82 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/failure-missing-column.yaml +76 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/failure-missing-output.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/success-renaming.yaml +80 -0
- package/manifests/outputs/plugins/csv-lookup/region-metadata/success.yaml +92 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/failure-missing-input-param.yaml +74 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yaml +75 -0
- package/manifests/outputs/plugins/csv-lookup/tdp-finder/success.yaml +76 -0
- package/manifests/outputs/plugins/divide/failure-invalid-config-denominator.yaml +73 -0
- package/manifests/outputs/plugins/divide/failure-missing-numerator.yaml +77 -0
- package/manifests/outputs/plugins/divide/success-denominator-equal-zero.yaml +95 -0
- package/manifests/outputs/plugins/divide/success.yaml +95 -0
- package/manifests/outputs/plugins/exponent/success.yaml +77 -0
- package/manifests/outputs/plugins/groupby/failure-invalid-config-group.yaml +96 -0
- package/manifests/outputs/plugins/groupby/failure-missing-cloud-instance-type.yaml +95 -0
- package/manifests/outputs/plugins/groupby/success.yaml +101 -0
- package/manifests/outputs/plugins/interpolation/interpolation.yaml +83 -0
- package/manifests/outputs/plugins/interpolation/success.yaml +83 -0
- package/manifests/outputs/plugins/mock-observations/failure-invalid-config-cpu-range.yaml +86 -0
- package/manifests/outputs/plugins/mock-observations/failure-invalid-memory-utilization-range.yaml +84 -0
- package/manifests/outputs/plugins/mock-observations/failure-missing-timestamp-from-param.yaml +83 -0
- package/manifests/outputs/plugins/mock-observations/success.yaml +220 -0
- package/manifests/outputs/plugins/multiply/failure-input-parameter-is-missing.yaml +75 -0
- package/manifests/outputs/plugins/multiply/success-with-multiple-inputs.yaml +96 -0
- package/manifests/outputs/plugins/multiply/success.yaml +78 -0
- package/manifests/outputs/plugins/regex/failure-missing-input-param.yaml +75 -0
- package/manifests/outputs/plugins/regex/failure-not-matching-with-regex.yaml +76 -0
- package/manifests/outputs/plugins/regex/success.yaml +81 -0
- package/manifests/outputs/plugins/sci/failure-invalid-config-value.yaml +72 -0
- package/manifests/outputs/plugins/sci/failure-missing-input-param.yaml +72 -0
- package/manifests/outputs/plugins/sci/success.yml.yaml +80 -0
- package/manifests/outputs/plugins/sci-embodied/failure-invalid-default-emission-value.yaml +75 -0
- package/manifests/outputs/plugins/sci-embodied/failure-missing-expected-lifespan.yaml +71 -0
- package/manifests/outputs/plugins/sci-embodied/success.yaml +78 -0
- package/manifests/outputs/plugins/shell/failure-invalid-command.yaml +70 -0
- package/manifests/outputs/plugins/shell/success.yaml +68 -0
- package/manifests/outputs/plugins/subtract/success.yaml +78 -0
- package/manifests/outputs/plugins/sum/failure-missing-input-param.yaml +75 -0
- package/manifests/outputs/plugins/sum/failure-missing-output-param.yaml +78 -0
- package/manifests/outputs/plugins/sum/success.yaml +78 -0
- package/manifests/outputs/plugins/time-sync/failure-config-start-later-end.yaml +82 -0
- package/manifests/outputs/plugins/time-sync/failure-missing-global-config.yaml +78 -0
- package/manifests/outputs/plugins/time-sync/success.yaml +119 -0
- package/package.json +1 -1
- package/manifests/bugs/aggregation-error-wrong-metric.yml +0 -178
- package/manifests/bugs/azure-importer-ignoring-defaults.yml +0 -64
- package/manifests/bugs/azure-importer-incorrect-calculation.yml +0 -59
- package/manifests/bugs/initialize-error-no-config.yml +0 -26
- package/manifests/bugs/initialize-error-no-path.yml +0 -32
- package/manifests/bugs/initialize-error-no-plugins.yml +0 -23
- package/manifests/bugs/input-error-missing-duration.yml +0 -25
- package/manifests/bugs/mock-observations-failure-duration-is-zero.yml +0 -34
- package/manifests/bugs/pipeline-error-naming-mismatch.yml +0 -32
- package/manifests/bugs/pipeline-error-uninitialized-plugin.yml +0 -33
- package/manifests/bugs/pipeline-ordering-error.yml +0 -91
- package/manifests/bugs/sci-embodied-missing-resources-total.yml +0 -23
- package/manifests/examples/copy.yaml +0 -20
- package/manifests/examples/mock-cpu-util-to-carbon.yml +0 -76
- package/manifests/examples/region-metadata.yml +0 -26
- package/manifests/examples/tdp-finder.yml +0 -23
- package/manifests/features/aggregate-failure-invalid-metrics.yml +0 -49
- package/manifests/features/aggregate-failure-missing-metric-in-inputs.yml +0 -49
- package/manifests/features/aggregate-horizontal.yml +0 -50
- package/manifests/features/aggregate-vertical.yml +0 -50
- package/manifests/features/aggregate.yml +0 -50
- package/manifests/integrations/cloud-metadata-divide.yml +0 -37
- package/manifests/integrations/instance-metadata/failure-invalid-instance-type.yaml +0 -33
- package/manifests/integrations/instance-metadata/failure-invalid-provider.yaml +0 -33
- package/manifests/integrations/instance-metadata/failure-missing-queried-input.yml +0 -33
- package/manifests/integrations/instance-metadata/success.yml +0 -33
- package/manifests/integrations/mock-obs-group-by-cloud-meta.yml +0 -57
- package/manifests/integrations/mock-obs-groupby.yml +0 -39
- package/manifests/integrations/mock-obs-time-sync.yml +0 -110
- /package/manifests/{plugins → examples/builtins}/coefficient/failure-invalid-config-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/coefficient/failure-output-param-is-null.yaml +0 -0
- /package/manifests/{plugins → examples/builtins}/coefficient/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/cloud-metadata/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/tdp-finder/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/csv-lookup/tdp-finder/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/divide/failure-denominator-equal-zero.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/divide/failure-invalid-config-denominator.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/divide/failure-missing-numerator.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/divide/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/groupby/failure-invalid-config-group.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/groupby/failure-missing-cloud-instance-type.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/interpolation/interpolation.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-invalid-config-cpu-range.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-invalid-memory-utilization-range.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/failure-missing-timestamp-from-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/mock-observations/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/failure-input-parameter-is-missing.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/success-with-multiple-inputs.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/multiply/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/failure-not-matching-with-regex.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/regex/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci/failure-invalid-config-value.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/failure-invalid-default-emission-value.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/failure-missing-expected-lifespan.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sci-embodied/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/shell/failure-invalid-command.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/shell/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sum/failure-missing-input-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sum/failure-missing-output-param.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/sum/success.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/failure-config-start-later-end.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/failure-missing-global-config.yml +0 -0
- /package/manifests/{plugins → examples/builtins}/time-sync/success.yml +0 -0
- /package/manifests/examples/{nesting.yml → pipelines/nesting.yml} +0 -0
- /package/manifests/examples/{pipeline-teads-sci.yml → pipelines/pipeline-teads-sci.yml} +0 -0
- /package/manifests/examples/{pipeline-with-mocks.yml → pipelines/pipeline-with-mocks.yml} +0 -0
- /package/manifests/examples/{sci.yml → pipelines/sci.yml} +0 -0
- /package/manifests/examples/{teads-curve.yml → pipelines/teads-curve.yml} +0 -0
- /package/manifests/examples/{zeros.yaml → pipelines/zeros.yml} +0 -0
- /package/manifests/{plugins → outputs/plugins}/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
name: Aggregation
|
|
2
|
-
description: Fails with missing metric in inputs.
|
|
3
|
-
aggregation:
|
|
4
|
-
metrics:
|
|
5
|
-
- 'cpu/utilization'
|
|
6
|
-
type: 'both'
|
|
7
|
-
initialize:
|
|
8
|
-
plugins:
|
|
9
|
-
cloud-metadata:
|
|
10
|
-
path: builtin
|
|
11
|
-
method: CSVLookup
|
|
12
|
-
global-config:
|
|
13
|
-
filepath: >-
|
|
14
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
|
-
query:
|
|
16
|
-
instance-class: cloud/instance-type
|
|
17
|
-
output: ['cpu-cores-utilized', 'vcpus-allocated']
|
|
18
|
-
tree:
|
|
19
|
-
children:
|
|
20
|
-
application:
|
|
21
|
-
pipeline:
|
|
22
|
-
- cloud-metadata
|
|
23
|
-
children:
|
|
24
|
-
uk-west:
|
|
25
|
-
children:
|
|
26
|
-
server-1:
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: '2024-01-26 00:00:00'
|
|
29
|
-
duration: 300
|
|
30
|
-
cloud/instance-type: m5n.large
|
|
31
|
-
cloud/vendor: aws
|
|
32
|
-
cpu/utilization: 89
|
|
33
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
34
|
-
duration: 300
|
|
35
|
-
cloud/instance-type: m5n.large
|
|
36
|
-
cloud/vendor: aws
|
|
37
|
-
cpu/utilization: 59
|
|
38
|
-
server-2:
|
|
39
|
-
inputs:
|
|
40
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
41
|
-
duration: 300
|
|
42
|
-
cloud/instance-type: m5n.large
|
|
43
|
-
cloud/vendor: aws
|
|
44
|
-
# cpu/utilization: 110
|
|
45
|
-
- timestamp: '2024-02-26 00:15:00'
|
|
46
|
-
duration: 300
|
|
47
|
-
cloud/instance-type: m5n.large
|
|
48
|
-
cloud/vendor: aws
|
|
49
|
-
cpu/utilization: 27
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Aggregation
|
|
2
|
-
description: Apply `horizontal` aggregation
|
|
3
|
-
aggregation:
|
|
4
|
-
metrics:
|
|
5
|
-
- 'cpu/utilization'
|
|
6
|
-
type: 'horizontal'
|
|
7
|
-
initialize:
|
|
8
|
-
plugins:
|
|
9
|
-
cloud-metadata:
|
|
10
|
-
path: builtin
|
|
11
|
-
method: CSVLookup
|
|
12
|
-
global-config:
|
|
13
|
-
filepath: >-
|
|
14
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
|
-
query:
|
|
16
|
-
instance-class: cloud/instance-type
|
|
17
|
-
output: ['cpu-cores-utilized', 'vcpus-allocated']
|
|
18
|
-
tree:
|
|
19
|
-
children:
|
|
20
|
-
application:
|
|
21
|
-
pipeline:
|
|
22
|
-
- cloud-metadata
|
|
23
|
-
children:
|
|
24
|
-
uk-west:
|
|
25
|
-
children:
|
|
26
|
-
server-1:
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
29
|
-
duration: 300
|
|
30
|
-
cloud/instance-type: m5n.large
|
|
31
|
-
cloud/vendor: aws
|
|
32
|
-
cpu/utilization: 89
|
|
33
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
34
|
-
duration: 300
|
|
35
|
-
cloud/instance-type: m5n.large
|
|
36
|
-
cloud/vendor: aws
|
|
37
|
-
cpu/utilization: 59
|
|
38
|
-
server-2:
|
|
39
|
-
inputs:
|
|
40
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
41
|
-
duration: 300
|
|
42
|
-
cloud/instance-type: m5n.large
|
|
43
|
-
cloud/vendor: aws
|
|
44
|
-
cpu/utilization: 24
|
|
45
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
46
|
-
duration: 300
|
|
47
|
-
cloud/instance-type: m5n.large
|
|
48
|
-
cloud/vendor: aws
|
|
49
|
-
cpu/utilization: 27
|
|
50
|
-
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Aggregation
|
|
2
|
-
description: Apply `vertical` aggregation
|
|
3
|
-
aggregation:
|
|
4
|
-
metrics:
|
|
5
|
-
- 'cpu/utilization'
|
|
6
|
-
type: 'vertical'
|
|
7
|
-
initialize:
|
|
8
|
-
plugins:
|
|
9
|
-
cloud-metadata:
|
|
10
|
-
path: builtin
|
|
11
|
-
method: CSVLookup
|
|
12
|
-
global-config:
|
|
13
|
-
filepath: >-
|
|
14
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
|
-
query:
|
|
16
|
-
instance-class: cloud/instance-type
|
|
17
|
-
output: ['cpu-cores-utilized', 'vcpus-allocated']
|
|
18
|
-
tree:
|
|
19
|
-
children:
|
|
20
|
-
application:
|
|
21
|
-
pipeline:
|
|
22
|
-
- cloud-metadata
|
|
23
|
-
children:
|
|
24
|
-
uk-west:
|
|
25
|
-
children:
|
|
26
|
-
server-1:
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
29
|
-
duration: 300
|
|
30
|
-
cloud/instance-type: m5n.large
|
|
31
|
-
cloud/vendor: aws
|
|
32
|
-
cpu/utilization: 89
|
|
33
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
34
|
-
duration: 300
|
|
35
|
-
cloud/instance-type: m5n.large
|
|
36
|
-
cloud/vendor: aws
|
|
37
|
-
cpu/utilization: 59
|
|
38
|
-
server-2:
|
|
39
|
-
inputs:
|
|
40
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
41
|
-
duration: 300
|
|
42
|
-
cloud/instance-type: m5n.large
|
|
43
|
-
cloud/vendor: aws
|
|
44
|
-
cpu/utilization: 24
|
|
45
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
46
|
-
duration: 300
|
|
47
|
-
cloud/instance-type: m5n.large
|
|
48
|
-
cloud/vendor: aws
|
|
49
|
-
cpu/utilization: 27
|
|
50
|
-
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Aggregation
|
|
2
|
-
description: Apply both `horizontal` and `vertical` aggregations
|
|
3
|
-
aggregation:
|
|
4
|
-
metrics:
|
|
5
|
-
- 'cpu/utilization'
|
|
6
|
-
type: 'both'
|
|
7
|
-
initialize:
|
|
8
|
-
plugins:
|
|
9
|
-
cloud-metadata:
|
|
10
|
-
path: builtin
|
|
11
|
-
method: CSVLookup
|
|
12
|
-
global-config:
|
|
13
|
-
filepath: >-
|
|
14
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
|
-
query:
|
|
16
|
-
instance-class: cloud/instance-type
|
|
17
|
-
output: ['cpu-cores-utilized', 'vcpus-allocated']
|
|
18
|
-
tree:
|
|
19
|
-
children:
|
|
20
|
-
application:
|
|
21
|
-
pipeline:
|
|
22
|
-
- cloud-metadata
|
|
23
|
-
children:
|
|
24
|
-
uk-west:
|
|
25
|
-
children:
|
|
26
|
-
server-1:
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
29
|
-
duration: 300
|
|
30
|
-
cloud/instance-type: m5n.large
|
|
31
|
-
cloud/vendor: aws
|
|
32
|
-
cpu/utilization: 89
|
|
33
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
34
|
-
duration: 300
|
|
35
|
-
cloud/instance-type: m5n.large
|
|
36
|
-
cloud/vendor: aws
|
|
37
|
-
cpu/utilization: 59
|
|
38
|
-
server-2:
|
|
39
|
-
inputs:
|
|
40
|
-
- timestamp: '2024-02-26 00:00:00'
|
|
41
|
-
duration: 300
|
|
42
|
-
cloud/instance-type: m5n.large
|
|
43
|
-
cloud/vendor: aws
|
|
44
|
-
cpu/utilization: 24
|
|
45
|
-
- timestamp: '2024-02-26 00:05:00'
|
|
46
|
-
duration: 300
|
|
47
|
-
cloud/instance-type: m5n.large
|
|
48
|
-
cloud/vendor: aws
|
|
49
|
-
cpu/utilization: 27
|
|
50
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
name: divide-demo
|
|
2
|
-
description:
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-metadata:
|
|
7
|
-
path: builtin
|
|
8
|
-
method: CSVLookup
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: >-
|
|
11
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
12
|
-
query:
|
|
13
|
-
instance-class: cloud/instance-type
|
|
14
|
-
output: ['cpu-cores-utilized', 'vcpus-allocated']
|
|
15
|
-
divide:
|
|
16
|
-
method: Divide
|
|
17
|
-
path: "builtin"
|
|
18
|
-
global-config:
|
|
19
|
-
numerator: vcpus-allocated
|
|
20
|
-
denominator: 2
|
|
21
|
-
output: cpu/number-cores
|
|
22
|
-
tree:
|
|
23
|
-
children:
|
|
24
|
-
child:
|
|
25
|
-
pipeline:
|
|
26
|
-
- cloud-metadata
|
|
27
|
-
- divide
|
|
28
|
-
config:
|
|
29
|
-
divide:
|
|
30
|
-
defaults:
|
|
31
|
-
cloud/vendor: aws
|
|
32
|
-
cloud/instance-type: m5n.large
|
|
33
|
-
cpu/name: Intel® Core™ i7-1185G7
|
|
34
|
-
inputs:
|
|
35
|
-
- timestamp: 2023-08-06T00:00
|
|
36
|
-
duration: 3600
|
|
37
|
-
cpu/utilization: 80
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: instance-metadata
|
|
2
|
-
description:
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-instance-metadata:
|
|
7
|
-
method: CSVLookup
|
|
8
|
-
path: "builtin"
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
11
|
-
query:
|
|
12
|
-
instance-class: "cloud/instance-type"
|
|
13
|
-
output: "*"
|
|
14
|
-
extract-processor-name:
|
|
15
|
-
method: Regex
|
|
16
|
-
path: "builtin"
|
|
17
|
-
global-config:
|
|
18
|
-
parameter: cpu-model-name
|
|
19
|
-
match: /^([^,])+/g
|
|
20
|
-
output: cpu/name
|
|
21
|
-
tree:
|
|
22
|
-
children:
|
|
23
|
-
child:
|
|
24
|
-
pipeline:
|
|
25
|
-
- cloud-instance-metadata
|
|
26
|
-
- extract-processor-name
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: 2023-08-06T00:00
|
|
29
|
-
duration: 3600
|
|
30
|
-
cpu/energy: 0.001
|
|
31
|
-
cloud/provider: gcp
|
|
32
|
-
cloud/region: asia-east
|
|
33
|
-
cloud/instance-type: m6
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: instance-metadata
|
|
2
|
-
description:
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-instance-metadata:
|
|
7
|
-
method: CSVLookup
|
|
8
|
-
path: "builtin"
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
11
|
-
query:
|
|
12
|
-
instance-class: "cloud/provider"
|
|
13
|
-
output: "*"
|
|
14
|
-
extract-processor-name:
|
|
15
|
-
method: Regex
|
|
16
|
-
path: "builtin"
|
|
17
|
-
global-config:
|
|
18
|
-
parameter: cpu-model-name
|
|
19
|
-
match: /^([^,])+/g
|
|
20
|
-
output: cpu/name
|
|
21
|
-
tree:
|
|
22
|
-
children:
|
|
23
|
-
child:
|
|
24
|
-
pipeline:
|
|
25
|
-
- cloud-instance-metadata
|
|
26
|
-
- extract-processor-name
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: 2023-08-06T00:00
|
|
29
|
-
duration: 3600
|
|
30
|
-
cpu/energy: 0.001
|
|
31
|
-
cloud/provider: 6568
|
|
32
|
-
cloud/region: asia-east
|
|
33
|
-
cloud/instance-type: Standard_A1_v2
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: instance-metadata
|
|
2
|
-
description:
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-instance-metadata:
|
|
7
|
-
method: CSVLookup
|
|
8
|
-
path: "builtin"
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
11
|
-
query:
|
|
12
|
-
instance-class: "cloud/provider"
|
|
13
|
-
output: "*"
|
|
14
|
-
extract-processor-name:
|
|
15
|
-
method: Regex
|
|
16
|
-
path: "builtin"
|
|
17
|
-
global-config:
|
|
18
|
-
parameter: cpu-model-name
|
|
19
|
-
match: /^([^,])+/g
|
|
20
|
-
output: cpu/name
|
|
21
|
-
tree:
|
|
22
|
-
children:
|
|
23
|
-
child:
|
|
24
|
-
pipeline:
|
|
25
|
-
- cloud-instance-metadata
|
|
26
|
-
- extract-processor-name
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: 2023-08-06T00:00
|
|
29
|
-
duration: 3600
|
|
30
|
-
cpu/energy: 0.001
|
|
31
|
-
# cloud/provider: gcp
|
|
32
|
-
cloud/region: asia-east
|
|
33
|
-
cloud/instance-type: Standard_A1_v2
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: instance-metadata
|
|
2
|
-
description:
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
cloud-instance-metadata:
|
|
7
|
-
method: CSVLookup
|
|
8
|
-
path: "builtin"
|
|
9
|
-
global-config:
|
|
10
|
-
filepath: https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
11
|
-
query:
|
|
12
|
-
instance-class: "cloud/instance-type"
|
|
13
|
-
output: "*"
|
|
14
|
-
extract-processor-name:
|
|
15
|
-
method: Regex
|
|
16
|
-
path: "builtin"
|
|
17
|
-
global-config:
|
|
18
|
-
parameter: cpu-model-name
|
|
19
|
-
match: /^([^,])+/g
|
|
20
|
-
output: cpu/name
|
|
21
|
-
tree:
|
|
22
|
-
children:
|
|
23
|
-
child:
|
|
24
|
-
pipeline:
|
|
25
|
-
- cloud-instance-metadata
|
|
26
|
-
- extract-processor-name
|
|
27
|
-
inputs:
|
|
28
|
-
- timestamp: 2023-08-06T00:00
|
|
29
|
-
duration: 3600
|
|
30
|
-
cpu/energy: 0.001
|
|
31
|
-
cloud/provider: gcp
|
|
32
|
-
cloud/region: asia-east
|
|
33
|
-
cloud/instance-type: Standard_A1_v2
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
name: My Manifest File
|
|
2
|
-
description: integration of mock observations, group by and cloud metadata
|
|
3
|
-
aggregation:
|
|
4
|
-
metrics:
|
|
5
|
-
- 'cpu/utilization'
|
|
6
|
-
type: 'both'
|
|
7
|
-
initialize:
|
|
8
|
-
# outputs: ['yaml']
|
|
9
|
-
plugins:
|
|
10
|
-
group-by:
|
|
11
|
-
path: 'builtin'
|
|
12
|
-
method: GroupBy
|
|
13
|
-
global-config:
|
|
14
|
-
input-parameters: ['cpu/energy', 'grid/carbon-intensity']
|
|
15
|
-
output-parameter: 'carbon'
|
|
16
|
-
cloud-metadata:
|
|
17
|
-
path: builtin
|
|
18
|
-
method: CSVLookup
|
|
19
|
-
global-config:
|
|
20
|
-
filepath: >-
|
|
21
|
-
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
22
|
-
query:
|
|
23
|
-
instance-class: cloud/instance-type
|
|
24
|
-
output: ['cpu-tdp']
|
|
25
|
-
mock-observations:
|
|
26
|
-
path: 'builtin'
|
|
27
|
-
method: MockObservations
|
|
28
|
-
global-config:
|
|
29
|
-
timestamp-from: 2024-03-05T00:00
|
|
30
|
-
timestamp-to: 2024-03-05T01:00
|
|
31
|
-
duration: 300
|
|
32
|
-
components:
|
|
33
|
-
- name: server-1
|
|
34
|
-
cloud/instance-type: Standard_E64_v3
|
|
35
|
-
cloud/region: eastus
|
|
36
|
-
- name: server-2
|
|
37
|
-
cloud/instance-type: Standard_E64_v3
|
|
38
|
-
cloud/region: france
|
|
39
|
-
generators:
|
|
40
|
-
common:
|
|
41
|
-
geolocation: 37.7749,-122.4194
|
|
42
|
-
cloud/vendor: azure
|
|
43
|
-
randint:
|
|
44
|
-
cpu/utilization:
|
|
45
|
-
min: 1
|
|
46
|
-
max: 99
|
|
47
|
-
tree:
|
|
48
|
-
pipeline:
|
|
49
|
-
- mock-observations
|
|
50
|
-
- group-by
|
|
51
|
-
- cloud-metadata
|
|
52
|
-
config:
|
|
53
|
-
group-by:
|
|
54
|
-
group:
|
|
55
|
-
- name
|
|
56
|
-
- cloud/instance-type
|
|
57
|
-
inputs: null
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
name: Mock observations + Group by
|
|
2
|
-
description: Integration of `mock observations` + `groupby plugins`
|
|
3
|
-
initialize:
|
|
4
|
-
plugins:
|
|
5
|
-
mock-observations:
|
|
6
|
-
path: 'builtin'
|
|
7
|
-
method: MockObservations
|
|
8
|
-
global-config:
|
|
9
|
-
timestamp-from: '2024-03-05T00:00:00.000Z'
|
|
10
|
-
timestamp-to: '2024-03-05T00:01:00.000Z'
|
|
11
|
-
duration: 10
|
|
12
|
-
components:
|
|
13
|
-
- name: server-1
|
|
14
|
-
cloud/instance-type: Standard_E64_v3
|
|
15
|
-
cloud/region: westus3
|
|
16
|
-
- name: server-2
|
|
17
|
-
cloud/instance-type: Standard_E64_v3
|
|
18
|
-
cloud/region: france
|
|
19
|
-
generators:
|
|
20
|
-
common:
|
|
21
|
-
cloud/vendor: azure
|
|
22
|
-
randint:
|
|
23
|
-
cpu/utilization:
|
|
24
|
-
min: 1
|
|
25
|
-
max: 99
|
|
26
|
-
group-by:
|
|
27
|
-
path: 'builtin'
|
|
28
|
-
method: GroupBy
|
|
29
|
-
tree:
|
|
30
|
-
pipeline:
|
|
31
|
-
- mock-observations
|
|
32
|
-
- group-by
|
|
33
|
-
defaults:
|
|
34
|
-
config:
|
|
35
|
-
group-by:
|
|
36
|
-
group:
|
|
37
|
-
- cloud/region
|
|
38
|
-
- name
|
|
39
|
-
inputs: null
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
name: Mock observation and time sync integration
|
|
2
|
-
description: Integration of `mock observation` + `time sync`
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
plugins:
|
|
6
|
-
mock-observations:
|
|
7
|
-
kind: plugin
|
|
8
|
-
method: MockObservations
|
|
9
|
-
path: "builtin"
|
|
10
|
-
global-config:
|
|
11
|
-
timestamp-from: 2023-07-06T00:00
|
|
12
|
-
timestamp-to: 2023-07-06T00:10
|
|
13
|
-
duration: 60
|
|
14
|
-
components:
|
|
15
|
-
- cloud/instance-type: A1
|
|
16
|
-
generators:
|
|
17
|
-
common:
|
|
18
|
-
cloud/region: uk-west
|
|
19
|
-
common-key: common-val
|
|
20
|
-
randint:
|
|
21
|
-
cpu/utilization:
|
|
22
|
-
min: 1
|
|
23
|
-
max: 99
|
|
24
|
-
"interpolate":
|
|
25
|
-
method: Interpolation
|
|
26
|
-
path: 'builtin'
|
|
27
|
-
global-config:
|
|
28
|
-
method: linear
|
|
29
|
-
x: [0, 10, 50, 100]
|
|
30
|
-
y: [0.12, 0.32, 0.75, 1.02]
|
|
31
|
-
input-parameter: 'cpu/utilization'
|
|
32
|
-
output-parameter: 'cpu-factor'
|
|
33
|
-
"cpu-factor-to-wattage":
|
|
34
|
-
method: Multiply
|
|
35
|
-
path: builtin
|
|
36
|
-
global-config:
|
|
37
|
-
input-parameters: ["cpu-factor", "cpu/thermal-design-power"]
|
|
38
|
-
output-parameter: "cpu-wattage"
|
|
39
|
-
"wattage-times-duration":
|
|
40
|
-
method: Multiply
|
|
41
|
-
path: builtin
|
|
42
|
-
global-config:
|
|
43
|
-
input-parameters: ["cpu-wattage", "duration"]
|
|
44
|
-
output-parameter: "cpu-wattage-times-duration"
|
|
45
|
-
"wattage-to-energy-kwh":
|
|
46
|
-
method: Divide
|
|
47
|
-
path: "builtin"
|
|
48
|
-
global-config:
|
|
49
|
-
numerator: cpu-wattage-times-duration
|
|
50
|
-
denominator: 3600000
|
|
51
|
-
output: cpu-energy-raw
|
|
52
|
-
"calculate-vcpu-ratio":
|
|
53
|
-
method: Divide
|
|
54
|
-
path: "builtin"
|
|
55
|
-
global-config:
|
|
56
|
-
numerator: vcpus-total
|
|
57
|
-
denominator: vcpus-allocated
|
|
58
|
-
output: vcpu-ratio
|
|
59
|
-
"correct-cpu-energy-for-vcpu-ratio":
|
|
60
|
-
method: Divide
|
|
61
|
-
path: "builtin"
|
|
62
|
-
global-config:
|
|
63
|
-
numerator: cpu-energy-raw
|
|
64
|
-
denominator: vcpu-ratio
|
|
65
|
-
output: cpu-energy-kwh
|
|
66
|
-
"time-sync":
|
|
67
|
-
method: TimeSync
|
|
68
|
-
path: "builtin"
|
|
69
|
-
global-config:
|
|
70
|
-
start-time: "2023-12-12T00:00:00.000Z"
|
|
71
|
-
end-time: "2023-12-12T00:01:00.000Z"
|
|
72
|
-
interval: 5
|
|
73
|
-
allow-padding: true
|
|
74
|
-
tree:
|
|
75
|
-
children:
|
|
76
|
-
child-1:
|
|
77
|
-
pipeline:
|
|
78
|
-
# - mock-observations
|
|
79
|
-
- interpolate
|
|
80
|
-
- cpu-factor-to-wattage
|
|
81
|
-
- wattage-times-duration
|
|
82
|
-
- wattage-to-energy-kwh
|
|
83
|
-
- calculate-vcpu-ratio
|
|
84
|
-
- correct-cpu-energy-for-vcpu-ratio
|
|
85
|
-
- time-sync
|
|
86
|
-
defaults:
|
|
87
|
-
cpu/thermal-design-power: 100
|
|
88
|
-
vcpus-total: 8
|
|
89
|
-
vcpus-allocated: 1
|
|
90
|
-
inputs:
|
|
91
|
-
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
92
|
-
cloud/instance-type: A1
|
|
93
|
-
cloud/region: uk-west
|
|
94
|
-
duration: 1
|
|
95
|
-
cpu/utilization: 10
|
|
96
|
-
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
97
|
-
duration: 5
|
|
98
|
-
cpu/utilization: 20
|
|
99
|
-
cloud/instance-type: A1
|
|
100
|
-
cloud/region: uk-west
|
|
101
|
-
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
102
|
-
duration: 7
|
|
103
|
-
cpu/utilization: 15
|
|
104
|
-
cloud/instance-type: A1
|
|
105
|
-
cloud/region: uk-west
|
|
106
|
-
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
107
|
-
duration: 30
|
|
108
|
-
cloud/instance-type: A1
|
|
109
|
-
cloud/region: uk-west
|
|
110
|
-
cpu/utilization: 15
|
/package/manifests/{plugins → examples/builtins}/coefficient/failure-invalid-config-input-param.yml
RENAMED
|
File without changes
|
/package/manifests/{plugins → examples/builtins}/coefficient/failure-output-param-is-null.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/manifests/{plugins → examples/builtins}/divide/failure-invalid-config-denominator.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/manifests/{plugins → examples/builtins}/groupby/failure-missing-cloud-instance-type.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/manifests/{plugins → examples/builtins}/multiply/failure-input-parameter-is-missing.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/manifests/{plugins → examples/builtins}/sci-embodied/failure-missing-expected-lifespan.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|