@grnsft/if 0.6.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 +3 -3
- 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 +4 -4
- 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 +8 -8
- 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 -9
- package/build/common/config/strings.js +0 -17
- 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 -11
- package/build/if-check/config/strings.js +0 -15
- 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 -36
- 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 -3
- package/build/if-csv/config/strings.js +0 -7
- 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 -47
- 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-merge/config/config.d.ts +0 -6
- package/build/if-merge/config/config.js +0 -43
- package/build/if-merge/config/index.d.ts +0 -2
- package/build/if-merge/config/index.js +0 -8
- package/build/if-merge/config/strings.d.ts +0 -5
- package/build/if-merge/config/strings.js +0 -9
- package/build/if-merge/index.d.ts +0 -2
- package/build/if-merge/index.js +0 -26
- package/build/if-merge/types/process-args.d.ts +0 -6
- package/build/if-merge/types/process-args.js +0 -3
- package/build/if-merge/util/args.d.ts +0 -9
- package/build/if-merge/util/args.js +0 -59
- package/build/if-merge/util/helpers.d.ts +0 -5
- package/build/if-merge/util/helpers.js +0 -83
- 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 -16
- package/build/if-run/builtins/index.js +0 -36
- 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/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-converter/config.d.ts +0 -1
- package/build/if-run/builtins/time-converter/config.js +0 -44
- package/build/if-run/builtins/time-converter/index.d.ts +0 -2
- package/build/if-run/builtins/time-converter/index.js +0 -79
- 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 -142
- 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,14 +10,14 @@ initialize:
|
|
|
10
10
|
interpolate:
|
|
11
11
|
path: builtin
|
|
12
12
|
method: Interpolation
|
|
13
|
-
|
|
13
|
+
config:
|
|
14
14
|
method: linear
|
|
15
15
|
x:
|
|
16
16
|
- 0
|
|
17
17
|
- 10
|
|
18
18
|
- 50
|
|
19
19
|
- 100
|
|
20
|
-
|
|
20
|
+
"y":
|
|
21
21
|
- 0.12
|
|
22
22
|
- 0.32
|
|
23
23
|
- 0.75
|
|
@@ -29,16 +29,20 @@ initialize:
|
|
|
29
29
|
cpu/utilization:
|
|
30
30
|
unit: percentage
|
|
31
31
|
description: refers to CPU utilization.
|
|
32
|
-
aggregation-method:
|
|
32
|
+
aggregation-method:
|
|
33
|
+
time: avg
|
|
34
|
+
component: avg
|
|
33
35
|
outputs:
|
|
34
36
|
cpu-factor:
|
|
35
37
|
unit: kWh
|
|
36
38
|
description: result of interpolate
|
|
37
|
-
aggregation-method:
|
|
39
|
+
aggregation-method:
|
|
40
|
+
time: avg
|
|
41
|
+
component: avg
|
|
38
42
|
cpu-factor-to-wattage:
|
|
39
43
|
path: builtin
|
|
40
44
|
method: Multiply
|
|
41
|
-
|
|
45
|
+
config:
|
|
42
46
|
input-parameters:
|
|
43
47
|
- cpu-factor
|
|
44
48
|
- cpu/thermal-design-power
|
|
@@ -48,20 +52,26 @@ initialize:
|
|
|
48
52
|
cpu-factor:
|
|
49
53
|
unit: kWh
|
|
50
54
|
description: result of interpolate
|
|
51
|
-
aggregation-method:
|
|
55
|
+
aggregation-method:
|
|
56
|
+
time: avg
|
|
57
|
+
component: avg
|
|
52
58
|
cpu/thermal-design-power:
|
|
53
59
|
unit: kWh
|
|
54
60
|
description: thermal design power for a processor
|
|
55
|
-
aggregation-method:
|
|
61
|
+
aggregation-method:
|
|
62
|
+
time: avg
|
|
63
|
+
component: avg
|
|
56
64
|
outputs:
|
|
57
65
|
cpu-wattage:
|
|
58
66
|
unit: kWh
|
|
59
67
|
description: the energy used by the CPU
|
|
60
|
-
aggregation-method:
|
|
68
|
+
aggregation-method:
|
|
69
|
+
time: sum
|
|
70
|
+
component: sum
|
|
61
71
|
wattage-times-duration:
|
|
62
72
|
path: builtin
|
|
63
73
|
method: Multiply
|
|
64
|
-
|
|
74
|
+
config:
|
|
65
75
|
input-parameters:
|
|
66
76
|
- cpu-wattage
|
|
67
77
|
- duration
|
|
@@ -69,7 +79,7 @@ initialize:
|
|
|
69
79
|
wattage-to-energy-kwh:
|
|
70
80
|
path: builtin
|
|
71
81
|
method: Divide
|
|
72
|
-
|
|
82
|
+
config:
|
|
73
83
|
numerator: cpu-wattage-times-duration
|
|
74
84
|
denominator: 3600000
|
|
75
85
|
output: cpu-energy-raw
|
|
@@ -78,16 +88,20 @@ initialize:
|
|
|
78
88
|
cpu-wattage-times-duration:
|
|
79
89
|
unit: kWh
|
|
80
90
|
description: CPU wattage multiplied by duration
|
|
81
|
-
aggregation-method:
|
|
91
|
+
aggregation-method:
|
|
92
|
+
time: sum
|
|
93
|
+
component: sum
|
|
82
94
|
outputs:
|
|
83
95
|
cpu-energy-raw:
|
|
84
96
|
unit: kWh
|
|
85
97
|
description: Raw energy used by CPU in kWh
|
|
86
|
-
aggregation-method:
|
|
98
|
+
aggregation-method:
|
|
99
|
+
time: sum
|
|
100
|
+
component: sum
|
|
87
101
|
calculate-vcpu-ratio:
|
|
88
102
|
path: builtin
|
|
89
103
|
method: Divide
|
|
90
|
-
|
|
104
|
+
config:
|
|
91
105
|
numerator: vcpus-total
|
|
92
106
|
denominator: vcpus-allocated
|
|
93
107
|
output: vcpu-ratio
|
|
@@ -96,20 +110,26 @@ initialize:
|
|
|
96
110
|
vcpus-total:
|
|
97
111
|
unit: count
|
|
98
112
|
description: total number of vcpus available on a particular resource
|
|
99
|
-
aggregation-method:
|
|
113
|
+
aggregation-method:
|
|
114
|
+
time: none
|
|
115
|
+
component: none
|
|
100
116
|
vcpus-allocated:
|
|
101
117
|
unit: count
|
|
102
118
|
description: number of vcpus allocated to particular resource
|
|
103
|
-
aggregation-method:
|
|
119
|
+
aggregation-method:
|
|
120
|
+
time: none
|
|
121
|
+
component: none
|
|
104
122
|
outputs:
|
|
105
123
|
vcpu-ratio:
|
|
106
124
|
unit: none
|
|
107
125
|
description: Ratio of vCPUs
|
|
108
|
-
aggregation-method:
|
|
126
|
+
aggregation-method:
|
|
127
|
+
time: none
|
|
128
|
+
component: none
|
|
109
129
|
correct-cpu-energy-for-vcpu-ratio:
|
|
110
130
|
path: builtin
|
|
111
131
|
method: Divide
|
|
112
|
-
|
|
132
|
+
config:
|
|
113
133
|
numerator: cpu-energy-raw
|
|
114
134
|
denominator: vcpu-ratio
|
|
115
135
|
output: cpu-energy-kwh
|
|
@@ -119,7 +139,7 @@ initialize:
|
|
|
119
139
|
operational-carbon:
|
|
120
140
|
path: builtin
|
|
121
141
|
method: Multiply
|
|
122
|
-
|
|
142
|
+
config:
|
|
123
143
|
input-parameters:
|
|
124
144
|
- cpu-energy-kwh
|
|
125
145
|
- grid/carbon-intensity
|
|
@@ -129,56 +149,70 @@ initialize:
|
|
|
129
149
|
cpu-energy-kwh:
|
|
130
150
|
unit: kWh
|
|
131
151
|
description: Corrected CPU energy in kWh
|
|
132
|
-
aggregation-method:
|
|
152
|
+
aggregation-method:
|
|
153
|
+
time: sum
|
|
154
|
+
component: sum
|
|
133
155
|
grid/carbon-intensity:
|
|
134
156
|
unit: gCO2eq/kWh
|
|
135
157
|
description: Carbon intensity for the grid
|
|
136
|
-
aggregation-method:
|
|
158
|
+
aggregation-method:
|
|
159
|
+
time: avg
|
|
160
|
+
component: avg
|
|
137
161
|
outputs:
|
|
138
162
|
carbon-operational:
|
|
139
163
|
unit: gCO2eq
|
|
140
164
|
description: Operational carbon footprint
|
|
141
|
-
aggregation-method:
|
|
165
|
+
aggregation-method:
|
|
166
|
+
time: sum
|
|
167
|
+
component: sum
|
|
142
168
|
sci:
|
|
143
169
|
path: builtin
|
|
144
170
|
method: Sci
|
|
145
|
-
|
|
171
|
+
config:
|
|
146
172
|
functional-unit: requests
|
|
147
173
|
parameter-metadata:
|
|
148
174
|
inputs:
|
|
149
175
|
requests:
|
|
150
176
|
unit: none
|
|
151
177
|
description: expressed the final SCI value
|
|
152
|
-
aggregation-method:
|
|
178
|
+
aggregation-method:
|
|
179
|
+
time: sum
|
|
180
|
+
component: sum
|
|
153
181
|
sum-carbon:
|
|
154
182
|
path: builtin
|
|
155
183
|
method: Sum
|
|
156
|
-
|
|
184
|
+
config:
|
|
157
185
|
input-parameters:
|
|
158
186
|
- carbon-operational
|
|
159
|
-
- carbon
|
|
187
|
+
- embodied-carbon
|
|
160
188
|
output-parameter: carbon
|
|
161
189
|
parameter-metadata:
|
|
162
190
|
inputs:
|
|
163
191
|
carbon-operational:
|
|
164
192
|
description: Operational carbon footprint
|
|
165
193
|
unit: gCO2eq
|
|
166
|
-
aggregation-method:
|
|
167
|
-
|
|
194
|
+
aggregation-method:
|
|
195
|
+
time: sum
|
|
196
|
+
component: sum
|
|
197
|
+
embodied-carbon:
|
|
168
198
|
description: Embodied carbon footprint
|
|
169
199
|
unit: gCO2eq
|
|
170
|
-
aggregation-method:
|
|
200
|
+
aggregation-method:
|
|
201
|
+
time: sum
|
|
202
|
+
component: sum
|
|
171
203
|
outputs:
|
|
172
204
|
carbon:
|
|
173
205
|
description: Total carbon footprint
|
|
174
206
|
unit: gCO2eq
|
|
175
|
-
aggregation-method:
|
|
207
|
+
aggregation-method:
|
|
208
|
+
time: sum
|
|
209
|
+
component: sum
|
|
176
210
|
time-sync:
|
|
177
211
|
path: builtin
|
|
178
212
|
method: TimeSync
|
|
179
|
-
|
|
180
|
-
start-time:
|
|
181
|
-
end-time:
|
|
213
|
+
config:
|
|
214
|
+
start-time: "2023-12-12T00:00:00.000Z"
|
|
215
|
+
end-time: "2023-12-12T00:01:00.000Z"
|
|
182
216
|
interval: 5
|
|
183
217
|
allow-padding: true
|
|
184
218
|
parameter-metadata:
|
|
@@ -186,23 +220,33 @@ initialize:
|
|
|
186
220
|
timestamp:
|
|
187
221
|
unit: RFC3339
|
|
188
222
|
description: refers to the time of occurrence of the input
|
|
189
|
-
aggregation-method:
|
|
223
|
+
aggregation-method:
|
|
224
|
+
time: none
|
|
225
|
+
component: none
|
|
190
226
|
duration:
|
|
191
227
|
unit: seconds
|
|
192
228
|
description: refers to the duration of the input
|
|
193
|
-
aggregation-method:
|
|
229
|
+
aggregation-method:
|
|
230
|
+
time: sum
|
|
231
|
+
component: sum
|
|
194
232
|
cloud/instance-type:
|
|
195
233
|
unit: none
|
|
196
234
|
description: type of Cloud Instance name used in the cloud provider APIs
|
|
197
|
-
aggregation-method:
|
|
235
|
+
aggregation-method:
|
|
236
|
+
time: none
|
|
237
|
+
component: none
|
|
198
238
|
cloud/region:
|
|
199
239
|
unit: none
|
|
200
240
|
description: region cloud instance
|
|
201
|
-
aggregation-method:
|
|
241
|
+
aggregation-method:
|
|
242
|
+
time: none
|
|
243
|
+
component: none
|
|
202
244
|
time-reserved:
|
|
203
245
|
unit: seconds
|
|
204
246
|
description: time reserved for a component
|
|
205
|
-
aggregation-method:
|
|
247
|
+
aggregation-method:
|
|
248
|
+
time: avg
|
|
249
|
+
component: avg
|
|
206
250
|
execution:
|
|
207
251
|
command: >-
|
|
208
252
|
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
@@ -212,20 +256,20 @@ execution:
|
|
|
212
256
|
environment:
|
|
213
257
|
if-version: 0.5.0
|
|
214
258
|
os: macOS
|
|
215
|
-
os-version:
|
|
259
|
+
os-version: "14.5"
|
|
216
260
|
node-version: 18.14.2
|
|
217
261
|
date-time: 2024-07-31T12:41:31.920Z (UTC)
|
|
218
262
|
dependencies:
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
-
|
|
226
|
-
-
|
|
227
|
-
-
|
|
228
|
-
-
|
|
263
|
+
- "@babel/core@7.22.10"
|
|
264
|
+
- "@babel/preset-typescript@7.23.3"
|
|
265
|
+
- "@commitlint/cli@18.6.0"
|
|
266
|
+
- "@commitlint/config-conventional@18.6.0"
|
|
267
|
+
- "@grnsft/if-core@0.0.16"
|
|
268
|
+
- "@jest/globals@29.7.0"
|
|
269
|
+
- "@types/jest@29.5.8"
|
|
270
|
+
- "@types/js-yaml@4.0.9"
|
|
271
|
+
- "@types/luxon@3.4.2"
|
|
272
|
+
- "@types/node@20.9.0"
|
|
229
273
|
- axios-mock-adapter@1.22.0
|
|
230
274
|
- axios@1.7.2
|
|
231
275
|
- cross-env@7.0.3
|
|
@@ -265,7 +309,7 @@ tree:
|
|
|
265
309
|
- operational-carbon
|
|
266
310
|
- sum-carbon
|
|
267
311
|
- time-sync
|
|
268
|
-
- sci
|
|
312
|
+
- sci
|
|
269
313
|
defaults:
|
|
270
314
|
cpu/thermal-design-power: 100
|
|
271
315
|
grid/carbon-intensity: 800
|
|
@@ -275,32 +319,32 @@ tree:
|
|
|
275
319
|
vcpus-total: 8
|
|
276
320
|
vcpus-allocated: 1
|
|
277
321
|
inputs:
|
|
278
|
-
- timestamp:
|
|
322
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
279
323
|
cloud/instance-type: A1
|
|
280
324
|
cloud/region: uk-west
|
|
281
325
|
duration: 1
|
|
282
326
|
cpu/utilization: 10
|
|
283
327
|
requests: 10
|
|
284
|
-
- timestamp:
|
|
328
|
+
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
285
329
|
duration: 5
|
|
286
330
|
cpu/utilization: 20
|
|
287
331
|
cloud/instance-type: A1
|
|
288
332
|
cloud/region: uk-west
|
|
289
333
|
requests: 5
|
|
290
|
-
- timestamp:
|
|
334
|
+
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
291
335
|
duration: 7
|
|
292
336
|
cpu/utilization: 15
|
|
293
337
|
cloud/instance-type: A1
|
|
294
338
|
cloud/region: uk-west
|
|
295
339
|
requests: 15
|
|
296
|
-
- timestamp:
|
|
340
|
+
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
297
341
|
duration: 30
|
|
298
342
|
cloud/instance-type: A1
|
|
299
343
|
cloud/region: uk-west
|
|
300
344
|
cpu/utilization: 15
|
|
301
345
|
requests: 30
|
|
302
346
|
outputs:
|
|
303
|
-
- timestamp:
|
|
347
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
304
348
|
cloud/instance-type: A1
|
|
305
349
|
cloud/region: uk-west
|
|
306
350
|
duration: 5
|
|
@@ -319,11 +363,11 @@ tree:
|
|
|
319
363
|
cpu-energy-raw: 0.0000563888888888889
|
|
320
364
|
vcpu-ratio: 8
|
|
321
365
|
cpu-energy-kwh: 0.000007048611111111113
|
|
322
|
-
carbon
|
|
366
|
+
embodied-carbon: 0.000010128107559614409
|
|
323
367
|
carbon-operational: 0.0056388888888888895
|
|
324
368
|
carbon: 0.005649016996448503
|
|
325
369
|
sci: 0.000403501214032036
|
|
326
|
-
- timestamp:
|
|
370
|
+
- timestamp: "2023-12-12T00:00:05.000Z"
|
|
327
371
|
duration: 5
|
|
328
372
|
cpu/utilization: 13
|
|
329
373
|
cloud/instance-type: A1
|
|
@@ -342,11 +386,11 @@ tree:
|
|
|
342
386
|
cpu-energy-raw: 0.00005340277777777778
|
|
343
387
|
vcpu-ratio: 8
|
|
344
388
|
cpu-energy-kwh: 0.000006675347222222222
|
|
345
|
-
carbon
|
|
389
|
+
embodied-carbon: 0.000010128107559614407
|
|
346
390
|
carbon-operational: 0.005340277777777777
|
|
347
391
|
carbon: 0.005350405885337391
|
|
348
392
|
sci: 0.0005589976298113692
|
|
349
|
-
- timestamp:
|
|
393
|
+
- timestamp: "2023-12-12T00:00:10.000Z"
|
|
350
394
|
duration: 5
|
|
351
395
|
cpu/utilization: 12
|
|
352
396
|
cloud/instance-type: A1
|
|
@@ -365,11 +409,11 @@ tree:
|
|
|
365
409
|
cpu-energy-raw: 0.00005190972222222222
|
|
366
410
|
vcpu-ratio: 8
|
|
367
411
|
cpu-energy-kwh: 0.0000064887152777777775
|
|
368
|
-
carbon
|
|
412
|
+
embodied-carbon: 0.000010128107559614407
|
|
369
413
|
carbon-operational: 0.005190972222222222
|
|
370
414
|
carbon: 0.0052011003297818366
|
|
371
415
|
sci: 0.0006170797001436077
|
|
372
|
-
- timestamp:
|
|
416
|
+
- timestamp: "2023-12-12T00:00:15.000Z"
|
|
373
417
|
duration: 5
|
|
374
418
|
cloud/instance-type: A1
|
|
375
419
|
cloud/region: uk-west
|
|
@@ -388,11 +432,11 @@ tree:
|
|
|
388
432
|
cpu-energy-raw: 0.00005190972222222223
|
|
389
433
|
vcpu-ratio: 8
|
|
390
434
|
cpu-energy-kwh: 0.000006488715277777778
|
|
391
|
-
carbon
|
|
435
|
+
embodied-carbon: 0.000010128107559614409
|
|
392
436
|
carbon-operational: 0.005190972222222222
|
|
393
437
|
carbon: 0.005201100329781837
|
|
394
438
|
sci: 0.0010402200659563674
|
|
395
|
-
- timestamp:
|
|
439
|
+
- timestamp: "2023-12-12T00:00:20.000Z"
|
|
396
440
|
duration: 5
|
|
397
441
|
cloud/instance-type: A1
|
|
398
442
|
cloud/region: uk-west
|
|
@@ -411,11 +455,11 @@ tree:
|
|
|
411
455
|
cpu-energy-raw: 0.00005190972222222223
|
|
412
456
|
vcpu-ratio: 8
|
|
413
457
|
cpu-energy-kwh: 0.000006488715277777778
|
|
414
|
-
carbon
|
|
458
|
+
embodied-carbon: 0.000010128107559614409
|
|
415
459
|
carbon-operational: 0.005190972222222222
|
|
416
460
|
carbon: 0.005201100329781837
|
|
417
461
|
sci: 0.0010402200659563674
|
|
418
|
-
- timestamp:
|
|
462
|
+
- timestamp: "2023-12-12T00:00:25.000Z"
|
|
419
463
|
duration: 5
|
|
420
464
|
cloud/instance-type: A1
|
|
421
465
|
cloud/region: uk-west
|
|
@@ -434,11 +478,11 @@ tree:
|
|
|
434
478
|
cpu-energy-raw: 0.00005190972222222223
|
|
435
479
|
vcpu-ratio: 8
|
|
436
480
|
cpu-energy-kwh: 0.000006488715277777778
|
|
437
|
-
carbon
|
|
481
|
+
embodied-carbon: 0.000010128107559614409
|
|
438
482
|
carbon-operational: 0.005190972222222222
|
|
439
483
|
carbon: 0.005201100329781837
|
|
440
484
|
sci: 0.0010402200659563674
|
|
441
|
-
- timestamp:
|
|
485
|
+
- timestamp: "2023-12-12T00:00:30.000Z"
|
|
442
486
|
duration: 5
|
|
443
487
|
cloud/instance-type: A1
|
|
444
488
|
cloud/region: uk-west
|
|
@@ -457,11 +501,11 @@ tree:
|
|
|
457
501
|
cpu-energy-raw: 0.00005190972222222223
|
|
458
502
|
vcpu-ratio: 8
|
|
459
503
|
cpu-energy-kwh: 0.000006488715277777778
|
|
460
|
-
carbon
|
|
504
|
+
embodied-carbon: 0.000010128107559614409
|
|
461
505
|
carbon-operational: 0.005190972222222222
|
|
462
506
|
carbon: 0.005201100329781837
|
|
463
507
|
sci: 0.0010402200659563674
|
|
464
|
-
- timestamp:
|
|
508
|
+
- timestamp: "2023-12-12T00:00:35.000Z"
|
|
465
509
|
duration: 5
|
|
466
510
|
cloud/instance-type: A1
|
|
467
511
|
cloud/region: uk-west
|
|
@@ -480,11 +524,11 @@ tree:
|
|
|
480
524
|
cpu-energy-raw: 0.00005190972222222223
|
|
481
525
|
vcpu-ratio: 8
|
|
482
526
|
cpu-energy-kwh: 0.000006488715277777778
|
|
483
|
-
carbon
|
|
527
|
+
embodied-carbon: 0.000010128107559614409
|
|
484
528
|
carbon-operational: 0.005190972222222222
|
|
485
529
|
carbon: 0.005201100329781837
|
|
486
530
|
sci: 0.0010402200659563674
|
|
487
|
-
- timestamp:
|
|
531
|
+
- timestamp: "2023-12-12T00:00:40.000Z"
|
|
488
532
|
duration: 5
|
|
489
533
|
cloud/instance-type: A1
|
|
490
534
|
cloud/region: uk-west
|
|
@@ -503,11 +547,11 @@ tree:
|
|
|
503
547
|
cpu-energy-raw: 0.000031145833333333336
|
|
504
548
|
vcpu-ratio: 8
|
|
505
549
|
cpu-energy-kwh: 0.000003893229166666667
|
|
506
|
-
carbon
|
|
550
|
+
embodied-carbon: 0.000006076864535768645
|
|
507
551
|
carbon-operational: 0.0031145833333333334
|
|
508
552
|
carbon: 0.003120660197869102
|
|
509
553
|
sci: 0.0010402200659563674
|
|
510
|
-
- timestamp:
|
|
554
|
+
- timestamp: "2023-12-12T00:00:45.000Z"
|
|
511
555
|
duration: 5
|
|
512
556
|
cloud/instance-type: A1
|
|
513
557
|
cloud/region: uk-west
|
|
@@ -526,11 +570,11 @@ tree:
|
|
|
526
570
|
cpu-energy-raw: 0
|
|
527
571
|
vcpu-ratio: 8
|
|
528
572
|
cpu-energy-kwh: 0
|
|
529
|
-
carbon
|
|
573
|
+
embodied-carbon: 0
|
|
530
574
|
carbon-operational: 0
|
|
531
575
|
carbon: 0
|
|
532
576
|
sci: 0
|
|
533
|
-
- timestamp:
|
|
577
|
+
- timestamp: "2023-12-12T00:00:50.000Z"
|
|
534
578
|
duration: 5
|
|
535
579
|
cloud/instance-type: A1
|
|
536
580
|
cloud/region: uk-west
|
|
@@ -549,11 +593,11 @@ tree:
|
|
|
549
593
|
cpu-energy-raw: 0
|
|
550
594
|
vcpu-ratio: 8
|
|
551
595
|
cpu-energy-kwh: 0
|
|
552
|
-
carbon
|
|
596
|
+
embodied-carbon: 0
|
|
553
597
|
carbon-operational: 0
|
|
554
598
|
carbon: 0
|
|
555
599
|
sci: 0
|
|
556
|
-
- timestamp:
|
|
600
|
+
- timestamp: "2023-12-12T00:00:55.000Z"
|
|
557
601
|
duration: 5
|
|
558
602
|
cloud/instance-type: A1
|
|
559
603
|
cloud/region: uk-west
|
|
@@ -572,11 +616,11 @@ tree:
|
|
|
572
616
|
cpu-energy-raw: 0
|
|
573
617
|
vcpu-ratio: 8
|
|
574
618
|
cpu-energy-kwh: 0
|
|
575
|
-
carbon
|
|
619
|
+
embodied-carbon: 0
|
|
576
620
|
carbon-operational: 0
|
|
577
621
|
carbon: 0
|
|
578
622
|
sci: 0
|
|
579
|
-
- timestamp:
|
|
623
|
+
- timestamp: "2023-12-12T00:01:00.000Z"
|
|
580
624
|
duration: 1
|
|
581
625
|
cloud/instance-type: A1
|
|
582
626
|
cloud/region: uk-west
|
|
@@ -595,7 +639,7 @@ tree:
|
|
|
595
639
|
cpu-energy-raw: 0
|
|
596
640
|
vcpu-ratio: 8
|
|
597
641
|
cpu-energy-kwh: 0
|
|
598
|
-
carbon
|
|
642
|
+
embodied-carbon: 0
|
|
599
643
|
carbon-operational: 0
|
|
600
644
|
carbon: 0
|
|
601
645
|
sci: 0
|
|
@@ -627,32 +671,32 @@ tree:
|
|
|
627
671
|
vcpus-total: 8
|
|
628
672
|
vcpus-allocated: 1
|
|
629
673
|
inputs:
|
|
630
|
-
- timestamp:
|
|
674
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
631
675
|
duration: 1
|
|
632
676
|
cpu/utilization: 30
|
|
633
677
|
cloud/instance-type: A1
|
|
634
678
|
cloud/region: uk-west
|
|
635
679
|
requests: 100
|
|
636
|
-
- timestamp:
|
|
680
|
+
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
637
681
|
duration: 5
|
|
638
682
|
cpu/utilization: 28
|
|
639
683
|
cloud/instance-type: A1
|
|
640
684
|
cloud/region: uk-west
|
|
641
685
|
requests: 150
|
|
642
|
-
- timestamp:
|
|
686
|
+
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
643
687
|
duration: 7
|
|
644
688
|
cpu/utilization: 40
|
|
645
689
|
cloud/instance-type: A1
|
|
646
690
|
cloud/region: uk-west
|
|
647
691
|
requests: 110
|
|
648
|
-
- timestamp:
|
|
692
|
+
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
649
693
|
duration: 30
|
|
650
694
|
cpu/utilization: 33
|
|
651
695
|
cloud/instance-type: A1
|
|
652
696
|
cloud/region: uk-west
|
|
653
697
|
requests: 180
|
|
654
698
|
outputs:
|
|
655
|
-
- timestamp:
|
|
699
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
656
700
|
duration: 5
|
|
657
701
|
cpu/utilization: 22.8
|
|
658
702
|
cloud/instance-type: A1
|
|
@@ -671,11 +715,11 @@ tree:
|
|
|
671
715
|
cpu-energy-raw: 0.00007191666666666668
|
|
672
716
|
vcpu-ratio: 8
|
|
673
717
|
cpu-energy-kwh: 0.000008989583333333334
|
|
674
|
-
carbon
|
|
718
|
+
embodied-carbon: 0.000010128107559614409
|
|
675
719
|
carbon-operational: 0.007191666666666666
|
|
676
720
|
carbon: 0.007201794774226282
|
|
677
721
|
sci: 0.00003273543079193765
|
|
678
|
-
- timestamp:
|
|
722
|
+
- timestamp: "2023-12-12T00:00:05.000Z"
|
|
679
723
|
duration: 5
|
|
680
724
|
cpu/utilization: 29.6
|
|
681
725
|
cloud/instance-type: A1
|
|
@@ -694,11 +738,11 @@ tree:
|
|
|
694
738
|
cpu-energy-raw: 0.00008565277777777778
|
|
695
739
|
vcpu-ratio: 8
|
|
696
740
|
cpu-energy-kwh: 0.000010706597222222223
|
|
697
|
-
carbon
|
|
741
|
+
embodied-carbon: 0.000010128107559614407
|
|
698
742
|
carbon-operational: 0.008565277777777778
|
|
699
743
|
carbon: 0.008575405885337391
|
|
700
744
|
sci: 0.00009235052491901808
|
|
701
|
-
- timestamp:
|
|
745
|
+
- timestamp: "2023-12-12T00:00:10.000Z"
|
|
702
746
|
duration: 5
|
|
703
747
|
cpu/utilization: 30.6
|
|
704
748
|
cloud/instance-type: A1
|
|
@@ -717,11 +761,11 @@ tree:
|
|
|
717
761
|
cpu-energy-raw: 0.00008505555555555556
|
|
718
762
|
vcpu-ratio: 8
|
|
719
763
|
cpu-energy-kwh: 0.000010631944444444445
|
|
720
|
-
carbon
|
|
764
|
+
embodied-carbon: 0.000010128107559614407
|
|
721
765
|
carbon-operational: 0.008505555555555556
|
|
722
766
|
carbon: 0.00851568366311517
|
|
723
767
|
sci: 0.0001439849894729618
|
|
724
|
-
- timestamp:
|
|
768
|
+
- timestamp: "2023-12-12T00:00:15.000Z"
|
|
725
769
|
duration: 5
|
|
726
770
|
cpu/utilization: 26.4
|
|
727
771
|
cloud/instance-type: A1
|
|
@@ -740,11 +784,11 @@ tree:
|
|
|
740
784
|
cpu-energy-raw: 0.00007878472222222222
|
|
741
785
|
vcpu-ratio: 8
|
|
742
786
|
cpu-energy-kwh: 0.000009848090277777778
|
|
743
|
-
carbon
|
|
787
|
+
embodied-carbon: 0.000010128107559614409
|
|
744
788
|
carbon-operational: 0.007878472222222222
|
|
745
789
|
carbon: 0.007888600329781836
|
|
746
790
|
sci: 0.0002629533443260612
|
|
747
|
-
- timestamp:
|
|
791
|
+
- timestamp: "2023-12-12T00:00:20.000Z"
|
|
748
792
|
duration: 5
|
|
749
793
|
cpu/utilization: 26.4
|
|
750
794
|
cloud/instance-type: A1
|
|
@@ -763,11 +807,11 @@ tree:
|
|
|
763
807
|
cpu-energy-raw: 0.00007878472222222222
|
|
764
808
|
vcpu-ratio: 8
|
|
765
809
|
cpu-energy-kwh: 0.000009848090277777778
|
|
766
|
-
carbon
|
|
810
|
+
embodied-carbon: 0.000010128107559614409
|
|
767
811
|
carbon-operational: 0.007878472222222222
|
|
768
812
|
carbon: 0.007888600329781836
|
|
769
813
|
sci: 0.0002629533443260612
|
|
770
|
-
- timestamp:
|
|
814
|
+
- timestamp: "2023-12-12T00:00:25.000Z"
|
|
771
815
|
duration: 5
|
|
772
816
|
cpu/utilization: 26.4
|
|
773
817
|
cloud/instance-type: A1
|
|
@@ -786,11 +830,11 @@ tree:
|
|
|
786
830
|
cpu-energy-raw: 0.00007878472222222222
|
|
787
831
|
vcpu-ratio: 8
|
|
788
832
|
cpu-energy-kwh: 0.000009848090277777778
|
|
789
|
-
carbon
|
|
833
|
+
embodied-carbon: 0.000010128107559614409
|
|
790
834
|
carbon-operational: 0.007878472222222222
|
|
791
835
|
carbon: 0.007888600329781836
|
|
792
836
|
sci: 0.0002629533443260612
|
|
793
|
-
- timestamp:
|
|
837
|
+
- timestamp: "2023-12-12T00:00:30.000Z"
|
|
794
838
|
duration: 5
|
|
795
839
|
cpu/utilization: 26.4
|
|
796
840
|
cloud/instance-type: A1
|
|
@@ -809,11 +853,11 @@ tree:
|
|
|
809
853
|
cpu-energy-raw: 0.00007878472222222222
|
|
810
854
|
vcpu-ratio: 8
|
|
811
855
|
cpu-energy-kwh: 0.000009848090277777778
|
|
812
|
-
carbon
|
|
856
|
+
embodied-carbon: 0.000010128107559614409
|
|
813
857
|
carbon-operational: 0.007878472222222222
|
|
814
858
|
carbon: 0.007888600329781836
|
|
815
859
|
sci: 0.0002629533443260612
|
|
816
|
-
- timestamp:
|
|
860
|
+
- timestamp: "2023-12-12T00:00:35.000Z"
|
|
817
861
|
duration: 5
|
|
818
862
|
cpu/utilization: 26.4
|
|
819
863
|
cloud/instance-type: A1
|
|
@@ -832,11 +876,11 @@ tree:
|
|
|
832
876
|
cpu-energy-raw: 0.00007878472222222222
|
|
833
877
|
vcpu-ratio: 8
|
|
834
878
|
cpu-energy-kwh: 0.000009848090277777778
|
|
835
|
-
carbon
|
|
879
|
+
embodied-carbon: 0.000010128107559614409
|
|
836
880
|
carbon-operational: 0.007878472222222222
|
|
837
881
|
carbon: 0.007888600329781836
|
|
838
882
|
sci: 0.0002629533443260612
|
|
839
|
-
- timestamp:
|
|
883
|
+
- timestamp: "2023-12-12T00:00:40.000Z"
|
|
840
884
|
duration: 5
|
|
841
885
|
cpu/utilization: 19.8
|
|
842
886
|
cloud/instance-type: A1
|
|
@@ -855,11 +899,11 @@ tree:
|
|
|
855
899
|
cpu-energy-raw: 0.00004727083333333333
|
|
856
900
|
vcpu-ratio: 8
|
|
857
901
|
cpu-energy-kwh: 0.000005908854166666666
|
|
858
|
-
carbon
|
|
902
|
+
embodied-carbon: 0.000006076864535768645
|
|
859
903
|
carbon-operational: 0.004727083333333333
|
|
860
904
|
carbon: 0.0047331601978691015
|
|
861
905
|
sci: 0.00026295334432606117
|
|
862
|
-
- timestamp:
|
|
906
|
+
- timestamp: "2023-12-12T00:00:45.000Z"
|
|
863
907
|
duration: 5
|
|
864
908
|
cpu/utilization: 0
|
|
865
909
|
cloud/instance-type: A1
|
|
@@ -878,11 +922,11 @@ tree:
|
|
|
878
922
|
cpu-energy-raw: 0
|
|
879
923
|
vcpu-ratio: 8
|
|
880
924
|
cpu-energy-kwh: 0
|
|
881
|
-
carbon
|
|
925
|
+
embodied-carbon: 0
|
|
882
926
|
carbon-operational: 0
|
|
883
927
|
carbon: 0
|
|
884
928
|
sci: 0
|
|
885
|
-
- timestamp:
|
|
929
|
+
- timestamp: "2023-12-12T00:00:50.000Z"
|
|
886
930
|
duration: 5
|
|
887
931
|
cpu/utilization: 0
|
|
888
932
|
cloud/instance-type: A1
|
|
@@ -901,11 +945,11 @@ tree:
|
|
|
901
945
|
cpu-energy-raw: 0
|
|
902
946
|
vcpu-ratio: 8
|
|
903
947
|
cpu-energy-kwh: 0
|
|
904
|
-
carbon
|
|
948
|
+
embodied-carbon: 0
|
|
905
949
|
carbon-operational: 0
|
|
906
950
|
carbon: 0
|
|
907
951
|
sci: 0
|
|
908
|
-
- timestamp:
|
|
952
|
+
- timestamp: "2023-12-12T00:00:55.000Z"
|
|
909
953
|
duration: 5
|
|
910
954
|
cpu/utilization: 0
|
|
911
955
|
cloud/instance-type: A1
|
|
@@ -924,11 +968,11 @@ tree:
|
|
|
924
968
|
cpu-energy-raw: 0
|
|
925
969
|
vcpu-ratio: 8
|
|
926
970
|
cpu-energy-kwh: 0
|
|
927
|
-
carbon
|
|
971
|
+
embodied-carbon: 0
|
|
928
972
|
carbon-operational: 0
|
|
929
973
|
carbon: 0
|
|
930
974
|
sci: 0
|
|
931
|
-
- timestamp:
|
|
975
|
+
- timestamp: "2023-12-12T00:01:00.000Z"
|
|
932
976
|
duration: 1
|
|
933
977
|
cpu/utilization: 0
|
|
934
978
|
cloud/instance-type: A1
|
|
@@ -947,7 +991,7 @@ tree:
|
|
|
947
991
|
cpu-energy-raw: 0
|
|
948
992
|
vcpu-ratio: 8
|
|
949
993
|
cpu-energy-kwh: 0
|
|
950
|
-
carbon
|
|
994
|
+
embodied-carbon: 0
|
|
951
995
|
carbon-operational: 0
|
|
952
996
|
carbon: 0
|
|
953
997
|
sci: 0
|
|
@@ -955,43 +999,43 @@ tree:
|
|
|
955
999
|
carbon: 0.06846904616945712
|
|
956
1000
|
outputs:
|
|
957
1001
|
- carbon: 0.012850811770674785
|
|
958
|
-
timestamp:
|
|
1002
|
+
timestamp: "2023-12-12T00:00:00.000Z"
|
|
959
1003
|
duration: 5
|
|
960
1004
|
- carbon: 0.013925811770674782
|
|
961
|
-
timestamp:
|
|
1005
|
+
timestamp: "2023-12-12T00:00:05.000Z"
|
|
962
1006
|
duration: 5
|
|
963
1007
|
- carbon: 0.013716783992897007
|
|
964
|
-
timestamp:
|
|
1008
|
+
timestamp: "2023-12-12T00:00:10.000Z"
|
|
965
1009
|
duration: 5
|
|
966
1010
|
- carbon: 0.013089700659563674
|
|
967
|
-
timestamp:
|
|
1011
|
+
timestamp: "2023-12-12T00:00:15.000Z"
|
|
968
1012
|
duration: 5
|
|
969
1013
|
- carbon: 0.013089700659563674
|
|
970
|
-
timestamp:
|
|
1014
|
+
timestamp: "2023-12-12T00:00:20.000Z"
|
|
971
1015
|
duration: 5
|
|
972
1016
|
- carbon: 0.013089700659563674
|
|
973
|
-
timestamp:
|
|
1017
|
+
timestamp: "2023-12-12T00:00:25.000Z"
|
|
974
1018
|
duration: 5
|
|
975
1019
|
- carbon: 0.013089700659563674
|
|
976
|
-
timestamp:
|
|
1020
|
+
timestamp: "2023-12-12T00:00:30.000Z"
|
|
977
1021
|
duration: 5
|
|
978
1022
|
- carbon: 0.013089700659563674
|
|
979
|
-
timestamp:
|
|
1023
|
+
timestamp: "2023-12-12T00:00:35.000Z"
|
|
980
1024
|
duration: 5
|
|
981
1025
|
- carbon: 0.007853820395738204
|
|
982
|
-
timestamp:
|
|
1026
|
+
timestamp: "2023-12-12T00:00:40.000Z"
|
|
983
1027
|
duration: 5
|
|
984
1028
|
- carbon: 0
|
|
985
|
-
timestamp:
|
|
1029
|
+
timestamp: "2023-12-12T00:00:45.000Z"
|
|
986
1030
|
duration: 5
|
|
987
1031
|
- carbon: 0
|
|
988
|
-
timestamp:
|
|
1032
|
+
timestamp: "2023-12-12T00:00:50.000Z"
|
|
989
1033
|
duration: 5
|
|
990
1034
|
- carbon: 0
|
|
991
|
-
timestamp:
|
|
1035
|
+
timestamp: "2023-12-12T00:00:55.000Z"
|
|
992
1036
|
duration: 5
|
|
993
1037
|
- carbon: 0
|
|
994
|
-
timestamp:
|
|
1038
|
+
timestamp: "2023-12-12T00:01:00.000Z"
|
|
995
1039
|
duration: 1
|
|
996
1040
|
aggregated:
|
|
997
1041
|
carbon: 0.11379573122780316
|