@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
|
@@ -6,40 +6,34 @@ initialize:
|
|
|
6
6
|
time-sync:
|
|
7
7
|
path: builtin
|
|
8
8
|
method: TimeSync
|
|
9
|
-
|
|
10
|
-
start-time:
|
|
11
|
-
end-time:
|
|
9
|
+
config:
|
|
10
|
+
start-time: '2023-12-12T00:00:00.000Z'
|
|
11
|
+
end-time: '2023-12-12T00:01:00.000Z'
|
|
12
12
|
interval: 5
|
|
13
13
|
allow-padding: true
|
|
14
|
-
parameter-metadata:
|
|
15
|
-
outputs:
|
|
16
|
-
energy-cpu:
|
|
17
|
-
unit: KWH
|
|
18
|
-
description: energy
|
|
19
|
-
aggregation-method: sum
|
|
20
14
|
execution:
|
|
21
15
|
command: >-
|
|
22
|
-
/Users/
|
|
23
|
-
/Users/
|
|
24
|
-
manifests/
|
|
25
|
-
manifests/outputs/
|
|
16
|
+
/Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
17
|
+
/Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m
|
|
18
|
+
manifests/examples/builtins/time-sync/success.yml -o
|
|
19
|
+
manifests/outputs/builtins/time-sync/success.yml
|
|
26
20
|
environment:
|
|
27
|
-
if-version: 0.
|
|
21
|
+
if-version: 0.6.0
|
|
28
22
|
os: macOS
|
|
29
|
-
os-version:
|
|
30
|
-
node-version: 18.
|
|
31
|
-
date-time: 2024-
|
|
23
|
+
os-version: 14.6.1
|
|
24
|
+
node-version: 18.20.4
|
|
25
|
+
date-time: 2024-09-12T06:16:13.676Z (UTC)
|
|
32
26
|
dependencies:
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
27
|
+
- '@babel/core@7.22.10'
|
|
28
|
+
- '@babel/preset-typescript@7.23.3'
|
|
29
|
+
- '@commitlint/cli@18.6.0'
|
|
30
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
31
|
+
- '@grnsft/if-core@0.0.22'
|
|
32
|
+
- '@jest/globals@29.7.0'
|
|
33
|
+
- '@types/jest@29.5.8'
|
|
34
|
+
- '@types/js-yaml@4.0.9'
|
|
35
|
+
- '@types/luxon@3.4.2'
|
|
36
|
+
- '@types/node@20.9.0'
|
|
43
37
|
- axios-mock-adapter@1.22.0
|
|
44
38
|
- axios@1.7.2
|
|
45
39
|
- cross-env@7.0.3
|
|
@@ -59,7 +53,7 @@ execution:
|
|
|
59
53
|
- typescript-cubic-spline@1.0.1
|
|
60
54
|
- typescript@5.2.2
|
|
61
55
|
- winston@3.11.0
|
|
62
|
-
- zod@3.
|
|
56
|
+
- zod@3.23.8
|
|
63
57
|
status: success
|
|
64
58
|
tree:
|
|
65
59
|
children:
|
|
@@ -68,55 +62,52 @@ tree:
|
|
|
68
62
|
compute:
|
|
69
63
|
- time-sync
|
|
70
64
|
inputs:
|
|
71
|
-
- timestamp:
|
|
65
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
72
66
|
duration: 1
|
|
73
67
|
energy-cpu: 0.001
|
|
74
|
-
- timestamp:
|
|
68
|
+
- timestamp: '2023-12-12T00:00:01.000Z'
|
|
75
69
|
duration: 5
|
|
76
70
|
energy-cpu: 0.001
|
|
77
|
-
- timestamp:
|
|
71
|
+
- timestamp: '2023-12-12T00:00:06.000Z'
|
|
78
72
|
duration: 7
|
|
79
73
|
energy-cpu: 0.001
|
|
80
|
-
- timestamp:
|
|
74
|
+
- timestamp: '2023-12-12T00:00:13.000Z'
|
|
81
75
|
duration: 30
|
|
82
76
|
energy-cpu: 0.001
|
|
83
77
|
outputs:
|
|
84
|
-
- timestamp:
|
|
78
|
+
- timestamp: '2023-12-12T00:00:00.000Z'
|
|
85
79
|
duration: 5
|
|
86
|
-
energy-cpu: 0.
|
|
87
|
-
- timestamp:
|
|
80
|
+
energy-cpu: 0.001
|
|
81
|
+
- timestamp: '2023-12-12T00:00:05.000Z'
|
|
88
82
|
duration: 5
|
|
89
|
-
energy-cpu: 0.
|
|
90
|
-
- timestamp:
|
|
83
|
+
energy-cpu: 0.001
|
|
84
|
+
- timestamp: '2023-12-12T00:00:10.000Z'
|
|
91
85
|
duration: 5
|
|
92
|
-
energy-cpu: 0.
|
|
93
|
-
- timestamp:
|
|
86
|
+
energy-cpu: 0.001
|
|
87
|
+
- timestamp: '2023-12-12T00:00:15.000Z'
|
|
94
88
|
duration: 5
|
|
95
|
-
energy-cpu: 0.
|
|
96
|
-
- timestamp:
|
|
89
|
+
energy-cpu: 0.001
|
|
90
|
+
- timestamp: '2023-12-12T00:00:20.000Z'
|
|
97
91
|
duration: 5
|
|
98
|
-
energy-cpu: 0.
|
|
99
|
-
- timestamp:
|
|
92
|
+
energy-cpu: 0.001
|
|
93
|
+
- timestamp: '2023-12-12T00:00:25.000Z'
|
|
100
94
|
duration: 5
|
|
101
|
-
energy-cpu: 0.
|
|
102
|
-
- timestamp:
|
|
95
|
+
energy-cpu: 0.001
|
|
96
|
+
- timestamp: '2023-12-12T00:00:30.000Z'
|
|
103
97
|
duration: 5
|
|
104
|
-
energy-cpu: 0.
|
|
105
|
-
- timestamp:
|
|
98
|
+
energy-cpu: 0.001
|
|
99
|
+
- timestamp: '2023-12-12T00:00:35.000Z'
|
|
106
100
|
duration: 5
|
|
107
|
-
energy-cpu: 0.
|
|
108
|
-
- timestamp:
|
|
101
|
+
energy-cpu: 0.001
|
|
102
|
+
- timestamp: '2023-12-12T00:00:40.000Z'
|
|
109
103
|
duration: 5
|
|
110
|
-
energy-cpu: 0.
|
|
111
|
-
- timestamp:
|
|
104
|
+
energy-cpu: 0.001
|
|
105
|
+
- timestamp: '2023-12-12T00:00:45.000Z'
|
|
112
106
|
duration: 5
|
|
113
|
-
energy-cpu: 0
|
|
114
|
-
- timestamp:
|
|
107
|
+
energy-cpu: 0.001
|
|
108
|
+
- timestamp: '2023-12-12T00:00:50.000Z'
|
|
115
109
|
duration: 5
|
|
116
|
-
energy-cpu: 0
|
|
117
|
-
- timestamp:
|
|
110
|
+
energy-cpu: 0.001
|
|
111
|
+
- timestamp: '2023-12-12T00:00:55.000Z'
|
|
118
112
|
duration: 5
|
|
119
|
-
energy-cpu: 0
|
|
120
|
-
- timestamp: "2023-12-12T00:01:00.000Z"
|
|
121
|
-
duration: 1
|
|
122
|
-
energy-cpu: 0
|
|
113
|
+
energy-cpu: 0.001
|
|
@@ -9,7 +9,7 @@ initialize:
|
|
|
9
9
|
cloud-metadata:
|
|
10
10
|
path: builtin
|
|
11
11
|
method: CSVLookup
|
|
12
|
-
|
|
12
|
+
config:
|
|
13
13
|
filepath: >-
|
|
14
14
|
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
15
|
query:
|
|
@@ -22,7 +22,9 @@ initialize:
|
|
|
22
22
|
cpu/utilization:
|
|
23
23
|
unit: percentage
|
|
24
24
|
description: refers to CPU utilization.
|
|
25
|
-
aggregation-method:
|
|
25
|
+
aggregation-method:
|
|
26
|
+
time: avg
|
|
27
|
+
component: avg
|
|
26
28
|
execution:
|
|
27
29
|
command: >-
|
|
28
30
|
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
@@ -9,7 +9,7 @@ initialize:
|
|
|
9
9
|
cloud-metadata:
|
|
10
10
|
path: builtin
|
|
11
11
|
method: CSVLookup
|
|
12
|
-
|
|
12
|
+
config:
|
|
13
13
|
filepath: >-
|
|
14
14
|
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
15
|
query:
|
|
@@ -22,7 +22,9 @@ initialize:
|
|
|
22
22
|
cpu/utilization:
|
|
23
23
|
unit: percentage
|
|
24
24
|
description: refers to CPU utilization.
|
|
25
|
-
aggregation-method:
|
|
25
|
+
aggregation-method:
|
|
26
|
+
time: avg
|
|
27
|
+
component: avg
|
|
26
28
|
execution:
|
|
27
29
|
command: >-
|
|
28
30
|
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
@@ -9,7 +9,7 @@ initialize:
|
|
|
9
9
|
cloud-metadata:
|
|
10
10
|
path: builtin
|
|
11
11
|
method: CSVLookup
|
|
12
|
-
|
|
12
|
+
config:
|
|
13
13
|
filepath: >-
|
|
14
14
|
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
15
15
|
query:
|
|
@@ -22,7 +22,9 @@ initialize:
|
|
|
22
22
|
cpu/utilization:
|
|
23
23
|
unit: percentage
|
|
24
24
|
description: refers to CPU utilization.
|
|
25
|
-
aggregation-method:
|
|
25
|
+
aggregation-method:
|
|
26
|
+
time: avg
|
|
27
|
+
component: avg
|
|
26
28
|
execution:
|
|
27
29
|
command: >-
|
|
28
30
|
/Users/mariamkhalatova/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
name: regroup
|
|
2
|
+
description: failure when `regroup` is not an array
|
|
3
|
+
initialize:
|
|
4
|
+
plugins: {}
|
|
5
|
+
execution:
|
|
6
|
+
status: fail
|
|
7
|
+
command: >-
|
|
8
|
+
/Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
9
|
+
/Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m
|
|
10
|
+
manifests/examples/features/regroup/failure-invalid-regroup.yml -o
|
|
11
|
+
manifests/outputs/features/regroup/failure-invalid-regroup.yml
|
|
12
|
+
environment:
|
|
13
|
+
if-version: 0.6.0
|
|
14
|
+
os: macOS
|
|
15
|
+
os-version: 14.6.1
|
|
16
|
+
node-version: 18.20.4
|
|
17
|
+
date-time: 2024-09-12T06:13:09.837Z (UTC)
|
|
18
|
+
dependencies:
|
|
19
|
+
- '@babel/core@7.22.10'
|
|
20
|
+
- '@babel/preset-typescript@7.23.3'
|
|
21
|
+
- '@commitlint/cli@18.6.0'
|
|
22
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
23
|
+
- '@grnsft/if-core@0.0.22'
|
|
24
|
+
- '@jest/globals@29.7.0'
|
|
25
|
+
- '@types/jest@29.5.8'
|
|
26
|
+
- '@types/js-yaml@4.0.9'
|
|
27
|
+
- '@types/luxon@3.4.2'
|
|
28
|
+
- '@types/node@20.9.0'
|
|
29
|
+
- axios-mock-adapter@1.22.0
|
|
30
|
+
- axios@1.7.2
|
|
31
|
+
- cross-env@7.0.3
|
|
32
|
+
- csv-parse@5.5.6
|
|
33
|
+
- csv-stringify@6.4.6
|
|
34
|
+
- fixpack@4.0.0
|
|
35
|
+
- gts@5.2.0
|
|
36
|
+
- husky@8.0.3
|
|
37
|
+
- jest@29.7.0
|
|
38
|
+
- js-yaml@4.1.0
|
|
39
|
+
- lint-staged@15.2.2
|
|
40
|
+
- luxon@3.4.4
|
|
41
|
+
- release-it@16.3.0
|
|
42
|
+
- rimraf@5.0.5
|
|
43
|
+
- ts-command-line-args@2.5.1
|
|
44
|
+
- ts-jest@29.1.1
|
|
45
|
+
- typescript-cubic-spline@1.0.1
|
|
46
|
+
- typescript@5.2.2
|
|
47
|
+
- winston@3.11.0
|
|
48
|
+
- zod@3.23.8
|
|
49
|
+
error: >-
|
|
50
|
+
InputValidationError: "regroup" parameter is not an array or should contain
|
|
51
|
+
at least one key. Error code: invalid_type.
|
|
52
|
+
tree:
|
|
53
|
+
children:
|
|
54
|
+
my-app:
|
|
55
|
+
pipeline:
|
|
56
|
+
regroup: cloud/region
|
|
57
|
+
inputs:
|
|
58
|
+
- timestamp: 2023-07-06T00:00
|
|
59
|
+
duration: 300
|
|
60
|
+
cloud/instance-type: A1
|
|
61
|
+
cloud/region: uk-west
|
|
62
|
+
cpu/utilization: 99
|
|
63
|
+
- timestamp: 2023-07-06T05:00
|
|
64
|
+
duration: 300
|
|
65
|
+
cloud/instance-type: A1
|
|
66
|
+
cloud/region: uk-west
|
|
67
|
+
cpu/utilization: 23
|
|
68
|
+
- timestamp: 2023-07-06T10:00
|
|
69
|
+
duration: 300
|
|
70
|
+
cloud/instance-type: A1
|
|
71
|
+
cloud/region: uk-west
|
|
72
|
+
cpu/utilization: 12
|
|
73
|
+
- timestamp: 2023-07-06T00:00
|
|
74
|
+
duration: 300
|
|
75
|
+
cloud/instance-type: B1
|
|
76
|
+
cloud/region: uk-west
|
|
77
|
+
cpu/utilization: 11
|
|
78
|
+
- timestamp: 2023-07-06T05:00
|
|
79
|
+
duration: 300
|
|
80
|
+
cloud/instance-type: B1
|
|
81
|
+
cloud/region: uk-west
|
|
82
|
+
cpu/utilization: 67
|
|
83
|
+
- timestamp: 2023-07-06T10:00
|
|
84
|
+
duration: 300
|
|
85
|
+
cloud/instance-type: B1
|
|
86
|
+
cloud/region: uk-west
|
|
87
|
+
cpu/utilization: 1
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
name: regroup
|
|
2
|
+
description: null
|
|
3
|
+
initialize:
|
|
4
|
+
plugins: {}
|
|
5
|
+
execution:
|
|
6
|
+
status: fail
|
|
7
|
+
command: >-
|
|
8
|
+
/Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
|
|
9
|
+
/Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m
|
|
10
|
+
manifests/examples/features/regroup/failure-missing-cloud-instance-type.yml
|
|
11
|
+
-o
|
|
12
|
+
manifests/outputs/features/regroup/failure-missing-cloud-instance-type.yml
|
|
13
|
+
environment:
|
|
14
|
+
if-version: 0.6.0
|
|
15
|
+
os: macOS
|
|
16
|
+
os-version: 14.6.1
|
|
17
|
+
node-version: 18.20.4
|
|
18
|
+
date-time: 2024-09-12T06:13:14.590Z (UTC)
|
|
19
|
+
dependencies:
|
|
20
|
+
- '@babel/core@7.22.10'
|
|
21
|
+
- '@babel/preset-typescript@7.23.3'
|
|
22
|
+
- '@commitlint/cli@18.6.0'
|
|
23
|
+
- '@commitlint/config-conventional@18.6.0'
|
|
24
|
+
- '@grnsft/if-core@0.0.22'
|
|
25
|
+
- '@jest/globals@29.7.0'
|
|
26
|
+
- '@types/jest@29.5.8'
|
|
27
|
+
- '@types/js-yaml@4.0.9'
|
|
28
|
+
- '@types/luxon@3.4.2'
|
|
29
|
+
- '@types/node@20.9.0'
|
|
30
|
+
- axios-mock-adapter@1.22.0
|
|
31
|
+
- axios@1.7.2
|
|
32
|
+
- cross-env@7.0.3
|
|
33
|
+
- csv-parse@5.5.6
|
|
34
|
+
- csv-stringify@6.4.6
|
|
35
|
+
- fixpack@4.0.0
|
|
36
|
+
- gts@5.2.0
|
|
37
|
+
- husky@8.0.3
|
|
38
|
+
- jest@29.7.0
|
|
39
|
+
- js-yaml@4.1.0
|
|
40
|
+
- lint-staged@15.2.2
|
|
41
|
+
- luxon@3.4.4
|
|
42
|
+
- release-it@16.3.0
|
|
43
|
+
- rimraf@5.0.5
|
|
44
|
+
- ts-command-line-args@2.5.1
|
|
45
|
+
- ts-jest@29.1.1
|
|
46
|
+
- typescript-cubic-spline@1.0.1
|
|
47
|
+
- typescript@5.2.2
|
|
48
|
+
- winston@3.11.0
|
|
49
|
+
- zod@3.23.8
|
|
50
|
+
error: 'InvalidGroupingError: Invalid group cloud/instance-type.'
|
|
51
|
+
tree:
|
|
52
|
+
children:
|
|
53
|
+
my-app:
|
|
54
|
+
pipeline:
|
|
55
|
+
regroup:
|
|
56
|
+
- cloud/region
|
|
57
|
+
- cloud/instance-type
|
|
58
|
+
inputs:
|
|
59
|
+
- timestamp: 2023-07-06T00:00
|
|
60
|
+
duration: 300
|
|
61
|
+
cloud/instance-type: A1
|
|
62
|
+
cloud/region: uk-west
|
|
63
|
+
cpu/utilization: 99
|
|
64
|
+
- timestamp: 2023-07-06T05:00
|
|
65
|
+
duration: 300
|
|
66
|
+
cloud/instance-type: A1
|
|
67
|
+
cloud/region: uk-west
|
|
68
|
+
cpu/utilization: 23
|
|
69
|
+
- timestamp: 2023-07-06T10:00
|
|
70
|
+
duration: 300
|
|
71
|
+
cloud/instance-type: A1
|
|
72
|
+
cloud/region: uk-west
|
|
73
|
+
cpu/utilization: 12
|
|
74
|
+
- timestamp: 2023-07-06T00:00
|
|
75
|
+
duration: 300
|
|
76
|
+
cloud/instance-type: B1
|
|
77
|
+
cloud/region: uk-west
|
|
78
|
+
cpu/utilization: 11
|
|
79
|
+
- timestamp: 2023-07-06T05:00
|
|
80
|
+
duration: 300
|
|
81
|
+
cloud/instance-type: B1
|
|
82
|
+
cloud/region: uk-west
|
|
83
|
+
cpu/utilization: 67
|
|
84
|
+
- timestamp: 2023-07-06T10:00
|
|
85
|
+
duration: 300
|
|
86
|
+
cloud/region: uk-west
|
|
87
|
+
cpu/utilization: 1
|
|
@@ -6,7 +6,7 @@ initialize:
|
|
|
6
6
|
cloud-metadata:
|
|
7
7
|
path: builtin
|
|
8
8
|
method: CSVLookup
|
|
9
|
-
|
|
9
|
+
config:
|
|
10
10
|
filepath: >-
|
|
11
11
|
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-aws-instances.csv
|
|
12
12
|
query:
|
|
@@ -17,7 +17,7 @@ initialize:
|
|
|
17
17
|
divide:
|
|
18
18
|
path: builtin
|
|
19
19
|
method: Divide
|
|
20
|
-
|
|
20
|
+
config:
|
|
21
21
|
numerator: vcpus-allocated
|
|
22
22
|
denominator: 2
|
|
23
23
|
output: cpu/number-cores
|
|
@@ -8,14 +8,14 @@ initialize:
|
|
|
8
8
|
interpolate:
|
|
9
9
|
path: builtin
|
|
10
10
|
method: Interpolation
|
|
11
|
-
|
|
11
|
+
config:
|
|
12
12
|
method: linear
|
|
13
13
|
x:
|
|
14
14
|
- 0
|
|
15
15
|
- 10
|
|
16
16
|
- 50
|
|
17
17
|
- 100
|
|
18
|
-
|
|
18
|
+
"y":
|
|
19
19
|
- 0.12
|
|
20
20
|
- 0.32
|
|
21
21
|
- 0.75
|
|
@@ -25,7 +25,7 @@ initialize:
|
|
|
25
25
|
cpu-factor-to-wattage:
|
|
26
26
|
path: builtin
|
|
27
27
|
method: Multiply
|
|
28
|
-
|
|
28
|
+
config:
|
|
29
29
|
input-parameters:
|
|
30
30
|
- cpu-factor
|
|
31
31
|
- cpu/thermal-design-power
|
|
@@ -33,7 +33,7 @@ initialize:
|
|
|
33
33
|
wattage-times-duration:
|
|
34
34
|
path: builtin
|
|
35
35
|
method: Multiply
|
|
36
|
-
|
|
36
|
+
config:
|
|
37
37
|
input-parameters:
|
|
38
38
|
- cpu-wattage
|
|
39
39
|
- duration
|
|
@@ -41,35 +41,35 @@ initialize:
|
|
|
41
41
|
wattage-to-energy-kwh:
|
|
42
42
|
path: builtin
|
|
43
43
|
method: Divide
|
|
44
|
-
|
|
44
|
+
config:
|
|
45
45
|
numerator: cpu-wattage-times-duration
|
|
46
46
|
denominator: 3600000
|
|
47
47
|
output: cpu-energy-raw
|
|
48
48
|
calculate-vcpu-ratio:
|
|
49
49
|
path: builtin
|
|
50
50
|
method: Divide
|
|
51
|
-
|
|
51
|
+
config:
|
|
52
52
|
numerator: vcpus-total
|
|
53
53
|
denominator: vcpus-allocated
|
|
54
54
|
output: vcpu-ratio
|
|
55
55
|
correct-cpu-energy-for-vcpu-ratio:
|
|
56
56
|
path: builtin
|
|
57
57
|
method: Divide
|
|
58
|
-
|
|
58
|
+
config:
|
|
59
59
|
numerator: cpu-energy-raw
|
|
60
60
|
denominator: vcpu-ratio
|
|
61
61
|
output: cpu-energy-kwh
|
|
62
62
|
coefficient:
|
|
63
63
|
path: builtin
|
|
64
64
|
method: Coefficient
|
|
65
|
-
|
|
65
|
+
config:
|
|
66
66
|
input-parameter: cpu-energy-kwh
|
|
67
67
|
coefficient: 2
|
|
68
68
|
output-parameter: energy-doubled
|
|
69
69
|
multiply:
|
|
70
70
|
path: builtin
|
|
71
71
|
method: Multiply
|
|
72
|
-
|
|
72
|
+
config:
|
|
73
73
|
input-parameters:
|
|
74
74
|
- cpu/utilization
|
|
75
75
|
- duration
|
|
@@ -83,20 +83,20 @@ execution:
|
|
|
83
83
|
environment:
|
|
84
84
|
if-version: 0.5.0
|
|
85
85
|
os: macOS
|
|
86
|
-
os-version:
|
|
86
|
+
os-version: "14.5"
|
|
87
87
|
node-version: 18.14.2
|
|
88
88
|
date-time: 2024-07-17T20:30:54.004Z (UTC)
|
|
89
89
|
dependencies:
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
90
|
+
- "@babel/core@7.22.10"
|
|
91
|
+
- "@babel/preset-typescript@7.23.3"
|
|
92
|
+
- "@commitlint/cli@18.6.0"
|
|
93
|
+
- "@commitlint/config-conventional@18.6.0"
|
|
94
|
+
- "@grnsft/if-core@0.0.10"
|
|
95
|
+
- "@jest/globals@29.7.0"
|
|
96
|
+
- "@types/jest@29.5.8"
|
|
97
|
+
- "@types/js-yaml@4.0.9"
|
|
98
|
+
- "@types/luxon@3.4.2"
|
|
99
|
+
- "@types/node@20.9.0"
|
|
100
100
|
- axios-mock-adapter@1.22.0
|
|
101
101
|
- axios@1.7.2
|
|
102
102
|
- cross-env@7.0.3
|
|
@@ -136,28 +136,28 @@ tree:
|
|
|
136
136
|
vcpus-allocated: 1
|
|
137
137
|
vcpus-total: 8
|
|
138
138
|
inputs:
|
|
139
|
-
- timestamp:
|
|
139
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
140
140
|
cloud/instance-type: A1
|
|
141
141
|
cloud/region: uk-west
|
|
142
142
|
duration: 1
|
|
143
143
|
cpu/utilization: 50
|
|
144
144
|
network/energy: 10
|
|
145
145
|
energy: 5
|
|
146
|
-
- timestamp:
|
|
146
|
+
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
147
147
|
duration: 5
|
|
148
148
|
cpu/utilization: 20
|
|
149
149
|
cloud/instance-type: A1
|
|
150
150
|
cloud/region: uk-west
|
|
151
151
|
network/energy: 10
|
|
152
152
|
energy: 5
|
|
153
|
-
- timestamp:
|
|
153
|
+
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
154
154
|
duration: 7
|
|
155
155
|
cpu/utilization: 15
|
|
156
156
|
cloud/instance-type: A1
|
|
157
157
|
cloud/region: uk-west
|
|
158
158
|
network/energy: 10
|
|
159
159
|
energy: 5
|
|
160
|
-
- timestamp:
|
|
160
|
+
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
161
161
|
duration: 30
|
|
162
162
|
cloud/instance-type: A1
|
|
163
163
|
cloud/region: uk-west
|
|
@@ -165,7 +165,7 @@ tree:
|
|
|
165
165
|
network/energy: 10
|
|
166
166
|
energy: 5
|
|
167
167
|
outputs:
|
|
168
|
-
- timestamp:
|
|
168
|
+
- timestamp: "2023-12-12T00:00:00.000Z"
|
|
169
169
|
cloud/instance-type: A1
|
|
170
170
|
cloud/region: uk-west
|
|
171
171
|
duration: 1
|
|
@@ -183,7 +183,7 @@ tree:
|
|
|
183
183
|
cpu-energy-kwh: 0.0000026041666666666666
|
|
184
184
|
energy-doubled: 0.000005208333333333333
|
|
185
185
|
cpu-times-duration: 50
|
|
186
|
-
- timestamp:
|
|
186
|
+
- timestamp: "2023-12-12T00:00:01.000Z"
|
|
187
187
|
duration: 5
|
|
188
188
|
cpu/utilization: 20
|
|
189
189
|
cloud/instance-type: A1
|
|
@@ -201,7 +201,7 @@ tree:
|
|
|
201
201
|
cpu-energy-kwh: 0.000007421875
|
|
202
202
|
energy-doubled: 0.00001484375
|
|
203
203
|
cpu-times-duration: 100
|
|
204
|
-
- timestamp:
|
|
204
|
+
- timestamp: "2023-12-12T00:00:06.000Z"
|
|
205
205
|
duration: 7
|
|
206
206
|
cpu/utilization: 15
|
|
207
207
|
cloud/instance-type: A1
|
|
@@ -219,7 +219,7 @@ tree:
|
|
|
219
219
|
cpu-energy-kwh: 0.000009084201388888889
|
|
220
220
|
energy-doubled: 0.000018168402777777778
|
|
221
221
|
cpu-times-duration: 105
|
|
222
|
-
- timestamp:
|
|
222
|
+
- timestamp: "2023-12-12T00:00:13.000Z"
|
|
223
223
|
duration: 30
|
|
224
224
|
cloud/instance-type: A1
|
|
225
225
|
cloud/region: uk-west
|
|
@@ -6,16 +6,16 @@ initialize:
|
|
|
6
6
|
cloud-instance-metadata:
|
|
7
7
|
path: builtin
|
|
8
8
|
method: CSVLookup
|
|
9
|
-
|
|
9
|
+
config:
|
|
10
10
|
filepath: >-
|
|
11
11
|
https://raw.githubusercontent.com/Green-Software-Foundation/if-data/main/cloud-metdata-azure-instances.csv
|
|
12
12
|
query:
|
|
13
13
|
instance-class: cloud/instance-type
|
|
14
|
-
output:
|
|
14
|
+
output: "*"
|
|
15
15
|
extract-processor-name:
|
|
16
16
|
path: builtin
|
|
17
17
|
method: Regex
|
|
18
|
-
|
|
18
|
+
config:
|
|
19
19
|
parameter: cpu-model-name
|
|
20
20
|
match: /^([^,])+/g
|
|
21
21
|
output: cpu/name
|
|
@@ -28,20 +28,20 @@ execution:
|
|
|
28
28
|
environment:
|
|
29
29
|
if-version: 0.5.0
|
|
30
30
|
os: macOS
|
|
31
|
-
os-version:
|
|
31
|
+
os-version: "14.5"
|
|
32
32
|
node-version: 18.14.2
|
|
33
33
|
date-time: 2024-07-19T06:31:27.411Z (UTC)
|
|
34
34
|
dependencies:
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
35
|
+
- "@babel/core@7.22.10"
|
|
36
|
+
- "@babel/preset-typescript@7.23.3"
|
|
37
|
+
- "@commitlint/cli@18.6.0"
|
|
38
|
+
- "@commitlint/config-conventional@18.6.0"
|
|
39
|
+
- "@grnsft/if-core@0.0.10"
|
|
40
|
+
- "@jest/globals@29.7.0"
|
|
41
|
+
- "@types/jest@29.5.8"
|
|
42
|
+
- "@types/js-yaml@4.0.9"
|
|
43
|
+
- "@types/luxon@3.4.2"
|
|
44
|
+
- "@types/node@20.9.0"
|
|
45
45
|
- axios-mock-adapter@1.22.0
|
|
46
46
|
- axios@1.7.2
|
|
47
47
|
- cross-env@7.0.3
|