@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
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: sum
|
|
2
|
+
description: failure with `inputs[0]` misses one of `global-config.input-parameters`
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
sum:
|
|
9
|
+
method: Sum
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config:
|
|
12
|
+
input-parameters:
|
|
13
|
+
- cpu/energy
|
|
14
|
+
- network/energy
|
|
15
|
+
output-parameter: energy
|
|
16
|
+
execution:
|
|
17
|
+
status: fail
|
|
18
|
+
command: >-
|
|
19
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
20
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
21
|
+
manifests/outputs/plugins/sum/failure-missing-input-param.yml -o
|
|
22
|
+
manifests/outputs/plugins/sum/failure-missing-input-param
|
|
23
|
+
environment:
|
|
24
|
+
if-version: 0.4.0
|
|
25
|
+
os: macOS
|
|
26
|
+
os-version: '13.2'
|
|
27
|
+
node-version: 18.14.2
|
|
28
|
+
date-time: 2024-07-02T20:55:20.733Z (UTC)
|
|
29
|
+
dependencies:
|
|
30
|
+
- '@babel/core@7.22.10'
|
|
31
|
+
- '@babel/preset-typescript@7.23.3'
|
|
32
|
+
- '@commitlint/cli@18.6.0'
|
|
33
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
34
|
+
- '@grnsft/if-core@0.0.10'
|
|
35
|
+
|
|
36
|
+
- '@jest/globals@29.7.0'
|
|
37
|
+
- '@types/jest@29.5.8'
|
|
38
|
+
- '@types/js-yaml@4.0.9'
|
|
39
|
+
- '@types/luxon@3.4.2'
|
|
40
|
+
- '@types/node@20.9.0'
|
|
41
|
+
- axios-mock-adapter@1.22.0
|
|
42
|
+
- axios@1.7.2
|
|
43
|
+
- cross-env@7.0.3
|
|
44
|
+
- csv-parse@5.5.6
|
|
45
|
+
- csv-stringify@6.4.6
|
|
46
|
+
- fixpack@4.0.0
|
|
47
|
+
- gts@5.2.0
|
|
48
|
+
- husky@8.0.3
|
|
49
|
+
- jest@29.7.0
|
|
50
|
+
- js-yaml@4.1.0
|
|
51
|
+
- lint-staged@15.2.2
|
|
52
|
+
- luxon@3.4.4
|
|
53
|
+
- release-it@16.3.0
|
|
54
|
+
- rimraf@5.0.5
|
|
55
|
+
- ts-command-line-args@2.5.1
|
|
56
|
+
- ts-jest@29.1.1
|
|
57
|
+
- typescript-cubic-spline@1.0.1
|
|
58
|
+
- typescript@5.2.2
|
|
59
|
+
- winston@3.11.0
|
|
60
|
+
- zod@3.22.4
|
|
61
|
+
error: >-
|
|
62
|
+
InputValidationError: "cpu/energy" parameter is required. Error code:
|
|
63
|
+
invalid_type.
|
|
64
|
+
tree:
|
|
65
|
+
children:
|
|
66
|
+
child:
|
|
67
|
+
pipeline:
|
|
68
|
+
- sum
|
|
69
|
+
config:
|
|
70
|
+
sum: null
|
|
71
|
+
inputs:
|
|
72
|
+
- timestamp: 2023-08-06T00:00
|
|
73
|
+
duration: 3600
|
|
74
|
+
cpu: 0.001
|
|
75
|
+
network/energy: 0.001
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: sum
|
|
2
|
+
description: missing `output-parameter` in global-config
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
sum:
|
|
9
|
+
method: Sum
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config:
|
|
12
|
+
input-parameters:
|
|
13
|
+
- cpu/energy
|
|
14
|
+
- network/energy
|
|
15
|
+
execution:
|
|
16
|
+
status: fail
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/sum/failure-missing-output-param.yml -o
|
|
21
|
+
manifests/outputs/plugins/sum/failure-missing-output-param
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T20:54:23.422Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
error: >-
|
|
61
|
+
InputValidationError: "output-parameter" parameter is required. Error code:
|
|
62
|
+
invalid_type.
|
|
63
|
+
tree:
|
|
64
|
+
children:
|
|
65
|
+
child:
|
|
66
|
+
pipeline:
|
|
67
|
+
- sum
|
|
68
|
+
config:
|
|
69
|
+
sum: null
|
|
70
|
+
inputs:
|
|
71
|
+
- timestamp: 2023-08-06T00:00
|
|
72
|
+
duration: 3600
|
|
73
|
+
cpu/energy: 0.001
|
|
74
|
+
network/energy: 0.001
|
|
75
|
+
- timestamp: 2023-08-06T00:00
|
|
76
|
+
duration: 3600
|
|
77
|
+
cpu/energy: 0.001
|
|
78
|
+
network/energy: e
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: sum
|
|
2
|
+
description: successful path
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
sum:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: Sum
|
|
9
|
+
global-config:
|
|
10
|
+
input-parameters:
|
|
11
|
+
- cpu/energy
|
|
12
|
+
- network/energy
|
|
13
|
+
output-parameter: energy
|
|
14
|
+
outputs:
|
|
15
|
+
- yaml
|
|
16
|
+
execution:
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/sum/success.yml -o
|
|
21
|
+
manifests/outputs/plugins/sum/success
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T20:53:35.496Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
status: success
|
|
61
|
+
tree:
|
|
62
|
+
children:
|
|
63
|
+
child:
|
|
64
|
+
pipeline:
|
|
65
|
+
- sum
|
|
66
|
+
config:
|
|
67
|
+
sum: null
|
|
68
|
+
inputs:
|
|
69
|
+
- timestamp: 2023-08-06T00:00
|
|
70
|
+
duration: 3600
|
|
71
|
+
cpu/energy: 0.001
|
|
72
|
+
network/energy: 0.001
|
|
73
|
+
outputs:
|
|
74
|
+
- timestamp: 2023-08-06T00:00
|
|
75
|
+
duration: 3600
|
|
76
|
+
cpu/energy: 0.001
|
|
77
|
+
network/energy: 0.001
|
|
78
|
+
energy: 0.002
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
name: time-sync
|
|
2
|
+
description: >-
|
|
3
|
+
failure with `global-config.start-time` being later than
|
|
4
|
+
`global-config.end-time`
|
|
5
|
+
tags: null
|
|
6
|
+
initialize:
|
|
7
|
+
outputs:
|
|
8
|
+
- yaml
|
|
9
|
+
plugins:
|
|
10
|
+
time-sync:
|
|
11
|
+
method: TimeSync
|
|
12
|
+
path: builtin
|
|
13
|
+
global-config:
|
|
14
|
+
start-time: '2023-12-12T00:01:00.000Z'
|
|
15
|
+
end-time: '2023-12-12T00:00:00.000Z'
|
|
16
|
+
interval: 5
|
|
17
|
+
allow-padding: true
|
|
18
|
+
execution:
|
|
19
|
+
status: fail
|
|
20
|
+
command: >-
|
|
21
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
22
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
23
|
+
manifests/outputs/plugins/time-sync/failure-config-start-later-end.yml -o
|
|
24
|
+
manifests/outputs/plugins/time-sync/failure-config-start-later-end
|
|
25
|
+
environment:
|
|
26
|
+
if-version: 0.4.0
|
|
27
|
+
os: macOS
|
|
28
|
+
os-version: '13.2'
|
|
29
|
+
node-version: 18.14.2
|
|
30
|
+
date-time: 2024-07-02T21:13:59.114Z (UTC)
|
|
31
|
+
dependencies:
|
|
32
|
+
- '@babel/core@7.22.10'
|
|
33
|
+
- '@babel/preset-typescript@7.23.3'
|
|
34
|
+
- '@commitlint/cli@18.6.0'
|
|
35
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
36
|
+
- '@grnsft/if-core@0.0.10'
|
|
37
|
+
|
|
38
|
+
- '@jest/globals@29.7.0'
|
|
39
|
+
- '@types/jest@29.5.8'
|
|
40
|
+
- '@types/js-yaml@4.0.9'
|
|
41
|
+
- '@types/luxon@3.4.2'
|
|
42
|
+
- '@types/node@20.9.0'
|
|
43
|
+
- axios-mock-adapter@1.22.0
|
|
44
|
+
- axios@1.7.2
|
|
45
|
+
- cross-env@7.0.3
|
|
46
|
+
- csv-parse@5.5.6
|
|
47
|
+
- csv-stringify@6.4.6
|
|
48
|
+
- fixpack@4.0.0
|
|
49
|
+
- gts@5.2.0
|
|
50
|
+
- husky@8.0.3
|
|
51
|
+
- jest@29.7.0
|
|
52
|
+
- js-yaml@4.1.0
|
|
53
|
+
- lint-staged@15.2.2
|
|
54
|
+
- luxon@3.4.4
|
|
55
|
+
- release-it@16.3.0
|
|
56
|
+
- rimraf@5.0.5
|
|
57
|
+
- ts-command-line-args@2.5.1
|
|
58
|
+
- ts-jest@29.1.1
|
|
59
|
+
- typescript-cubic-spline@1.0.1
|
|
60
|
+
- typescript@5.2.2
|
|
61
|
+
- winston@3.11.0
|
|
62
|
+
- zod@3.22.4
|
|
63
|
+
error: 'InputValidationError: `start-time` should be lower than `end-time`'
|
|
64
|
+
tree:
|
|
65
|
+
children:
|
|
66
|
+
child:
|
|
67
|
+
pipeline:
|
|
68
|
+
- time-sync
|
|
69
|
+
config: null
|
|
70
|
+
inputs:
|
|
71
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
72
|
+
duration: 1
|
|
73
|
+
energy-cpu: 0.001
|
|
74
|
+
- timestamp: '2023-12-12T00:00:01.000Z'
|
|
75
|
+
duration: 5
|
|
76
|
+
energy-cpu: 0.001
|
|
77
|
+
- timestamp: '2023-12-12T00:00:06.000Z'
|
|
78
|
+
duration: 7
|
|
79
|
+
energy-cpu: 0.001
|
|
80
|
+
- timestamp: '2023-12-12T00:00:13.000Z'
|
|
81
|
+
duration: 30
|
|
82
|
+
energy-cpu: 0.001
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: time-sync
|
|
2
|
+
description: missing global config
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
outputs:
|
|
6
|
+
- yaml
|
|
7
|
+
plugins:
|
|
8
|
+
time-sync:
|
|
9
|
+
method: TimeSync
|
|
10
|
+
path: builtin
|
|
11
|
+
global-config: null
|
|
12
|
+
execution:
|
|
13
|
+
status: fail
|
|
14
|
+
command: >-
|
|
15
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
16
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
17
|
+
manifests/outputs/plugins/time-sync/failure-missing-global-config.yml -o
|
|
18
|
+
manifests/outputs/plugins/time-sync/failure-missing-global-config
|
|
19
|
+
environment:
|
|
20
|
+
if-version: 0.4.0
|
|
21
|
+
os: macOS
|
|
22
|
+
os-version: '13.2'
|
|
23
|
+
node-version: 18.14.2
|
|
24
|
+
date-time: 2024-07-02T21:13:12.360Z (UTC)
|
|
25
|
+
dependencies:
|
|
26
|
+
- '@babel/core@7.22.10'
|
|
27
|
+
- '@babel/preset-typescript@7.23.3'
|
|
28
|
+
- '@commitlint/cli@18.6.0'
|
|
29
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
30
|
+
- '@grnsft/if-core@0.0.10'
|
|
31
|
+
|
|
32
|
+
- '@jest/globals@29.7.0'
|
|
33
|
+
- '@types/jest@29.5.8'
|
|
34
|
+
- '@types/js-yaml@4.0.9'
|
|
35
|
+
- '@types/luxon@3.4.2'
|
|
36
|
+
- '@types/node@20.9.0'
|
|
37
|
+
- axios-mock-adapter@1.22.0
|
|
38
|
+
- axios@1.7.2
|
|
39
|
+
- cross-env@7.0.3
|
|
40
|
+
- csv-parse@5.5.6
|
|
41
|
+
- csv-stringify@6.4.6
|
|
42
|
+
- fixpack@4.0.0
|
|
43
|
+
- gts@5.2.0
|
|
44
|
+
- husky@8.0.3
|
|
45
|
+
- jest@29.7.0
|
|
46
|
+
- js-yaml@4.1.0
|
|
47
|
+
- lint-staged@15.2.2
|
|
48
|
+
- luxon@3.4.4
|
|
49
|
+
- release-it@16.3.0
|
|
50
|
+
- rimraf@5.0.5
|
|
51
|
+
- ts-command-line-args@2.5.1
|
|
52
|
+
- ts-jest@29.1.1
|
|
53
|
+
- typescript-cubic-spline@1.0.1
|
|
54
|
+
- typescript@5.2.2
|
|
55
|
+
- winston@3.11.0
|
|
56
|
+
- zod@3.22.4
|
|
57
|
+
error: >-
|
|
58
|
+
ManifestValidationError: "initialize.plugins.time-sync.global-config"
|
|
59
|
+
parameter is expected object, received null. Error code: invalid_type.
|
|
60
|
+
tree:
|
|
61
|
+
children:
|
|
62
|
+
child:
|
|
63
|
+
pipeline:
|
|
64
|
+
- time-sync
|
|
65
|
+
config: null
|
|
66
|
+
inputs:
|
|
67
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
68
|
+
duration: 3
|
|
69
|
+
energy-cpu: 0.001
|
|
70
|
+
- timestamp: '2023-12-12T00:00:01.000Z'
|
|
71
|
+
duration: 5
|
|
72
|
+
energy-cpu: 0.001
|
|
73
|
+
- timestamp: '2023-12-12T00:00:06.000Z'
|
|
74
|
+
duration: 7
|
|
75
|
+
energy-cpu: 0.001
|
|
76
|
+
- timestamp: '2023-12-12T00:00:13.000Z'
|
|
77
|
+
duration: 30
|
|
78
|
+
energy-cpu: 0.001
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
name: time-sync
|
|
2
|
+
description: successful path
|
|
3
|
+
tags: null
|
|
4
|
+
initialize:
|
|
5
|
+
plugins:
|
|
6
|
+
time-sync:
|
|
7
|
+
path: builtin
|
|
8
|
+
method: TimeSync
|
|
9
|
+
global-config:
|
|
10
|
+
start-time: '2023-12-12T00:00:00.000Z'
|
|
11
|
+
end-time: '2023-12-12T00:01:00.000Z'
|
|
12
|
+
interval: 5
|
|
13
|
+
allow-padding: true
|
|
14
|
+
outputs:
|
|
15
|
+
- yaml
|
|
16
|
+
execution:
|
|
17
|
+
command: >-
|
|
18
|
+
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
19
|
+
/Users/mariamkhalatova/Projects/UK/if/src/index.ts -m
|
|
20
|
+
manifests/outputs/plugins/time-sync/success.yml -o
|
|
21
|
+
manifests/outputs/plugins/time-sync/success -s
|
|
22
|
+
environment:
|
|
23
|
+
if-version: 0.4.0
|
|
24
|
+
os: macOS
|
|
25
|
+
os-version: '13.2'
|
|
26
|
+
node-version: 18.14.2
|
|
27
|
+
date-time: 2024-07-02T21:12:32.629Z (UTC)
|
|
28
|
+
dependencies:
|
|
29
|
+
- '@babel/core@7.22.10'
|
|
30
|
+
- '@babel/preset-typescript@7.23.3'
|
|
31
|
+
- '@commitlint/cli@18.6.0'
|
|
32
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
33
|
+
- '@grnsft/if-core@0.0.10'
|
|
34
|
+
|
|
35
|
+
- '@jest/globals@29.7.0'
|
|
36
|
+
- '@types/jest@29.5.8'
|
|
37
|
+
- '@types/js-yaml@4.0.9'
|
|
38
|
+
- '@types/luxon@3.4.2'
|
|
39
|
+
- '@types/node@20.9.0'
|
|
40
|
+
- axios-mock-adapter@1.22.0
|
|
41
|
+
- axios@1.7.2
|
|
42
|
+
- cross-env@7.0.3
|
|
43
|
+
- csv-parse@5.5.6
|
|
44
|
+
- csv-stringify@6.4.6
|
|
45
|
+
- fixpack@4.0.0
|
|
46
|
+
- gts@5.2.0
|
|
47
|
+
- husky@8.0.3
|
|
48
|
+
- jest@29.7.0
|
|
49
|
+
- js-yaml@4.1.0
|
|
50
|
+
- lint-staged@15.2.2
|
|
51
|
+
- luxon@3.4.4
|
|
52
|
+
- release-it@16.3.0
|
|
53
|
+
- rimraf@5.0.5
|
|
54
|
+
- ts-command-line-args@2.5.1
|
|
55
|
+
- ts-jest@29.1.1
|
|
56
|
+
- typescript-cubic-spline@1.0.1
|
|
57
|
+
- typescript@5.2.2
|
|
58
|
+
- winston@3.11.0
|
|
59
|
+
- zod@3.22.4
|
|
60
|
+
status: success
|
|
61
|
+
tree:
|
|
62
|
+
children:
|
|
63
|
+
child:
|
|
64
|
+
pipeline:
|
|
65
|
+
- time-sync
|
|
66
|
+
config: null
|
|
67
|
+
inputs:
|
|
68
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
69
|
+
duration: 1
|
|
70
|
+
energy-cpu: 0.001
|
|
71
|
+
- timestamp: '2023-12-12T00:00:01.000Z'
|
|
72
|
+
duration: 5
|
|
73
|
+
energy-cpu: 0.001
|
|
74
|
+
- timestamp: '2023-12-12T00:00:06.000Z'
|
|
75
|
+
duration: 7
|
|
76
|
+
energy-cpu: 0.001
|
|
77
|
+
- timestamp: '2023-12-12T00:00:13.000Z'
|
|
78
|
+
duration: 30
|
|
79
|
+
energy-cpu: 0.001
|
|
80
|
+
outputs:
|
|
81
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
82
|
+
duration: 5
|
|
83
|
+
energy-cpu: 0.0018000000000000004
|
|
84
|
+
- timestamp: '2023-12-12T00:00:05.000Z'
|
|
85
|
+
duration: 5
|
|
86
|
+
energy-cpu: 0.0007714285714285716
|
|
87
|
+
- timestamp: '2023-12-12T00:00:10.000Z'
|
|
88
|
+
duration: 5
|
|
89
|
+
energy-cpu: 0.0004952380952380952
|
|
90
|
+
- timestamp: '2023-12-12T00:00:15.000Z'
|
|
91
|
+
duration: 5
|
|
92
|
+
energy-cpu: 0.0001666666666666667
|
|
93
|
+
- timestamp: '2023-12-12T00:00:20.000Z'
|
|
94
|
+
duration: 5
|
|
95
|
+
energy-cpu: 0.0001666666666666667
|
|
96
|
+
- timestamp: '2023-12-12T00:00:25.000Z'
|
|
97
|
+
duration: 5
|
|
98
|
+
energy-cpu: 0.0001666666666666667
|
|
99
|
+
- timestamp: '2023-12-12T00:00:30.000Z'
|
|
100
|
+
duration: 5
|
|
101
|
+
energy-cpu: 0.0001666666666666667
|
|
102
|
+
- timestamp: '2023-12-12T00:00:35.000Z'
|
|
103
|
+
duration: 5
|
|
104
|
+
energy-cpu: 0.0001666666666666667
|
|
105
|
+
- timestamp: '2023-12-12T00:00:40.000Z'
|
|
106
|
+
duration: 5
|
|
107
|
+
energy-cpu: 0.0001
|
|
108
|
+
- timestamp: '2023-12-12T00:00:45.000Z'
|
|
109
|
+
duration: 5
|
|
110
|
+
energy-cpu: 0
|
|
111
|
+
- timestamp: '2023-12-12T00:00:50.000Z'
|
|
112
|
+
duration: 5
|
|
113
|
+
energy-cpu: 0
|
|
114
|
+
- timestamp: '2023-12-12T00:00:55.000Z'
|
|
115
|
+
duration: 5
|
|
116
|
+
energy-cpu: 0
|
|
117
|
+
- timestamp: '2023-12-12T00:01:00.000Z'
|
|
118
|
+
duration: 1
|
|
119
|
+
energy-cpu: 0
|
package/package.json
CHANGED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
name: aggregation-error-wrong-metric
|
|
2
|
-
description: a negative test case that fails due to the aggregation feature being passed an incorrect metric
|
|
3
|
-
tags:
|
|
4
|
-
aggregation:
|
|
5
|
-
metrics:
|
|
6
|
-
- "dummy-param"
|
|
7
|
-
type: "both"
|
|
8
|
-
initialize:
|
|
9
|
-
plugins:
|
|
10
|
-
"interpolate":
|
|
11
|
-
method: Interpolation
|
|
12
|
-
path: 'builtin'
|
|
13
|
-
global-config:
|
|
14
|
-
method: linear
|
|
15
|
-
x: [0, 10, 50, 100]
|
|
16
|
-
y: [0.12, 0.32, 0.75, 1.02]
|
|
17
|
-
input-parameter: 'cpu/utilization'
|
|
18
|
-
output-parameter: 'cpu-factor'
|
|
19
|
-
"cpu-factor-to-wattage":
|
|
20
|
-
method: Multiply
|
|
21
|
-
path: builtin
|
|
22
|
-
global-config:
|
|
23
|
-
input-parameters: ["cpu-factor", "cpu/thermal-design-power"]
|
|
24
|
-
output-parameter: "cpu-wattage"
|
|
25
|
-
"wattage-times-duration":
|
|
26
|
-
method: Multiply
|
|
27
|
-
path: builtin
|
|
28
|
-
global-config:
|
|
29
|
-
input-parameters: ["cpu-wattage", "duration"]
|
|
30
|
-
output-parameter: "cpu-wattage-times-duration"
|
|
31
|
-
"wattage-to-energy-kwh":
|
|
32
|
-
method: Divide
|
|
33
|
-
path: "builtin"
|
|
34
|
-
global-config:
|
|
35
|
-
numerator: cpu-wattage-times-duration
|
|
36
|
-
denominator: 3600000
|
|
37
|
-
output: cpu-energy-raw
|
|
38
|
-
"calculate-vcpu-ratio":
|
|
39
|
-
method: Divide
|
|
40
|
-
path: "builtin"
|
|
41
|
-
global-config:
|
|
42
|
-
numerator: vcpus-total
|
|
43
|
-
denominator: vcpus-allocated
|
|
44
|
-
output: vcpu-ratio
|
|
45
|
-
"correct-cpu-energy-for-vcpu-ratio":
|
|
46
|
-
method: Divide
|
|
47
|
-
path: "builtin"
|
|
48
|
-
global-config:
|
|
49
|
-
numerator: cpu-energy-raw
|
|
50
|
-
denominator: vcpu-ratio
|
|
51
|
-
output: cpu-energy-kwh
|
|
52
|
-
"sci-embodied":
|
|
53
|
-
path: "builtin"
|
|
54
|
-
method: SciEmbodied
|
|
55
|
-
"operational-carbon":
|
|
56
|
-
method: Multiply
|
|
57
|
-
path: builtin
|
|
58
|
-
global-config:
|
|
59
|
-
input-parameters: ["cpu-energy-kwh", "grid/carbon-intensity"]
|
|
60
|
-
output-parameter: "carbon"
|
|
61
|
-
"sci":
|
|
62
|
-
path: "builtin"
|
|
63
|
-
method: Sci
|
|
64
|
-
global-config:
|
|
65
|
-
functional-unit: "requests"
|
|
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
|
-
"group-by":
|
|
75
|
-
path: builtin
|
|
76
|
-
method: GroupBy
|
|
77
|
-
tree:
|
|
78
|
-
children:
|
|
79
|
-
child-1:
|
|
80
|
-
pipeline:
|
|
81
|
-
- interpolate
|
|
82
|
-
- cpu-factor-to-wattage
|
|
83
|
-
- wattage-times-duration
|
|
84
|
-
- wattage-to-energy-kwh
|
|
85
|
-
- calculate-vcpu-ratio
|
|
86
|
-
- correct-cpu-energy-for-vcpu-ratio
|
|
87
|
-
- sci-embodied
|
|
88
|
-
- operational-carbon
|
|
89
|
-
- time-sync
|
|
90
|
-
- sci
|
|
91
|
-
config:
|
|
92
|
-
group-by:
|
|
93
|
-
group:
|
|
94
|
-
- cloud/region
|
|
95
|
-
- cloud/instance-type
|
|
96
|
-
defaults:
|
|
97
|
-
cpu/thermal-design-power: 100
|
|
98
|
-
grid/carbon-intensity: 800
|
|
99
|
-
device/emissions-embodied: 1533.120 # gCO2eq
|
|
100
|
-
time-reserved: 3600 # 1hr in seconds
|
|
101
|
-
device/expected-lifespan: 94608000 # 3 years in seconds
|
|
102
|
-
vcpus-allocated: 1
|
|
103
|
-
vcpus-total: 8
|
|
104
|
-
inputs:
|
|
105
|
-
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
106
|
-
cloud/instance-type: A1
|
|
107
|
-
cloud/region: uk-west
|
|
108
|
-
duration: 1
|
|
109
|
-
cpu/utilization: 10
|
|
110
|
-
requests: 100
|
|
111
|
-
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
112
|
-
duration: 5
|
|
113
|
-
cpu/utilization: 20
|
|
114
|
-
cloud/instance-type: A1
|
|
115
|
-
cloud/region: uk-west
|
|
116
|
-
requests: 100
|
|
117
|
-
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
118
|
-
duration: 7
|
|
119
|
-
cpu/utilization: 15
|
|
120
|
-
cloud/instance-type: A1
|
|
121
|
-
cloud/region: uk-west
|
|
122
|
-
requests: 100
|
|
123
|
-
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
124
|
-
duration: 30
|
|
125
|
-
cloud/instance-type: A1
|
|
126
|
-
cloud/region: uk-west
|
|
127
|
-
cpu/utilization: 15
|
|
128
|
-
requests: 100
|
|
129
|
-
child-2:
|
|
130
|
-
pipeline:
|
|
131
|
-
- interpolate
|
|
132
|
-
- cpu-factor-to-wattage
|
|
133
|
-
- wattage-times-duration
|
|
134
|
-
- wattage-to-energy-kwh
|
|
135
|
-
- calculate-vcpu-ratio
|
|
136
|
-
- correct-cpu-energy-for-vcpu-ratio
|
|
137
|
-
- sci-embodied
|
|
138
|
-
- operational-carbon
|
|
139
|
-
- time-sync
|
|
140
|
-
- sci
|
|
141
|
-
config:
|
|
142
|
-
group-by:
|
|
143
|
-
group:
|
|
144
|
-
- cloud/region
|
|
145
|
-
- cloud/instance-type
|
|
146
|
-
defaults:
|
|
147
|
-
cpu/thermal-design-power: 100
|
|
148
|
-
grid/carbon-intensity: 800
|
|
149
|
-
device/emissions-embodied: 1533.120 # gCO2eq
|
|
150
|
-
time-reserved: 3600 # 1hr in seconds
|
|
151
|
-
device/expected-lifespan: 94608000 # 3 years in seconds
|
|
152
|
-
vcpus-allocated: 1
|
|
153
|
-
vcpus-total: 8
|
|
154
|
-
inputs:
|
|
155
|
-
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
156
|
-
duration: 1
|
|
157
|
-
cpu/utilization: 30
|
|
158
|
-
cloud/instance-type: A1
|
|
159
|
-
cloud/region: uk-west
|
|
160
|
-
requests: 100
|
|
161
|
-
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
162
|
-
duration: 5
|
|
163
|
-
cpu/utilization: 28
|
|
164
|
-
cloud/instance-type: A1
|
|
165
|
-
cloud/region: uk-west
|
|
166
|
-
requests: 100
|
|
167
|
-
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
168
|
-
duration: 7
|
|
169
|
-
cpu/utilization: 40
|
|
170
|
-
cloud/instance-type: A1
|
|
171
|
-
cloud/region: uk-west
|
|
172
|
-
requests: 100
|
|
173
|
-
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
174
|
-
duration: 30
|
|
175
|
-
cpu/utilization: 33
|
|
176
|
-
cloud/instance-type: A1
|
|
177
|
-
cloud/region: uk-west
|
|
178
|
-
requests: 100
|