@grnsft/if 0.6.0-beta.0 → 0.7.0-beta.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/Refactor-migration-guide.md +68 -82
- package/github-processes.md +3 -9
- package/manifests/examples/builtins/coefficient/failure-invalid-config-input-param.yml +2 -4
- package/manifests/examples/builtins/coefficient/failure-output-param-is-null.yaml +1 -3
- package/manifests/examples/builtins/coefficient/success.yml +1 -3
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +1 -2
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +3 -4
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yml +2 -3
- package/manifests/examples/builtins/csv-lookup/cloud-metadata/success.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/region-metadata/failure-missing-column.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/region-metadata/failure-missing-output.yml +2 -2
- package/manifests/examples/builtins/csv-lookup/region-metadata/success-renaming.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/region-metadata/success.yml +1 -1
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-missing-input-param.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yml +1 -2
- package/manifests/examples/builtins/csv-lookup/tdp-finder/success.yml +1 -2
- package/manifests/examples/builtins/divide/failure-invalid-config-denominator.yml +3 -5
- package/manifests/examples/builtins/divide/failure-missing-numerator.yml +2 -4
- package/manifests/examples/builtins/divide/success.yml +2 -2
- package/manifests/examples/builtins/exponent/success.yml +1 -1
- package/manifests/examples/builtins/interpolation/success.yml +1 -1
- package/manifests/examples/builtins/mock-observations/failure-invalid-config-cpu-range.yml +2 -2
- package/manifests/examples/builtins/mock-observations/failure-invalid-memory-utilization-range.yml +1 -1
- package/manifests/examples/builtins/mock-observations/failure-missing-timestamp-from-param.yml +1 -1
- package/manifests/examples/builtins/mock-observations/success.yml +1 -1
- package/manifests/examples/builtins/multiply/failure-input-parameter-is-missing.yml +1 -1
- package/manifests/examples/builtins/multiply/success-with-multiple-inputs.yml +1 -1
- package/manifests/examples/builtins/multiply/success.yml +1 -1
- package/manifests/examples/builtins/regex/failure-missing-input-param.yml +1 -1
- package/manifests/examples/builtins/regex/failure-not-matching-with-regex.yml +2 -2
- package/manifests/examples/builtins/regex/success.yml +1 -1
- package/manifests/examples/builtins/sci/failure-invalid-config-value.yml +3 -4
- package/manifests/examples/builtins/sci/failure-missing-input-param.yml +1 -1
- package/manifests/examples/builtins/sci/success.yml +1 -1
- package/manifests/examples/builtins/sci-embodied/scenario-1.yml +27 -0
- package/manifests/examples/builtins/sci-embodied/scenario-2.yml +37 -0
- package/manifests/examples/builtins/sci-embodied/success.yml +13 -0
- package/manifests/examples/builtins/shell/failure-invalid-command.yml +2 -2
- package/manifests/examples/builtins/shell/success.yml +2 -2
- package/manifests/examples/builtins/subtract/success.yml +1 -1
- package/manifests/examples/builtins/sum/failure-missing-input-param.yml +2 -2
- package/manifests/examples/builtins/sum/failure-missing-output-param.yml +2 -2
- package/manifests/examples/builtins/sum/success.yml +1 -1
- package/manifests/examples/builtins/time-converter/success.yaml +24 -0
- package/manifests/examples/builtins/time-sync/failure-config-start-later-end.yml +10 -12
- package/manifests/examples/builtins/time-sync/{failure-missing-global-config.yml → failure-missing-config.yml} +3 -8
- package/manifests/examples/builtins/time-sync/success.yml +2 -2
- package/manifests/examples/features/regroup/failure-missing-cloud-instance-type.yml +1 -1
- package/manifests/examples/features/regroup/success.yml +1 -1
- package/manifests/examples/pipelines/generics.yml +8 -8
- package/manifests/examples/pipelines/instance-metadata.yml +2 -2
- package/manifests/examples/pipelines/nesting.yml +75 -33
- package/manifests/examples/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml +166 -122
- package/manifests/examples/pipelines/outputs-if-diff/pipeline-with-mocks.yaml +130 -70
- package/manifests/examples/pipelines/pipeline-teads-sci.yml +15 -15
- package/manifests/examples/pipelines/pipeline-with-aggregate.yml +57 -27
- package/manifests/examples/pipelines/pipeline-with-mocks.yml +99 -41
- package/manifests/examples/pipelines/scenario-3.yml +1 -1
- package/manifests/examples/pipelines/scenario-4.yml +5 -5
- package/manifests/examples/pipelines/scenario-5.yml +3 -3
- package/manifests/examples/pipelines/sci.yml +12 -12
- package/manifests/examples/pipelines/teads-curve.yml +10 -10
- package/manifests/examples/pipelines/zeros.yml +23 -23
- package/manifests/outputs/bugs/aggregation-error-wrong-metric.yaml +40 -40
- package/manifests/outputs/bugs/input-error-missing-duration.yaml +1 -1
- package/manifests/outputs/bugs/mock-observations-failure-duration-is-zero.yaml +2 -2
- package/manifests/outputs/bugs/pipeline-error-naming-mismatch.yaml +1 -1
- package/manifests/outputs/bugs/pipeline-error-uninitialized-plugin.yaml +1 -1
- package/manifests/outputs/bugs/pipeline-ordering-error.yaml +6 -6
- package/manifests/outputs/builtins/coefficient/failure-invalid-config-input-param.yaml +2 -2
- package/manifests/outputs/builtins/coefficient/failure-output-param-is-null.yaml +1 -1
- package/manifests/outputs/builtins/coefficient/success.yaml +23 -22
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-invalid-instance-type.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-invalid-vendor.yaml +76 -0
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/failure-missing-cloud-vendor.yaml +22 -21
- package/manifests/outputs/builtins/csv-lookup/cloud-metadata/success.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/failure-missing-column.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/failure-missing-output.yaml +21 -20
- package/manifests/outputs/builtins/csv-lookup/region-metadata/success-renaming.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/region-metadata/success.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/failure-unsupported-physical-processor.yaml +1 -1
- package/manifests/outputs/builtins/csv-lookup/tdp-finder/success.yaml +1 -1
- package/manifests/outputs/builtins/divide/failure-invalid-config-denominator.yaml +41 -25
- package/manifests/outputs/builtins/divide/failure-missing-numerator.yaml +32 -23
- package/manifests/outputs/builtins/divide/success-denominator-equal-zero.yaml +2 -2
- package/manifests/outputs/builtins/divide/success.yaml +2 -2
- package/manifests/outputs/builtins/exponent/success.yaml +1 -1
- package/manifests/outputs/builtins/interpolation/interpolation.yaml +1 -1
- package/manifests/outputs/builtins/interpolation/success.yaml +1 -1
- package/manifests/outputs/builtins/mock-observations/failure-invalid-config-cpu-range.yaml +3 -3
- package/manifests/outputs/builtins/mock-observations/failure-invalid-memory-utilization-range.yaml +2 -2
- package/manifests/outputs/builtins/mock-observations/failure-missing-timestamp-from-param.yaml +1 -1
- package/manifests/outputs/builtins/mock-observations/success.yaml +49 -190
- package/manifests/outputs/builtins/multiply/failure-input-parameter-is-missing.yaml +1 -1
- package/manifests/outputs/builtins/multiply/success-with-multiple-inputs.yaml +1 -1
- package/manifests/outputs/builtins/multiply/success.yaml +1 -1
- package/manifests/outputs/builtins/regex/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/regex/failure-not-matching-with-regex.yaml +72 -0
- package/manifests/outputs/builtins/regex/success.yaml +1 -1
- package/manifests/outputs/builtins/sci/failure-invalid-config-value.yaml +22 -23
- package/manifests/outputs/builtins/sci/failure-missing-input-param.yaml +1 -1
- package/manifests/outputs/builtins/sci/success.yaml +1 -1
- package/manifests/outputs/builtins/sci-embodied/failure-invalid-default-emission-value.yaml +22 -26
- package/manifests/outputs/builtins/sci-embodied/scenario-1.yaml +100 -0
- package/manifests/outputs/builtins/sci-embodied/scenario-2.yaml +101 -0
- package/manifests/outputs/builtins/sci-embodied/success.yaml +44 -20
- package/manifests/outputs/builtins/shell/failure-invalid-command.yaml +2 -2
- package/manifests/outputs/builtins/shell/success.yaml +1 -1
- package/manifests/outputs/builtins/subtract/success.yaml +1 -1
- package/manifests/outputs/builtins/sum/failure-missing-input-param.yaml +2 -2
- package/manifests/outputs/builtins/sum/failure-missing-output-param.yaml +2 -2
- package/manifests/outputs/builtins/sum/success.yaml +1 -1
- package/manifests/outputs/builtins/time-converter/success.yaml +73 -0
- package/manifests/outputs/builtins/time-sync/failure-config-start-later-end.yaml +3 -3
- package/manifests/outputs/builtins/time-sync/failure-missing-config.yaml +74 -0
- package/manifests/outputs/builtins/time-sync/success.yaml +50 -59
- package/manifests/outputs/features/aggregate-failure-invalid-metrics.yaml +1 -1
- package/manifests/outputs/features/aggregate-failure-missing-metric-in-inputs.yaml +1 -1
- package/manifests/outputs/features/aggregate-horizontal.yaml +4 -2
- package/manifests/outputs/features/aggregate-vertical.yaml +4 -2
- package/manifests/outputs/features/aggregate.yaml +4 -2
- package/manifests/outputs/features/regroup/failure-invalid-regroup.yaml +87 -0
- package/manifests/outputs/features/regroup/failure-missing-cloud-instance-type.yaml +87 -0
- package/manifests/outputs/pipelines/cloud-metadata-divide.yaml +2 -2
- package/manifests/outputs/pipelines/generics.yaml +28 -28
- package/manifests/outputs/pipelines/instance-metadata.yaml +14 -14
- package/manifests/outputs/pipelines/nesting.yaml +713 -486
- package/manifests/outputs/pipelines/pipeline-teads-sci.yaml +63 -32
- package/manifests/outputs/pipelines/scenario-4.yaml +105 -0
- package/manifests/outputs/pipelines/sci.yaml +56 -32
- package/manifests/outputs/pipelines/teads-curve.yaml +18 -18
- package/manifests/outputs/pipelines/zeros.yaml +27 -27
- package/package.json +7 -5
- package/src/__mocks__/mock-manifest.yaml +1 -2
- package/src/if-env/config/env-template.yml +1 -2
- package/src/if-run/builtins/coefficient/README.md +41 -17
- package/src/if-run/builtins/copy-param/README.md +28 -8
- package/src/if-run/builtins/csv-lookup/README.md +31 -11
- package/src/if-run/builtins/divide/README.md +34 -12
- package/src/if-run/builtins/exponent/README.md +29 -11
- package/src/if-run/builtins/interpolation/README.md +37 -22
- package/src/if-run/builtins/mock-observations/README.md +27 -7
- package/src/if-run/builtins/multiply/README.md +27 -9
- package/src/if-run/builtins/regex/README.md +31 -11
- package/src/if-run/builtins/sci/README.md +29 -8
- package/src/if-run/builtins/sci-embodied/README.md +76 -75
- package/src/if-run/builtins/shell/README.md +15 -7
- package/src/if-run/builtins/subtract/README.md +28 -11
- package/src/if-run/builtins/sum/README.md +47 -14
- package/src/if-run/builtins/time-converter/README.md +136 -0
- package/src/if-run/builtins/time-sync/README.md +44 -22
- package/.gitmodules +0 -3
- package/build/common/config/index.d.ts +0 -1
- package/build/common/config/index.js +0 -6
- package/build/common/config/strings.d.ts +0 -8
- package/build/common/config/strings.js +0 -16
- package/build/common/lib/load.d.ts +0 -6
- package/build/common/lib/load.js +0 -18
- package/build/common/types/manifest.d.ts +0 -13
- package/build/common/types/manifest.js +0 -3
- package/build/common/util/debug-logger.d.ts +0 -4
- package/build/common/util/debug-logger.js +0 -115
- package/build/common/util/fs.d.ts +0 -20
- package/build/common/util/fs.js +0 -94
- package/build/common/util/helpers.d.ts +0 -15
- package/build/common/util/helpers.js +0 -80
- package/build/common/util/logger.d.ts +0 -5
- package/build/common/util/logger.js +0 -39
- package/build/common/util/validations.d.ts +0 -367
- package/build/common/util/validations.js +0 -141
- package/build/common/util/yaml.d.ts +0 -12
- package/build/common/util/yaml.js +0 -59
- package/build/if-check/config/config.d.ts +0 -6
- package/build/if-check/config/config.js +0 -31
- package/build/if-check/config/index.d.ts +0 -2
- package/build/if-check/config/index.js +0 -8
- package/build/if-check/config/strings.d.ts +0 -12
- package/build/if-check/config/strings.js +0 -16
- package/build/if-check/index.d.ts +0 -2
- package/build/if-check/index.js +0 -98
- package/build/if-check/types/process-args.d.ts +0 -4
- package/build/if-check/types/process-args.js +0 -3
- package/build/if-check/util/args.d.ts +0 -10
- package/build/if-check/util/args.js +0 -56
- package/build/if-check/util/helpers.d.ts +0 -4
- package/build/if-check/util/helpers.js +0 -18
- package/build/if-check/util/npm.d.ts +0 -4
- package/build/if-check/util/npm.js +0 -59
- package/build/if-csv/config/config.d.ts +0 -6
- package/build/if-csv/config/config.js +0 -37
- package/build/if-csv/config/index.d.ts +0 -2
- package/build/if-csv/config/index.js +0 -8
- package/build/if-csv/config/strings.d.ts +0 -4
- package/build/if-csv/config/strings.js +0 -8
- package/build/if-csv/index.d.ts +0 -2
- package/build/if-csv/index.js +0 -63
- package/build/if-csv/types/csv.d.ts +0 -7
- package/build/if-csv/types/csv.js +0 -3
- package/build/if-csv/types/process-args.d.ts +0 -5
- package/build/if-csv/types/process-args.js +0 -3
- package/build/if-csv/util/args.d.ts +0 -12
- package/build/if-csv/util/args.js +0 -51
- package/build/if-csv/util/helpers.d.ts +0 -9
- package/build/if-csv/util/helpers.js +0 -95
- package/build/if-diff/config/config.d.ts +0 -6
- package/build/if-diff/config/config.js +0 -31
- package/build/if-diff/config/index.d.ts +0 -2
- package/build/if-diff/config/index.js +0 -8
- package/build/if-diff/config/strings.d.ts +0 -6
- package/build/if-diff/config/strings.js +0 -10
- package/build/if-diff/index.d.ts +0 -2
- package/build/if-diff/index.js +0 -46
- package/build/if-diff/lib/compare.d.ts +0 -10
- package/build/if-diff/lib/compare.js +0 -56
- package/build/if-diff/lib/load.d.ts +0 -55
- package/build/if-diff/lib/load.js +0 -51
- package/build/if-diff/types/args.d.ts +0 -5
- package/build/if-diff/types/args.js +0 -3
- package/build/if-diff/types/compare.d.ts +0 -7
- package/build/if-diff/types/compare.js +0 -3
- package/build/if-diff/types/process-args.d.ts +0 -4
- package/build/if-diff/types/process-args.js +0 -3
- package/build/if-diff/util/args.d.ts +0 -5
- package/build/if-diff/util/args.js +0 -51
- package/build/if-diff/util/helpers.d.ts +0 -13
- package/build/if-diff/util/helpers.js +0 -75
- package/build/if-env/config/config.d.ts +0 -6
- package/build/if-env/config/config.js +0 -37
- package/build/if-env/config/index.d.ts +0 -2
- package/build/if-env/config/index.js +0 -8
- package/build/if-env/config/strings.d.ts +0 -7
- package/build/if-env/config/strings.js +0 -11
- package/build/if-env/index.d.ts +0 -2
- package/build/if-env/index.js +0 -40
- package/build/if-env/types/if-env.d.ts +0 -8
- package/build/if-env/types/if-env.js +0 -3
- package/build/if-env/types/npm.d.ts +0 -9
- package/build/if-env/types/npm.js +0 -3
- package/build/if-env/types/process-args.d.ts +0 -5
- package/build/if-env/types/process-args.js +0 -3
- package/build/if-env/util/args.d.ts +0 -12
- package/build/if-env/util/args.js +0 -47
- package/build/if-env/util/helpers.d.ts +0 -20
- package/build/if-env/util/helpers.js +0 -94
- package/build/if-env/util/npm.d.ts +0 -24
- package/build/if-env/util/npm.js +0 -126
- package/build/if-run/builtins/coefficient/index.d.ts +0 -2
- package/build/if-run/builtins/coefficient/index.js +0 -67
- package/build/if-run/builtins/copy-param/index.d.ts +0 -2
- package/build/if-run/builtins/copy-param/index.js +0 -70
- package/build/if-run/builtins/csv-lookup/index.d.ts +0 -2
- package/build/if-run/builtins/csv-lookup/index.js +0 -190
- package/build/if-run/builtins/divide/index.d.ts +0 -2
- package/build/if-run/builtins/divide/index.js +0 -80
- package/build/if-run/builtins/exponent/index.d.ts +0 -2
- package/build/if-run/builtins/exponent/index.js +0 -60
- package/build/if-run/builtins/export-log.d.ts +0 -4
- package/build/if-run/builtins/export-log.js +0 -44
- package/build/if-run/builtins/export-yaml.d.ts +0 -4
- package/build/if-run/builtins/export-yaml.js +0 -30
- package/build/if-run/builtins/index.d.ts +0 -15
- package/build/if-run/builtins/index.js +0 -34
- package/build/if-run/builtins/interpolation/index.d.ts +0 -2
- package/build/if-run/builtins/interpolation/index.js +0 -151
- package/build/if-run/builtins/mock-observations/helpers/common-generator.d.ts +0 -3
- package/build/if-run/builtins/mock-observations/helpers/common-generator.js +0 -29
- package/build/if-run/builtins/mock-observations/helpers/rand-int-generator.d.ts +0 -3
- package/build/if-run/builtins/mock-observations/helpers/rand-int-generator.js +0 -48
- package/build/if-run/builtins/mock-observations/index.d.ts +0 -2
- package/build/if-run/builtins/mock-observations/index.js +0 -116
- package/build/if-run/builtins/mock-observations/interfaces/index.d.ts +0 -6
- package/build/if-run/builtins/mock-observations/interfaces/index.js +0 -3
- package/build/if-run/builtins/multiply/index.d.ts +0 -2
- package/build/if-run/builtins/multiply/index.js +0 -59
- package/build/if-run/builtins/regex/index.d.ts +0 -2
- package/build/if-run/builtins/regex/index.js +0 -76
- package/build/if-run/builtins/sci/config.d.ts +0 -1
- package/build/if-run/builtins/sci/config.js +0 -44
- package/build/if-run/builtins/sci/index.d.ts +0 -2
- package/build/if-run/builtins/sci/index.js +0 -92
- package/build/if-run/builtins/sci-embodied/index.d.ts +0 -2
- package/build/if-run/builtins/sci-embodied/index.js +0 -156
- package/build/if-run/builtins/shell/index.d.ts +0 -2
- package/build/if-run/builtins/shell/index.js +0 -60
- package/build/if-run/builtins/subtract/index.d.ts +0 -2
- package/build/if-run/builtins/subtract/index.js +0 -61
- package/build/if-run/builtins/sum/index.d.ts +0 -2
- package/build/if-run/builtins/sum/index.js +0 -66
- package/build/if-run/builtins/time-sync/index.d.ts +0 -17
- package/build/if-run/builtins/time-sync/index.js +0 -339
- package/build/if-run/config/config.d.ts +0 -9
- package/build/if-run/config/config.js +0 -73
- package/build/if-run/config/index.d.ts +0 -2
- package/build/if-run/config/index.js +0 -8
- package/build/if-run/config/strings.d.ts +0 -64
- package/build/if-run/config/strings.js +0 -76
- package/build/if-run/index.d.ts +0 -2
- package/build/if-run/index.js +0 -63
- package/build/if-run/lib/aggregate.d.ts +0 -15
- package/build/if-run/lib/aggregate.js +0 -123
- package/build/if-run/lib/compute.d.ts +0 -5
- package/build/if-run/lib/compute.js +0 -136
- package/build/if-run/lib/environment.d.ts +0 -5
- package/build/if-run/lib/environment.js +0 -75
- package/build/if-run/lib/exhaust.d.ts +0 -7
- package/build/if-run/lib/exhaust.js +0 -27
- package/build/if-run/lib/explain.d.ts +0 -9
- package/build/if-run/lib/explain.js +0 -43
- package/build/if-run/lib/initialize.d.ts +0 -6
- package/build/if-run/lib/initialize.js +0 -109
- package/build/if-run/lib/regroup.d.ts +0 -5
- package/build/if-run/lib/regroup.js +0 -64
- package/build/if-run/types/aggregation.d.ts +0 -5
- package/build/if-run/types/aggregation.js +0 -6
- package/build/if-run/types/compute.d.ts +0 -29
- package/build/if-run/types/compute.js +0 -3
- package/build/if-run/types/environment.d.ts +0 -18
- package/build/if-run/types/environment.js +0 -3
- package/build/if-run/types/exhaust-plugin-interface.d.ts +0 -7
- package/build/if-run/types/exhaust-plugin-interface.js +0 -3
- package/build/if-run/types/explain.d.ts +0 -10
- package/build/if-run/types/explain.js +0 -3
- package/build/if-run/types/interface.d.ts +0 -3
- package/build/if-run/types/interface.js +0 -6
- package/build/if-run/types/plugin-storage.d.ts +0 -6
- package/build/if-run/types/plugin-storage.js +0 -3
- package/build/if-run/types/process-args.d.ts +0 -25
- package/build/if-run/types/process-args.js +0 -3
- package/build/if-run/types/time-sync.d.ts +0 -17
- package/build/if-run/types/time-sync.js +0 -3
- package/build/if-run/util/aggregation-helper.d.ts +0 -7
- package/build/if-run/util/aggregation-helper.js +0 -47
- package/build/if-run/util/args.d.ts +0 -9
- package/build/if-run/util/args.js +0 -60
- package/build/if-run/util/helpers.d.ts +0 -14
- package/build/if-run/util/helpers.js +0 -57
- package/build/if-run/util/log-memoize.d.ts +0 -3
- package/build/if-run/util/log-memoize.js +0 -19
- package/build/if-run/util/os-checker.d.ts +0 -7
- package/build/if-run/util/os-checker.js +0 -97
- package/build/if-run/util/plugin-storage.d.ts +0 -14
- package/build/if-run/util/plugin-storage.js +0 -34
- package/grafana/IF_GRAFANA_SETUP.md +0 -71
- package/grafana/if_grafana_config.json +0 -370
- package/manifests/examples/builtins/divide/failure-denominator-equal-zero.yml +0 -38
- package/manifests/examples/builtins/interpolation/interpolation.yml +0 -24
- package/manifests/examples/builtins/sci-embodied/failure-invalid-default-emission-value.yml +0 -23
- package/manifests/examples/builtins/sci-embodied/failure-missing-expected-lifespan.yml +0 -23
- package/manifests/examples/pipelines/scenario-1.yml +0 -34
- package/manifests/examples/pipelines/scenario-2.yml +0 -52
- package/manifests/outputs/bugs/sci-embodied-missing-resources-total.yaml +0 -72
- package/manifests/outputs/builtins/sci-embodied/failure-missing-expected-lifespan.yaml +0 -69
- package/manifests/outputs/pipelines/mock-obs-time-sync.yaml +0 -449
|
@@ -10,7 +10,7 @@ initialize:
|
|
|
10
10
|
mock-observations:
|
|
11
11
|
path: builtin
|
|
12
12
|
method: MockObservations
|
|
13
|
-
|
|
13
|
+
config:
|
|
14
14
|
timestamp-from: 2023-12-12T00:00
|
|
15
15
|
timestamp-to: 2023-12-12T00:10
|
|
16
16
|
duration: 60
|
|
@@ -28,23 +28,31 @@ initialize:
|
|
|
28
28
|
timestamp:
|
|
29
29
|
unit: RFC3339
|
|
30
30
|
description: refers to the time of occurrence of the input
|
|
31
|
-
aggregation-method:
|
|
31
|
+
aggregation-method:
|
|
32
|
+
time: none
|
|
33
|
+
component: none
|
|
32
34
|
duration:
|
|
33
35
|
unit: seconds
|
|
34
36
|
description: refers to the duration of the input
|
|
35
|
-
aggregation-method:
|
|
37
|
+
aggregation-method:
|
|
38
|
+
time: sum
|
|
39
|
+
component: sum
|
|
36
40
|
cloud/instance-type:
|
|
37
41
|
unit: none
|
|
38
42
|
description: type of Cloud Instance name used in the cloud provider APIs
|
|
39
|
-
aggregation-method:
|
|
43
|
+
aggregation-method:
|
|
44
|
+
time: none
|
|
45
|
+
component: none
|
|
40
46
|
cloud/region:
|
|
41
47
|
unit: none
|
|
42
48
|
description: region cloud instance
|
|
43
|
-
aggregation-method:
|
|
49
|
+
aggregation-method:
|
|
50
|
+
time: none
|
|
51
|
+
component: none
|
|
44
52
|
interpolate:
|
|
45
53
|
path: builtin
|
|
46
54
|
method: Interpolation
|
|
47
|
-
|
|
55
|
+
config:
|
|
48
56
|
method: linear
|
|
49
57
|
x:
|
|
50
58
|
- 0
|
|
@@ -63,16 +71,20 @@ initialize:
|
|
|
63
71
|
cpu/utilization:
|
|
64
72
|
unit: percentage
|
|
65
73
|
description: refers to CPU utilization.
|
|
66
|
-
aggregation-method:
|
|
74
|
+
aggregation-method:
|
|
75
|
+
time: avg
|
|
76
|
+
component: avg
|
|
67
77
|
outputs:
|
|
68
78
|
cpu-factor:
|
|
69
79
|
unit: kWh
|
|
70
80
|
description: result of interpolate
|
|
71
|
-
aggregation-method:
|
|
81
|
+
aggregation-method:
|
|
82
|
+
time: avg
|
|
83
|
+
component: avg
|
|
72
84
|
cpu-factor-to-wattage:
|
|
73
85
|
path: builtin
|
|
74
86
|
method: Multiply
|
|
75
|
-
|
|
87
|
+
config:
|
|
76
88
|
input-parameters:
|
|
77
89
|
- cpu-factor
|
|
78
90
|
- cpu/thermal-design-power
|
|
@@ -82,20 +94,26 @@ initialize:
|
|
|
82
94
|
cpu-factor:
|
|
83
95
|
unit: kWh
|
|
84
96
|
description: result of interpolate
|
|
85
|
-
aggregation-method:
|
|
97
|
+
aggregation-method:
|
|
98
|
+
time: avg
|
|
99
|
+
component: avg
|
|
86
100
|
cpu/thermal-design-power:
|
|
87
101
|
unit: kWh
|
|
88
102
|
description: thermal design power for a processor
|
|
89
|
-
aggregation-method:
|
|
103
|
+
aggregation-method:
|
|
104
|
+
time: avg
|
|
105
|
+
component: avg
|
|
90
106
|
outputs:
|
|
91
107
|
cpu-wattage:
|
|
92
108
|
unit: kWh
|
|
93
109
|
description: the energy used by the CPU
|
|
94
|
-
aggregation-method:
|
|
110
|
+
aggregation-method:
|
|
111
|
+
time: sum
|
|
112
|
+
component: sum
|
|
95
113
|
wattage-times-duration:
|
|
96
114
|
path: builtin
|
|
97
115
|
method: Multiply
|
|
98
|
-
|
|
116
|
+
config:
|
|
99
117
|
input-parameters:
|
|
100
118
|
- cpu-wattage
|
|
101
119
|
- duration
|
|
@@ -105,20 +123,26 @@ initialize:
|
|
|
105
123
|
cpu-wattage:
|
|
106
124
|
unit: kWh
|
|
107
125
|
description: Energy used by the CPU
|
|
108
|
-
aggregation-method:
|
|
126
|
+
aggregation-method:
|
|
127
|
+
time: sum
|
|
128
|
+
component: sum
|
|
109
129
|
duration:
|
|
110
130
|
unit: seconds
|
|
111
131
|
description: Duration of the observation
|
|
112
|
-
aggregation-method:
|
|
132
|
+
aggregation-method:
|
|
133
|
+
time: sum
|
|
134
|
+
component: sum
|
|
113
135
|
outputs:
|
|
114
136
|
cpu-wattage-times-duration:
|
|
115
137
|
unit: kWh
|
|
116
138
|
description: CPU wattage multiplied by duration
|
|
117
|
-
aggregation-method:
|
|
139
|
+
aggregation-method:
|
|
140
|
+
time: sum
|
|
141
|
+
component: sum
|
|
118
142
|
wattage-to-energy-kwh:
|
|
119
143
|
path: builtin
|
|
120
144
|
method: Divide
|
|
121
|
-
|
|
145
|
+
config:
|
|
122
146
|
numerator: cpu-wattage-times-duration
|
|
123
147
|
denominator: 3600000
|
|
124
148
|
output: cpu-energy-raw
|
|
@@ -127,16 +151,20 @@ initialize:
|
|
|
127
151
|
cpu-wattage-times-duration:
|
|
128
152
|
unit: kWh
|
|
129
153
|
description: CPU wattage multiplied by duration
|
|
130
|
-
aggregation-method:
|
|
154
|
+
aggregation-method:
|
|
155
|
+
time: sum
|
|
156
|
+
component: sum
|
|
131
157
|
outputs:
|
|
132
158
|
cpu-energy-raw:
|
|
133
159
|
unit: kWh
|
|
134
160
|
description: Raw energy used by CPU in kWh
|
|
135
|
-
aggregation-method:
|
|
161
|
+
aggregation-method:
|
|
162
|
+
time: sum
|
|
163
|
+
component: sum
|
|
136
164
|
calculate-vcpu-ratio:
|
|
137
165
|
path: builtin
|
|
138
166
|
method: Divide
|
|
139
|
-
|
|
167
|
+
config:
|
|
140
168
|
numerator: vcpus-total
|
|
141
169
|
denominator: vcpus-allocated
|
|
142
170
|
output: vcpu-ratio
|
|
@@ -145,20 +173,26 @@ initialize:
|
|
|
145
173
|
vcpus-total:
|
|
146
174
|
unit: count
|
|
147
175
|
description: total number of vcpus available on a particular resource
|
|
148
|
-
aggregation-method:
|
|
176
|
+
aggregation-method:
|
|
177
|
+
time: none
|
|
178
|
+
component: none
|
|
149
179
|
vcpus-allocated:
|
|
150
180
|
unit: count
|
|
151
181
|
description: number of vcpus allocated to particular resource
|
|
152
|
-
aggregation-method:
|
|
182
|
+
aggregation-method:
|
|
183
|
+
time: none
|
|
184
|
+
component: none
|
|
153
185
|
outputs:
|
|
154
186
|
vcpu-ratio:
|
|
155
187
|
unit: none
|
|
156
188
|
description: Ratio of vCPUs
|
|
157
|
-
aggregation-method:
|
|
189
|
+
aggregation-method:
|
|
190
|
+
time: none
|
|
191
|
+
component: none
|
|
158
192
|
correct-cpu-energy-for-vcpu-ratio:
|
|
159
193
|
path: builtin
|
|
160
194
|
method: Divide
|
|
161
|
-
|
|
195
|
+
config:
|
|
162
196
|
numerator: cpu-energy-raw
|
|
163
197
|
denominator: vcpu-ratio
|
|
164
198
|
output: cpu-energy-kwh
|
|
@@ -167,23 +201,29 @@ initialize:
|
|
|
167
201
|
cpu-energy-raw:
|
|
168
202
|
unit: kWh
|
|
169
203
|
description: Raw energy used by CPU in kWh
|
|
170
|
-
aggregation-method:
|
|
204
|
+
aggregation-method:
|
|
205
|
+
time: sum
|
|
206
|
+
component: sum
|
|
171
207
|
vcpu-ratio:
|
|
172
208
|
unit: none
|
|
173
209
|
description: Ratio of vCPUs
|
|
174
|
-
aggregation-method:
|
|
210
|
+
aggregation-method:
|
|
211
|
+
time: none
|
|
212
|
+
component: none
|
|
175
213
|
outputs:
|
|
176
214
|
cpu-energy-kwh:
|
|
177
215
|
unit: kWh
|
|
178
216
|
description: Corrected CPU energy in kWh
|
|
179
|
-
aggregation-method:
|
|
217
|
+
aggregation-method:
|
|
218
|
+
time: sum
|
|
219
|
+
component: sum
|
|
180
220
|
sci-embodied:
|
|
181
221
|
path: builtin
|
|
182
222
|
method: SciEmbodied
|
|
183
223
|
operational-carbon:
|
|
184
224
|
path: builtin
|
|
185
225
|
method: Multiply
|
|
186
|
-
|
|
226
|
+
config:
|
|
187
227
|
input-parameters:
|
|
188
228
|
- cpu-energy-kwh
|
|
189
229
|
- grid/carbon-intensity
|
|
@@ -193,59 +233,75 @@ initialize:
|
|
|
193
233
|
cpu-energy-kwh:
|
|
194
234
|
unit: kWh
|
|
195
235
|
description: Corrected CPU energy in kWh
|
|
196
|
-
aggregation-method:
|
|
236
|
+
aggregation-method:
|
|
237
|
+
time: sum
|
|
238
|
+
component: sum
|
|
197
239
|
grid/carbon-intensity:
|
|
198
240
|
unit: gCO2eq/kWh
|
|
199
241
|
description: Carbon intensity for the grid
|
|
200
|
-
aggregation-method:
|
|
242
|
+
aggregation-method:
|
|
243
|
+
time: avg
|
|
244
|
+
component: avg
|
|
201
245
|
outputs:
|
|
202
246
|
carbon-operational:
|
|
203
247
|
unit: gCO2eq
|
|
204
248
|
description: Operational carbon footprint
|
|
205
|
-
aggregation-method:
|
|
249
|
+
aggregation-method:
|
|
250
|
+
time: sum
|
|
251
|
+
component: sum
|
|
206
252
|
sum-carbon:
|
|
207
253
|
path: builtin
|
|
208
254
|
method: Sum
|
|
209
|
-
|
|
255
|
+
config:
|
|
210
256
|
input-parameters:
|
|
211
257
|
- carbon-operational
|
|
212
|
-
- carbon
|
|
258
|
+
- embodied-carbon
|
|
213
259
|
output-parameter: carbon
|
|
214
260
|
parameter-metadata:
|
|
215
261
|
inputs:
|
|
216
262
|
carbon-operational:
|
|
217
263
|
unit: gCO2eq
|
|
218
264
|
description: Operational carbon footprint
|
|
219
|
-
aggregation-method:
|
|
220
|
-
|
|
265
|
+
aggregation-method:
|
|
266
|
+
time: sum
|
|
267
|
+
component: sum
|
|
268
|
+
embodied-carbon:
|
|
221
269
|
unit: gCO2eq
|
|
222
270
|
description: Embodied carbon footprint
|
|
223
|
-
aggregation-method:
|
|
271
|
+
aggregation-method:
|
|
272
|
+
time: sum
|
|
273
|
+
component: sum
|
|
224
274
|
outputs:
|
|
225
275
|
carbon:
|
|
226
276
|
unit: gCO2eq
|
|
227
277
|
description: Total carbon footprint
|
|
228
|
-
aggregation-method:
|
|
278
|
+
aggregation-method:
|
|
279
|
+
time: sum
|
|
280
|
+
component: sum
|
|
229
281
|
sci:
|
|
230
282
|
path: builtin
|
|
231
283
|
method: Sci
|
|
232
|
-
|
|
284
|
+
config:
|
|
233
285
|
functional-unit: requests
|
|
234
286
|
parameter-metadata:
|
|
235
287
|
inputs:
|
|
236
288
|
requests:
|
|
237
289
|
unit: none
|
|
238
290
|
description: expressed the final SCI value
|
|
239
|
-
aggregation-method:
|
|
291
|
+
aggregation-method:
|
|
292
|
+
time: sum
|
|
293
|
+
component: sum
|
|
240
294
|
outputs:
|
|
241
295
|
sci:
|
|
242
296
|
unit: none
|
|
243
297
|
description: Scientific Carbon Intensity
|
|
244
|
-
aggregation-method:
|
|
298
|
+
aggregation-method:
|
|
299
|
+
time: none
|
|
300
|
+
component: none
|
|
245
301
|
time-sync:
|
|
246
302
|
path: builtin
|
|
247
303
|
method: TimeSync
|
|
248
|
-
|
|
304
|
+
config:
|
|
249
305
|
start-time: "2023-12-12T00:00:00.000Z"
|
|
250
306
|
end-time: "2023-12-12T00:01:00.000Z"
|
|
251
307
|
interval: 5
|
|
@@ -255,12 +311,16 @@ initialize:
|
|
|
255
311
|
time-reserved:
|
|
256
312
|
unit: seconds
|
|
257
313
|
description: time reserved for a component
|
|
258
|
-
aggregation-method:
|
|
314
|
+
aggregation-method:
|
|
315
|
+
time: avg
|
|
316
|
+
component: avg
|
|
259
317
|
outputs:
|
|
260
318
|
synced-time:
|
|
261
319
|
unit: none
|
|
262
320
|
description: Synced time
|
|
263
|
-
aggregation-method:
|
|
321
|
+
aggregation-method:
|
|
322
|
+
time: none
|
|
323
|
+
component: none
|
|
264
324
|
execution:
|
|
265
325
|
command: >-
|
|
266
326
|
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
@@ -379,7 +439,7 @@ tree:
|
|
|
379
439
|
cpu-energy-raw: "*"
|
|
380
440
|
vcpu-ratio: 8
|
|
381
441
|
cpu-energy-kwh: "*"
|
|
382
|
-
carbon
|
|
442
|
+
embodied-carbon: 0.000010128107559614409
|
|
383
443
|
carbon-operational: "*"
|
|
384
444
|
carbon: "*"
|
|
385
445
|
sci: "*"
|
|
@@ -402,7 +462,7 @@ tree:
|
|
|
402
462
|
cpu-energy-raw: "*"
|
|
403
463
|
vcpu-ratio: 8
|
|
404
464
|
cpu-energy-kwh: "*"
|
|
405
|
-
carbon
|
|
465
|
+
embodied-carbon: 0.000010128107559614409
|
|
406
466
|
carbon-operational: "*"
|
|
407
467
|
carbon: "*"
|
|
408
468
|
sci: "*"
|
|
@@ -425,7 +485,7 @@ tree:
|
|
|
425
485
|
cpu-energy-raw: "*"
|
|
426
486
|
vcpu-ratio: 8
|
|
427
487
|
cpu-energy-kwh: "*"
|
|
428
|
-
carbon
|
|
488
|
+
embodied-carbon: 0.000010128107559614409
|
|
429
489
|
carbon-operational: "*"
|
|
430
490
|
carbon: "*"
|
|
431
491
|
sci: "*"
|
|
@@ -448,7 +508,7 @@ tree:
|
|
|
448
508
|
cpu-energy-raw: "*"
|
|
449
509
|
vcpu-ratio: 8
|
|
450
510
|
cpu-energy-kwh: "*"
|
|
451
|
-
carbon
|
|
511
|
+
embodied-carbon: 0.000010128107559614409
|
|
452
512
|
carbon-operational: "*"
|
|
453
513
|
carbon: "*"
|
|
454
514
|
sci: "*"
|
|
@@ -471,7 +531,7 @@ tree:
|
|
|
471
531
|
cpu-energy-raw: "*"
|
|
472
532
|
vcpu-ratio: 8
|
|
473
533
|
cpu-energy-kwh: "*"
|
|
474
|
-
carbon
|
|
534
|
+
embodied-carbon: 0.000010128107559614409
|
|
475
535
|
carbon-operational: "*"
|
|
476
536
|
carbon: "*"
|
|
477
537
|
sci: "*"
|
|
@@ -494,7 +554,7 @@ tree:
|
|
|
494
554
|
cpu-energy-raw: "*"
|
|
495
555
|
vcpu-ratio: 8
|
|
496
556
|
cpu-energy-kwh: "*"
|
|
497
|
-
carbon
|
|
557
|
+
embodied-carbon: 0.000010128107559614409
|
|
498
558
|
carbon-operational: "*"
|
|
499
559
|
carbon: "*"
|
|
500
560
|
sci: "*"
|
|
@@ -517,7 +577,7 @@ tree:
|
|
|
517
577
|
cpu-energy-raw: "*"
|
|
518
578
|
vcpu-ratio: 8
|
|
519
579
|
cpu-energy-kwh: "*"
|
|
520
|
-
carbon
|
|
580
|
+
embodied-carbon: 0.000010128107559614409
|
|
521
581
|
carbon-operational: "*"
|
|
522
582
|
carbon: "*"
|
|
523
583
|
sci: "*"
|
|
@@ -540,7 +600,7 @@ tree:
|
|
|
540
600
|
cpu-energy-raw: "*"
|
|
541
601
|
vcpu-ratio: 8
|
|
542
602
|
cpu-energy-kwh: "*"
|
|
543
|
-
carbon
|
|
603
|
+
embodied-carbon: 0.000010128107559614409
|
|
544
604
|
carbon-operational: "*"
|
|
545
605
|
carbon: "*"
|
|
546
606
|
sci: "*"
|
|
@@ -563,7 +623,7 @@ tree:
|
|
|
563
623
|
cpu-energy-raw: "*"
|
|
564
624
|
vcpu-ratio: 8
|
|
565
625
|
cpu-energy-kwh: "*"
|
|
566
|
-
carbon
|
|
626
|
+
embodied-carbon: 0.000010128107559614409
|
|
567
627
|
carbon-operational: "*"
|
|
568
628
|
carbon: "*"
|
|
569
629
|
sci: "*"
|
|
@@ -586,7 +646,7 @@ tree:
|
|
|
586
646
|
cpu-energy-raw: "*"
|
|
587
647
|
vcpu-ratio: 8
|
|
588
648
|
cpu-energy-kwh: "*"
|
|
589
|
-
carbon
|
|
649
|
+
embodied-carbon: 0.000010128107559614409
|
|
590
650
|
carbon-operational: "*"
|
|
591
651
|
carbon: "*"
|
|
592
652
|
sci: "*"
|
|
@@ -609,7 +669,7 @@ tree:
|
|
|
609
669
|
cpu-energy-raw: "*"
|
|
610
670
|
vcpu-ratio: 8
|
|
611
671
|
cpu-energy-kwh: "*"
|
|
612
|
-
carbon
|
|
672
|
+
embodied-carbon: 0.000010128107559614409
|
|
613
673
|
carbon-operational: "*"
|
|
614
674
|
carbon: "*"
|
|
615
675
|
sci: "*"
|
|
@@ -632,7 +692,7 @@ tree:
|
|
|
632
692
|
cpu-energy-raw: "*"
|
|
633
693
|
vcpu-ratio: 8
|
|
634
694
|
cpu-energy-kwh: "*"
|
|
635
|
-
carbon
|
|
695
|
+
embodied-carbon: 0.000010128107559614409
|
|
636
696
|
carbon-operational: "*"
|
|
637
697
|
carbon: "*"
|
|
638
698
|
sci: "*"
|
|
@@ -655,7 +715,7 @@ tree:
|
|
|
655
715
|
cpu-energy-raw: "*"
|
|
656
716
|
vcpu-ratio: 8
|
|
657
717
|
cpu-energy-kwh: "*"
|
|
658
|
-
carbon
|
|
718
|
+
embodied-carbon: 0.0000020256215119228817
|
|
659
719
|
carbon-operational: "*"
|
|
660
720
|
carbon: "*"
|
|
661
721
|
sci: "*"
|
|
@@ -733,7 +793,7 @@ tree:
|
|
|
733
793
|
cpu-energy-raw: "*"
|
|
734
794
|
vcpu-ratio: 8
|
|
735
795
|
cpu-energy-kwh: "*"
|
|
736
|
-
carbon
|
|
796
|
+
embodied-carbon: "*"
|
|
737
797
|
carbon-operational: "*"
|
|
738
798
|
carbon: "*"
|
|
739
799
|
sci: "*"
|
|
@@ -756,7 +816,7 @@ tree:
|
|
|
756
816
|
cpu-energy-raw: "*"
|
|
757
817
|
vcpu-ratio: 8
|
|
758
818
|
cpu-energy-kwh: "*"
|
|
759
|
-
carbon
|
|
819
|
+
embodied-carbon: "*"
|
|
760
820
|
carbon-operational: "*"
|
|
761
821
|
carbon: "*"
|
|
762
822
|
sci: "*"
|
|
@@ -779,7 +839,7 @@ tree:
|
|
|
779
839
|
cpu-energy-raw: "*"
|
|
780
840
|
vcpu-ratio: 8
|
|
781
841
|
cpu-energy-kwh: "*"
|
|
782
|
-
carbon
|
|
842
|
+
embodied-carbon: "*"
|
|
783
843
|
carbon-operational: "*"
|
|
784
844
|
carbon: "*"
|
|
785
845
|
sci: "*"
|
|
@@ -802,7 +862,7 @@ tree:
|
|
|
802
862
|
cpu-energy-raw: "*"
|
|
803
863
|
vcpu-ratio: 8
|
|
804
864
|
cpu-energy-kwh: "*"
|
|
805
|
-
carbon
|
|
865
|
+
embodied-carbon: "*"
|
|
806
866
|
carbon-operational: "*"
|
|
807
867
|
carbon: "*"
|
|
808
868
|
sci: "*"
|
|
@@ -825,7 +885,7 @@ tree:
|
|
|
825
885
|
cpu-energy-raw: "*"
|
|
826
886
|
vcpu-ratio: 8
|
|
827
887
|
cpu-energy-kwh: "*"
|
|
828
|
-
carbon
|
|
888
|
+
embodied-carbon: "*"
|
|
829
889
|
carbon-operational: "*"
|
|
830
890
|
carbon: "*"
|
|
831
891
|
sci: "*"
|
|
@@ -848,7 +908,7 @@ tree:
|
|
|
848
908
|
cpu-energy-raw: "*"
|
|
849
909
|
vcpu-ratio: 8
|
|
850
910
|
cpu-energy-kwh: "*"
|
|
851
|
-
carbon
|
|
911
|
+
embodied-carbon: "*"
|
|
852
912
|
carbon-operational: "*"
|
|
853
913
|
carbon: "*"
|
|
854
914
|
sci: "*"
|
|
@@ -871,7 +931,7 @@ tree:
|
|
|
871
931
|
cpu-energy-raw: "*"
|
|
872
932
|
vcpu-ratio: 8
|
|
873
933
|
cpu-energy-kwh: "*"
|
|
874
|
-
carbon
|
|
934
|
+
embodied-carbon: "*"
|
|
875
935
|
carbon-operational: "*"
|
|
876
936
|
carbon: "*"
|
|
877
937
|
sci: "*"
|
|
@@ -894,7 +954,7 @@ tree:
|
|
|
894
954
|
cpu-energy-raw: "*"
|
|
895
955
|
vcpu-ratio: 8
|
|
896
956
|
cpu-energy-kwh: "*"
|
|
897
|
-
carbon
|
|
957
|
+
embodied-carbon: "*"
|
|
898
958
|
carbon-operational: "*"
|
|
899
959
|
carbon: "*"
|
|
900
960
|
sci: "*"
|
|
@@ -917,7 +977,7 @@ tree:
|
|
|
917
977
|
cpu-energy-raw: "*"
|
|
918
978
|
vcpu-ratio: 8
|
|
919
979
|
cpu-energy-kwh: "*"
|
|
920
|
-
carbon
|
|
980
|
+
embodied-carbon: "*"
|
|
921
981
|
carbon-operational: "*"
|
|
922
982
|
carbon: "*"
|
|
923
983
|
sci: "*"
|
|
@@ -940,7 +1000,7 @@ tree:
|
|
|
940
1000
|
cpu-energy-raw: "*"
|
|
941
1001
|
vcpu-ratio: 8
|
|
942
1002
|
cpu-energy-kwh: "*"
|
|
943
|
-
carbon
|
|
1003
|
+
embodied-carbon: "*"
|
|
944
1004
|
carbon-operational: "*"
|
|
945
1005
|
carbon: "*"
|
|
946
1006
|
sci: "*"
|
|
@@ -963,7 +1023,7 @@ tree:
|
|
|
963
1023
|
cpu-energy-raw: "*"
|
|
964
1024
|
vcpu-ratio: 8
|
|
965
1025
|
cpu-energy-kwh: "*"
|
|
966
|
-
carbon
|
|
1026
|
+
embodied-carbon: "*"
|
|
967
1027
|
carbon-operational: "*"
|
|
968
1028
|
carbon: "*"
|
|
969
1029
|
sci: "*"
|
|
@@ -986,7 +1046,7 @@ tree:
|
|
|
986
1046
|
cpu-energy-raw: "*"
|
|
987
1047
|
vcpu-ratio: 8
|
|
988
1048
|
cpu-energy-kwh: "*"
|
|
989
|
-
carbon
|
|
1049
|
+
embodied-carbon: "*"
|
|
990
1050
|
carbon-operational: "*"
|
|
991
1051
|
carbon: "*"
|
|
992
1052
|
sci: "*"
|
|
@@ -1009,7 +1069,7 @@ tree:
|
|
|
1009
1069
|
cpu-energy-raw: "*"
|
|
1010
1070
|
vcpu-ratio: 8
|
|
1011
1071
|
cpu-energy-kwh: "*"
|
|
1012
|
-
carbon
|
|
1072
|
+
embodied-carbon: "*"
|
|
1013
1073
|
carbon-operational: "*"
|
|
1014
1074
|
carbon: "*"
|
|
1015
1075
|
sci: "*"
|
|
@@ -1056,4 +1116,4 @@ tree:
|
|
|
1056
1116
|
timestamp: "2023-12-12T00:01:00.000Z"
|
|
1057
1117
|
duration: 1
|
|
1058
1118
|
aggregated:
|
|
1059
|
-
carbon: "*"
|
|
1119
|
+
carbon: "*"
|
|
@@ -5,43 +5,43 @@ initialize:
|
|
|
5
5
|
plugins:
|
|
6
6
|
"interpolate":
|
|
7
7
|
method: Interpolation
|
|
8
|
-
path:
|
|
9
|
-
|
|
8
|
+
path: "builtin"
|
|
9
|
+
config:
|
|
10
10
|
method: linear
|
|
11
11
|
x: [0, 10, 50, 100]
|
|
12
12
|
y: [0.12, 0.32, 0.75, 1.02]
|
|
13
|
-
input-parameter:
|
|
14
|
-
output-parameter:
|
|
13
|
+
input-parameter: "cpu/utilization"
|
|
14
|
+
output-parameter: "cpu-factor"
|
|
15
15
|
"cpu-factor-to-wattage":
|
|
16
16
|
method: Multiply
|
|
17
17
|
path: builtin
|
|
18
|
-
|
|
18
|
+
config:
|
|
19
19
|
input-parameters: ["cpu-factor", "cpu/thermal-design-power"]
|
|
20
20
|
output-parameter: "cpu-wattage"
|
|
21
21
|
"wattage-times-duration":
|
|
22
22
|
method: Multiply
|
|
23
23
|
path: builtin
|
|
24
|
-
|
|
24
|
+
config:
|
|
25
25
|
input-parameters: ["cpu-wattage", "duration"]
|
|
26
26
|
output-parameter: "cpu-wattage-times-duration"
|
|
27
27
|
"wattage-to-energy-kwh":
|
|
28
28
|
method: Divide
|
|
29
29
|
path: "builtin"
|
|
30
|
-
|
|
30
|
+
config:
|
|
31
31
|
numerator: cpu-wattage-times-duration
|
|
32
32
|
denominator: 3600000
|
|
33
33
|
output: cpu-energy-raw
|
|
34
34
|
"calculate-vcpu-ratio":
|
|
35
35
|
method: Divide
|
|
36
36
|
path: "builtin"
|
|
37
|
-
|
|
37
|
+
config:
|
|
38
38
|
numerator: vcpus-total
|
|
39
39
|
denominator: vcpus-allocated
|
|
40
40
|
output: vcpu-ratio
|
|
41
41
|
"correct-cpu-energy-for-vcpu-ratio":
|
|
42
42
|
method: Divide
|
|
43
43
|
path: "builtin"
|
|
44
|
-
|
|
44
|
+
config:
|
|
45
45
|
numerator: cpu-energy-raw
|
|
46
46
|
denominator: vcpu-ratio
|
|
47
47
|
output: cpu-energy-kwh
|
|
@@ -51,26 +51,26 @@ initialize:
|
|
|
51
51
|
"operational-carbon":
|
|
52
52
|
method: Multiply
|
|
53
53
|
path: builtin
|
|
54
|
-
|
|
54
|
+
config:
|
|
55
55
|
input-parameters: ["cpu-energy-kwh", "grid/carbon-intensity"]
|
|
56
56
|
output-parameter: "carbon-operational"
|
|
57
57
|
"sci":
|
|
58
58
|
path: "builtin"
|
|
59
59
|
method: Sci
|
|
60
|
-
|
|
60
|
+
config:
|
|
61
61
|
functional-unit: "component"
|
|
62
62
|
"sum-carbon":
|
|
63
63
|
path: "builtin"
|
|
64
64
|
method: Sum
|
|
65
|
-
|
|
65
|
+
config:
|
|
66
66
|
input-parameters:
|
|
67
67
|
- carbon-operational
|
|
68
|
-
- carbon
|
|
68
|
+
- embodied-carbon
|
|
69
69
|
output-parameter: carbon
|
|
70
70
|
"time-sync":
|
|
71
71
|
method: TimeSync
|
|
72
72
|
path: "builtin"
|
|
73
|
-
|
|
73
|
+
config:
|
|
74
74
|
start-time: "2023-12-12T00:00:00.000Z"
|
|
75
75
|
end-time: "2023-12-12T00:01:00.000Z"
|
|
76
76
|
interval: 5
|
|
@@ -123,4 +123,4 @@ tree:
|
|
|
123
123
|
cloud/instance-type: A1
|
|
124
124
|
cloud/region: uk-west
|
|
125
125
|
cpu/utilization: 15
|
|
126
|
-
network/energy: 0.000001
|
|
126
|
+
network/energy: 0.000001
|