From 1bf698e5a3fea688525ce4f1d34c23e128f8b7e3 Mon Sep 17 00:00:00 2001 From: manushak Date: Fri, 4 Oct 2024 20:08:12 +0400 Subject: [PATCH] fix(manifests): drop manifests that contains regroup --- .../outputs/features/regroup/success.yaml | 92 - .../pipeline-with-aggregate.yaml | 1212 ------------- .../outputs-if-diff/pipeline-with-mocks.yaml | 1507 ----------------- .../pipelines/pipeline-with-aggregate.yaml | 1167 ------------- .../pipelines/pipeline-with-mocks.yaml | 1187 ------------- manifests/outputs/pipelines/scenario-3.yaml | 146 -- manifests/outputs/pipelines/scenario-5.yaml | 125 -- 7 files changed, 5436 deletions(-) delete mode 100644 manifests/outputs/features/regroup/success.yaml delete mode 100644 manifests/outputs/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml delete mode 100644 manifests/outputs/pipelines/outputs-if-diff/pipeline-with-mocks.yaml delete mode 100644 manifests/outputs/pipelines/pipeline-with-aggregate.yaml delete mode 100644 manifests/outputs/pipelines/pipeline-with-mocks.yaml delete mode 100644 manifests/outputs/pipelines/scenario-3.yaml delete mode 100644 manifests/outputs/pipelines/scenario-5.yaml diff --git a/manifests/outputs/features/regroup/success.yaml b/manifests/outputs/features/regroup/success.yaml deleted file mode 100644 index efc6d847..00000000 --- a/manifests/outputs/features/regroup/success.yaml +++ /dev/null @@ -1,92 +0,0 @@ -name: regroup -description: successful path -initialize: - plugins: {} -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/features/regroup/success.yml -o - manifests/outputs/features/regroup/success.yml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:13:12.222Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - my-app: - pipeline: - regroup: - - cloud/region - - cloud/instance-type - children: - uk-west: - children: - A1: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 99 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 23 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - B1: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 11 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 67 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 1 diff --git a/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml b/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml deleted file mode 100644 index 90696873..00000000 --- a/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml +++ /dev/null @@ -1,1212 +0,0 @@ -name: pipeline-with-aggregate -description: a full pipeline with the aggregate feature enabled -tags: null -aggregation: - metrics: - - carbon - type: both -initialize: - plugins: - interpolate: - path: builtin - method: Interpolation - config: - method: linear - x: - - 0 - - 10 - - 50 - - 100 - 'y': - - 0.12 - - 0.32 - - 0.75 - - 1.02 - input-parameter: cpu/utilization - output-parameter: cpu-factor - parameter-metadata: - inputs: - cpu/utilization: - unit: percentage - description: refers to CPU utilization. - aggregation-method: - time: avg - component: avg - outputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu-factor-to-wattage: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-factor - - cpu/thermal-design-power - output-parameter: cpu-wattage - parameter-metadata: - inputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu/thermal-design-power: - unit: kWh - description: thermal design power for a processor - aggregation-method: - time: avg - component: avg - outputs: - cpu-wattage: - unit: kWh - description: the energy used by the CPU - aggregation-method: - time: sum - component: sum - wattage-times-duration: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-wattage - - duration - output-parameter: cpu-wattage-times-duration - wattage-to-energy-kwh: - path: builtin - method: Divide - config: - numerator: cpu-wattage-times-duration - denominator: 3600000 - output: cpu-energy-raw - parameter-metadata: - inputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - outputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - calculate-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: vcpus-total - denominator: vcpus-allocated - output: vcpu-ratio - parameter-metadata: - inputs: - vcpus-total: - unit: count - description: total number of vcpus available on a particular resource - aggregation-method: - time: none - component: none - vcpus-allocated: - unit: count - description: number of vcpus allocated to particular resource - aggregation-method: - time: none - component: none - outputs: - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: none - component: none - correct-cpu-energy-for-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: cpu-energy-raw - denominator: vcpu-ratio - output: cpu-energy-kwh - sci-embodied: - path: builtin - method: SciEmbodied - operational-carbon: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-energy-kwh - - grid/carbon-intensity - output-parameter: carbon-operational - parameter-metadata: - inputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - grid/carbon-intensity: - unit: gCO2eq/kWh - description: Carbon intensity for the grid - aggregation-method: - time: avg - component: avg - outputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - sci: - path: builtin - method: Sci - config: - functional-unit: requests - parameter-metadata: - inputs: - requests: - unit: none - description: expressed the final SCI value - aggregation-method: - time: sum - component: sum - sum-carbon: - path: builtin - method: Sum - config: - input-parameters: - - carbon-operational - - embodied-carbon - output-parameter: carbon - parameter-metadata: - inputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - embodied-carbon: - unit: gCO2eq - description: Embodied carbon footprint - aggregation-method: - time: sum - component: sum - outputs: - carbon: - unit: gCO2eq - description: Total carbon footprint - aggregation-method: - time: sum - component: sum - time-sync: - path: builtin - method: TimeSync - config: - start-time: '2023-12-12T00:00:00.000Z' - end-time: '2023-12-12T00:01:00.000Z' - interval: 5 - allow-padding: true - parameter-metadata: - inputs: - timestamp: - unit: RFC3339 - description: refers to the time of occurrence of the input - aggregation-method: - time: none - component: none - duration: - unit: seconds - description: refers to the duration of the input - aggregation-method: - time: sum - component: sum - cloud/instance-type: - unit: none - description: type of Cloud Instance name used in the cloud provider APIs - aggregation-method: - time: none - component: none - cloud/region: - unit: none - description: region cloud instance - aggregation-method: - time: none - component: none - time-reserved: - unit: seconds - description: time reserved for a component - aggregation-method: - time: avg - component: avg -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml -o - manifests/outputs/pipelines/outputs-if-diff/pipeline-with-aggregate.yaml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:13:45.889Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - child-1: - pipeline: - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - aggregated: - carbon: 0.38611984715880265 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 1 - cpu/utilization: 10 - requests: 10 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:01.000Z' - duration: 5 - cpu/utilization: 20 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 5 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:06.000Z' - duration: 7 - cpu/utilization: 15 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 15 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:13.000Z' - duration: 30 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 15 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 14 - requests: 14 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3205 - cpu-wattage: 66.19999999999999 - cpu-wattage-times-duration: 203 - cpu-energy-raw: 0.0000563888888888889 - vcpu-ratio: null - cpu-energy-kwh: 0.000007048611111111113 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.0056388888888888895 - carbon: 0.045276128868594626 - sci: 0.0032340092048996163 - - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cpu/utilization: 13 - cloud/instance-type: null - cloud/region: null - requests: 9.571428571428571 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.30975 - cpu-wattage: 29.907142857142862 - cpu-wattage-times-duration: 192.25 - cpu-energy-raw: 0.00005340277777777778 - vcpu-ratio: null - cpu-energy-kwh: 0.000006675347222222222 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.005340277777777777 - carbon: 0.044977517757483515 - sci: 0.004699143646304248 - - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cpu/utilization: 12 - cloud/instance-type: null - cloud/region: null - requests: 8.428571428571429 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 18.50952380952381 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.0000064887152777777775 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005318601447686367 - - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 9 - requests: 3 - cpu/thermal-design-power: 60 - grid/carbon-intensity: 480 - device/emissions-embodied: 1533.12 - time-reserved: 2160.2 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.22425 - cpu-wattage: 3.7375 - cpu-wattage-times-duration: 112.125 - cpu-energy-raw: 0.000031145833333333336 - vcpu-ratio: null - cpu-energy-kwh: 0.000003893229166666667 - embodied-carbon: 0.02378234398782344 - carbon-operational: 0.0031145833333333334 - carbon: 0.02689692732115677 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.38611984715880265 - outputs: - - carbon: 0.045276128868594626 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.044977517757483515 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02689692732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.38611984715880265 - outputs: - - carbon: 0.045276128868594626 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.044977517757483515 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02689692732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - child-2: - pipeline: - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - aggregated: - carbon: 0.4092622082699138 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 1 - cpu/utilization: 30 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 100 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:01.000Z' - duration: 5 - cpu/utilization: 28 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 150 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:06.000Z' - duration: 7 - cpu/utilization: 40 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 110 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:13.000Z' - duration: 30 - cpu/utilization: 33 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 180 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - cpu/utilization: 22.8 - cloud/instance-type: null - cloud/region: null - requests: 220 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.41509999999999997 - cpu-wattage: 94.57999999999998 - cpu-wattage-times-duration: 258.9 - cpu-energy-raw: 0.00007191666666666668 - vcpu-ratio: null - cpu-energy-kwh: 0.000008989583333333334 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007191666666666666 - carbon: 0.046828906646372404 - sci: 0.00021285866657442002 - - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cpu/utilization: 29.6 - cloud/instance-type: null - cloud/region: null - requests: 92.85714285714285 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.48819999999999997 - cpu-wattage: 46.98428571428572 - cpu-wattage-times-duration: 308.35 - cpu-energy-raw: 0.00008565277777777778 - vcpu-ratio: null - cpu-energy-kwh: 0.000010706597222222223 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.008565277777777778 - carbon: 0.04820251775748351 - sci: 0.0005191040373882839 - - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cpu/utilization: 30.6 - cloud/instance-type: null - cloud/region: null - requests: 59.14285714285714 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.49894999999999995 - cpu-wattage: 31.31738095238095 - cpu-wattage-times-duration: 306.2 - cpu-energy-raw: 0.00008505555555555556 - vcpu-ratio: null - cpu-energy-kwh: 0.000010631944444444445 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.008505555555555556 - carbon: 0.04814279553526128 - sci: 0.0008140086201614227 - - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: null - cloud/region: null - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: null - cloud/region: null - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: null - cloud/region: null - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: null - cloud/region: null - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: null - cloud/region: null - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: null - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cpu/utilization: 19.8 - cloud/instance-type: null - cloud/region: null - requests: 18 - cpu/thermal-design-power: 60 - grid/carbon-intensity: 480 - device/emissions-embodied: 1533.12 - time-reserved: 2160.2 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.34035000000000004 - cpu-wattage: 5.6725 - cpu-wattage-times-duration: 170.175 - cpu-energy-raw: 0.00004727083333333333 - vcpu-ratio: null - cpu-energy-kwh: 0.000005908854166666666 - embodied-carbon: 0.02378234398782344 - carbon-operational: 0.004727083333333333 - carbon: 0.02850942732115677 - sci: 0.0015838570733975985 - - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: null - cloud/region: null - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: null - cloud/region: null - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: null - cloud/region: null - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 0.8 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.4092622082699138 - outputs: - - carbon: 0.046828906646372404 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04820251775748351 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04814279553526128 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02850942732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.4092622082699138 - outputs: - - carbon: 0.046828906646372404 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04820251775748351 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04814279553526128 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02850942732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - outputs: - - carbon: 0.09210503551496703 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.09318003551496702 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.09297100773718923 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.05540635464231354 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.7953820554287163 diff --git a/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-mocks.yaml b/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-mocks.yaml deleted file mode 100644 index 3afc34f3..00000000 --- a/manifests/outputs/pipelines/outputs-if-diff/pipeline-with-mocks.yaml +++ /dev/null @@ -1,1507 +0,0 @@ -name: pipeline-with-mocks -description: a full pipeline seeded with data from mock-observations feature -tags: null -aggregation: - metrics: - - carbon - type: both -initialize: - plugins: - mock-observations: - path: builtin - method: MockObservations - config: - timestamp-from: 2023-12-12T00:00 - timestamp-to: 2023-12-12T00:10 - duration: 60 - components: - - cloud/instance-type: A1 - generators: - common: - cloud/region: uk-west - randint: - cpu/utilization: - min: 1 - max: 99 - parameter-metadata: - inputs: - timestamp: - unit: RFC3339 - description: refers to the time of occurrence of the input - aggregation-method: - time: none - component: none - duration: - unit: seconds - description: refers to the duration of the input - aggregation-method: - time: sum - component: sum - cloud/instance-type: - unit: none - description: type of Cloud Instance name used in the cloud provider APIs - aggregation-method: - time: none - component: none - cloud/region: - unit: none - description: region cloud instance - aggregation-method: - time: none - component: none - interpolate: - path: builtin - method: Interpolation - config: - method: linear - x: - - 0 - - 10 - - 50 - - 100 - 'y': - - 0.12 - - 0.32 - - 0.75 - - 1.02 - input-parameter: cpu/utilization - output-parameter: cpu-factor - parameter-metadata: - inputs: - cpu/utilization: - unit: percentage - description: refers to CPU utilization. - aggregation-method: - time: avg - component: avg - outputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu-factor-to-wattage: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-factor - - cpu/thermal-design-power - output-parameter: cpu-wattage - parameter-metadata: - inputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu/thermal-design-power: - unit: kWh - description: thermal design power for a processor - aggregation-method: - time: avg - component: avg - outputs: - cpu-wattage: - unit: kWh - description: the energy used by the CPU - aggregation-method: - time: sum - component: sum - wattage-times-duration: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-wattage - - duration - output-parameter: cpu-wattage-times-duration - parameter-metadata: - inputs: - cpu-wattage: - unit: kWh - description: Energy used by the CPU - aggregation-method: - time: sum - component: sum - duration: - unit: seconds - description: Duration of the observation - aggregation-method: - time: sum - component: sum - outputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - wattage-to-energy-kwh: - path: builtin - method: Divide - config: - numerator: cpu-wattage-times-duration - denominator: 3600000 - output: cpu-energy-raw - parameter-metadata: - inputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - outputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - calculate-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: vcpus-total - denominator: vcpus-allocated - output: vcpu-ratio - parameter-metadata: - inputs: - vcpus-total: - unit: count - description: total number of vcpus available on a particular resource - aggregation-method: - time: none - component: none - vcpus-allocated: - unit: count - description: number of vcpus allocated to particular resource - aggregation-method: - time: none - component: none - outputs: - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: none - component: none - correct-cpu-energy-for-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: cpu-energy-raw - denominator: vcpu-ratio - output: cpu-energy-kwh - parameter-metadata: - inputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: none - component: none - outputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - sci-embodied: - path: builtin - method: SciEmbodied - operational-carbon: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-energy-kwh - - grid/carbon-intensity - output-parameter: carbon-operational - parameter-metadata: - inputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - grid/carbon-intensity: - unit: gCO2eq/kWh - description: Carbon intensity for the grid - aggregation-method: - time: avg - component: avg - outputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - sum-carbon: - path: builtin - method: Sum - config: - input-parameters: - - carbon-operational - - embodied-carbon - output-parameter: carbon - parameter-metadata: - inputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - embodied-carbon: - unit: gCO2eq - description: Embodied carbon footprint - aggregation-method: - time: sum - component: sum - outputs: - carbon: - unit: gCO2eq - description: Total carbon footprint - aggregation-method: - time: sum - component: sum - sci: - path: builtin - method: Sci - config: - functional-unit: requests - parameter-metadata: - inputs: - requests: - unit: none - description: expressed the final SCI value - aggregation-method: - time: sum - component: sum - outputs: - sci: - unit: none - description: Scientific Carbon Intensity - aggregation-method: - time: none - component: none - time-sync: - path: builtin - method: TimeSync - config: - start-time: '2023-12-12T00:00:00.000Z' - end-time: '2023-12-12T00:01:00.000Z' - interval: 5 - allow-padding: true - parameter-metadata: - inputs: - time-reserved: - unit: seconds - description: time reserved for a component - aggregation-method: - time: avg - component: avg - outputs: - synced-time: - unit: none - description: Synced time - aggregation-method: - time: none - component: none -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/outputs-if-diff/pipeline-with-mocks.yaml -o - manifests/outputs/pipelines/outputs-if-diff/pipeline-with-mocks.yaml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:13:48.694Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - child-1: - pipeline: - observe: - - mock-observations - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - aggregated: - carbon: 0.5505472444190767 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 17 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:01:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 17 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:02:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 90 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:03:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 10 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:04:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 59 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:05:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 64 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:06:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 46 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:07:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 28 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:08:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 40 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:09:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 60 - cpu/utilization: 37 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:05.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:10.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:15.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:20.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:25.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:30.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:35.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:40.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:45.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:50.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:00:55.000Z' - cloud/instance-type: null - cloud/region: null - duration: 5 - cpu/utilization: 13.6 - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.3162 - cpu-wattage: 3.2937499999999997 - cpu-wattage-times-duration: 197.625 - cpu-energy-raw: 0.00005489583333333334 - vcpu-ratio: null - cpu-energy-kwh: 0.000006861979166666667 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005489583333333334 - carbon: 0.04512682331303906 - sci: 0.018050729325215627 - - timestamp: '2023-12-12T00:01:00.000Z' - cloud/instance-type: null - cloud/region: null - duration: 1 - cpu/utilization: 17 - requests: 0.5 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.39525 - cpu-wattage: 0.65875 - cpu-wattage-times-duration: 39.525 - cpu-energy-raw: 0.000010979166666666668 - vcpu-ratio: null - cpu-energy-kwh: 0.0000013723958333333335 - embodied-carbon: 0.007927447995941146 - carbon-operational: 0.0010979166666666667 - carbon: 0.009025364662607813 - sci: 0.018050729325215627 - aggregated: - carbon: 0.5505472444190767 - outputs: - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - - carbon: 0.009025364662607813 - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - aggregated: - carbon: 0.5505472444190767 - outputs: - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0.04512682331303906 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - - carbon: 0.009025364662607813 - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - child-2: - pipeline: - observe: - - mock-observations - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - aggregated: - carbon: 0.6495376610857433 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 60 - cpu/utilization: 93 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:01:00.000Z' - duration: 60 - cpu/utilization: 62 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:02:00.000Z' - duration: 60 - cpu/utilization: 66 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:03:00.000Z' - duration: 60 - cpu/utilization: 46 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:04:00.000Z' - duration: 60 - cpu/utilization: 60 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:05:00.000Z' - duration: 60 - cpu/utilization: 10 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:06:00.000Z' - duration: 60 - cpu/utilization: 62 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:07:00.000Z' - duration: 60 - cpu/utilization: 71 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:08:00.000Z' - duration: 60 - cpu/utilization: 21 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:09:00.000Z' - duration: 60 - cpu/utilization: 53 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cpu/utilization: 74.4 - cloud/instance-type: null - cloud/region: null - requests: 2.5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 2880 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.78576 - cpu-wattage: 8.185 - cpu-wattage-times-duration: 491.1 - cpu-energy-raw: 0.00013641666666666666 - vcpu-ratio: null - cpu-energy-kwh: 0.000017052083333333332 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013641666666666667 - carbon: 0.053278906646372394 - sci: 0.021311562658548958 - - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - cpu/utilization: 62 - cloud/instance-type: null - cloud/region: null - requests: 0.5 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - cpu-factor: 0.8148 - cpu-wattage: 1.3579999999999999 - cpu-wattage-times-duration: 81.47999999999999 - cpu-energy-raw: 0.00002263333333333333 - vcpu-ratio: null - cpu-energy-kwh: 0.000002829166666666666 - embodied-carbon: 0.007927447995941146 - carbon-operational: 0.002263333333333333 - carbon: 0.010190781329274479 - sci: 0.020381562658548957 - aggregated: - carbon: 0.6495376610857433 - outputs: - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - - carbon: 0.010190781329274479 - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - aggregated: - carbon: 0.6495376610857433 - outputs: - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0.053278906646372394 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - - carbon: 0.010190781329274479 - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - outputs: - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0.09840572995941146 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - - carbon: 0.019216145991882292 - timestamp: '2023-12-12T00:01:00.000Z' - duration: 1 - aggregated: - carbon: 1.2000849055048197 diff --git a/manifests/outputs/pipelines/pipeline-with-aggregate.yaml b/manifests/outputs/pipelines/pipeline-with-aggregate.yaml deleted file mode 100644 index 582e8351..00000000 --- a/manifests/outputs/pipelines/pipeline-with-aggregate.yaml +++ /dev/null @@ -1,1167 +0,0 @@ -name: pipeline-with-aggregate -description: a full pipeline with the aggregate feature enabled -tags: null -aggregation: - metrics: - - carbon - type: both -initialize: - plugins: - interpolate: - path: builtin - method: Interpolation - config: - method: linear - x: - - 0 - - 10 - - 50 - - 100 - 'y': - - 0.12 - - 0.32 - - 0.75 - - 1.02 - input-parameter: cpu/utilization - output-parameter: cpu-factor - parameter-metadata: - inputs: - cpu/utilization: - unit: percentage - description: refers to CPU utilization. - aggregation-method: - time: avg - component: avg - outputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu-factor-to-wattage: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-factor - - cpu/thermal-design-power - output-parameter: cpu-wattage - parameter-metadata: - inputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu/thermal-design-power: - unit: kWh - description: thermal design power for a processor - aggregation-method: - time: avg - component: avg - outputs: - cpu-wattage: - unit: kWh - description: the energy used by the CPU - aggregation-method: - time: sum - component: sum - wattage-times-duration: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-wattage - - duration - output-parameter: cpu-wattage-times-duration - wattage-to-energy-kwh: - path: builtin - method: Divide - config: - numerator: cpu-wattage-times-duration - denominator: 3600000 - output: cpu-energy-raw - parameter-metadata: - inputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - outputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - calculate-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: vcpus-total - denominator: vcpus-allocated - output: vcpu-ratio - parameter-metadata: - inputs: - vcpus-total: - unit: count - description: total number of vcpus available on a particular resource - aggregation-method: - time: copy - component: copy - vcpus-allocated: - unit: count - description: number of vcpus allocated to particular resource - aggregation-method: - time: copy - component: copy - outputs: - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: copy - component: copy - correct-cpu-energy-for-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: cpu-energy-raw - denominator: vcpu-ratio - output: cpu-energy-kwh - sci-embodied: - path: builtin - method: SciEmbodied - operational-carbon: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-energy-kwh - - grid/carbon-intensity - output-parameter: carbon-operational - parameter-metadata: - inputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - grid/carbon-intensity: - unit: gCO2eq/kWh - description: Carbon intensity for the grid - aggregation-method: - time: avg - component: avg - outputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - sci: - path: builtin - method: Sci - config: - functional-unit: requests - parameter-metadata: - inputs: - requests: - unit: none - description: expressed the final SCI value - aggregation-method: - time: sum - component: sum - sum-carbon: - path: builtin - method: Sum - config: - input-parameters: - - carbon-operational - - embodied-carbon - output-parameter: carbon - parameter-metadata: - outputs: - carbon: - unit: gCO2eq - description: product of carbon - aggregation-method: - time: sum - component: sum - time-sync: - path: builtin - method: TimeSync - config: - start-time: '2023-12-12T00:00:00.000Z' - end-time: '2023-12-12T00:01:00.000Z' - interval: 5 - allow-padding: true -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/pipeline-with-aggregate.yml -o - manifests/outputs/pipelines/pipeline-with-aggregate.yaml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T11:54:19.467Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - child-1: - pipeline: - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 1 - cpu/utilization: 10 - requests: 10 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:01.000Z' - duration: 5 - cpu/utilization: 20 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 5 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:06.000Z' - duration: 7 - cpu/utilization: 15 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 15 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:13.000Z' - duration: 30 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 15 - requests: 30 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - cloud/instance-type: A1 - cloud/region: uk-west - duration: 5 - cpu/utilization: 14 - requests: 14 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.3205 - cpu-wattage: 66.19999999999999 - cpu-wattage-times-duration: 203 - cpu-energy-raw: 0.0000563888888888889 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000007048611111111113 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.0056388888888888895 - carbon: 0.045276128868594626 - sci: 0.0032340092048996163 - - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cpu/utilization: 13 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 9.571428571428571 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.30975 - cpu-wattage: 29.907142857142862 - cpu-wattage-times-duration: 192.25 - cpu-energy-raw: 0.00005340277777777778 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006675347222222222 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.005340277777777777 - carbon: 0.044977517757483515 - sci: 0.004699143646304248 - - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cpu/utilization: 12 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 8.428571428571429 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 18.50952380952381 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.0000064887152777777775 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005318601447686367 - - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - requests: 5 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 9 - requests: 3 - cpu/thermal-design-power: 60 - grid/carbon-intensity: 480 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.22425 - cpu-wattage: 3.7375 - cpu-wattage-times-duration: 112.125 - cpu-energy-raw: 0.000031145833333333336 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000003893229166666667 - embodied-carbon: 0.02378234398782344 - carbon-operational: 0.0031145833333333334 - carbon: 0.02689692732115677 - sci: 0.00896564244038559 - - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 0 - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.38611984715880265 - outputs: - - carbon: 0.045276128868594626 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.044977517757483515 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02689692732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.38611984715880265 - outputs: - - carbon: 0.045276128868594626 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.044977517757483515 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02689692732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.38611984715880265 - child-2: - pipeline: - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - children: - uk-west: - children: - A1: - inputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 1 - cpu/utilization: 30 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 100 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:01.000Z' - duration: 5 - cpu/utilization: 28 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 150 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:06.000Z' - duration: 7 - cpu/utilization: 40 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 110 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - - timestamp: '2023-12-12T00:00:13.000Z' - duration: 30 - cpu/utilization: 33 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 180 - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - outputs: - - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - cpu/utilization: 22.8 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 220 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.41509999999999997 - cpu-wattage: 94.57999999999998 - cpu-wattage-times-duration: 258.9 - cpu-energy-raw: 0.00007191666666666668 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000008989583333333334 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007191666666666666 - carbon: 0.046828906646372404 - sci: 0.00021285866657442002 - - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cpu/utilization: 29.6 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 92.85714285714285 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.48819999999999997 - cpu-wattage: 46.98428571428572 - cpu-wattage-times-duration: 308.35 - cpu-energy-raw: 0.00008565277777777778 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000010706597222222223 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.008565277777777778 - carbon: 0.04820251775748351 - sci: 0.0005191040373882839 - - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cpu/utilization: 30.6 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 59.14285714285714 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.49894999999999995 - cpu-wattage: 31.31738095238095 - cpu-wattage-times-duration: 306.2 - cpu-energy-raw: 0.00008505555555555556 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000010631944444444445 - embodied-carbon: 0.03963723997970574 - carbon-operational: 0.008505555555555556 - carbon: 0.04814279553526128 - sci: 0.0008140086201614227 - - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cpu/utilization: 26.4 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 30 - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.45380000000000004 - cpu-wattage: 9.454166666666667 - cpu-wattage-times-duration: 283.625 - cpu-energy-raw: 0.00007878472222222222 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000009848090277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.007878472222222222 - carbon: 0.04751571220192795 - sci: 0.0015838570733975983 - - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cpu/utilization: 19.8 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 18 - cpu/thermal-design-power: 60 - grid/carbon-intensity: 480 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0.34035000000000004 - cpu-wattage: 5.6725 - cpu-wattage-times-duration: 170.175 - cpu-energy-raw: 0.00004727083333333333 - vcpu-ratio: 8 - cpu-energy-kwh: 0.000005908854166666666 - embodied-carbon: 0.02378234398782344 - carbon-operational: 0.004727083333333333 - carbon: 0.02850942732115677 - sci: 0.0015838570733975985 - - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cpu/utilization: 0 - cloud/instance-type: A1 - cloud/region: uk-west - requests: 0 - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - time-reserved: 1 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: 8 - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.4092622082699138 - outputs: - - carbon: 0.046828906646372404 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04820251775748351 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04814279553526128 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02850942732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.4092622082699138 - outputs: - - carbon: 0.046828906646372404 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04820251775748351 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04814279553526128 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.04751571220192795 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.02850942732115677 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.4092622082699138 - outputs: - - carbon: 0.09210503551496703 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.09318003551496702 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.09297100773718923 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0.0923439244038559 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0.05540635464231354 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.7953820554287163 diff --git a/manifests/outputs/pipelines/pipeline-with-mocks.yaml b/manifests/outputs/pipelines/pipeline-with-mocks.yaml deleted file mode 100644 index bd27a179..00000000 --- a/manifests/outputs/pipelines/pipeline-with-mocks.yaml +++ /dev/null @@ -1,1187 +0,0 @@ -name: pipeline-with-mocks -description: a full pipeline seeded with data from mock-observations feature -tags: null -aggregation: - metrics: - - carbon - type: both -initialize: - plugins: - mock-observations: - path: builtin - method: MockObservations - config: - timestamp-from: '2023-12-12T00:00:00.000Z' - timestamp-to: '2023-12-12T00:00:13.000Z' - duration: 30 - components: - - cloud/instance-type: A1 - generators: - common: - cloud/region: uk-west - randint: - cpu/utilization: - min: 1 - max: 99 - parameter-metadata: - inputs: - timestamp: - unit: RFC3339 - description: refers to the time of occurrence of the input - aggregation-method: - time: none - component: none - duration: - unit: seconds - description: refers to the duration of the input - aggregation-method: - time: sum - component: sum - cloud/instance-type: - unit: none - description: type of Cloud Instance name used in the cloud provider APIs - aggregation-method: - time: none - component: none - cloud/region: - unit: none - description: region cloud instance - aggregation-method: - time: none - component: none - interpolate: - path: builtin - method: Interpolation - config: - method: linear - x: - - 0 - - 10 - - 50 - - 100 - 'y': - - 0.12 - - 0.32 - - 0.75 - - 1.02 - input-parameter: cpu/utilization - output-parameter: cpu-factor - parameter-metadata: - inputs: - cpu/utilization: - unit: percentage - description: refers to CPU utilization. - aggregation-method: - time: avg - component: avg - outputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu-factor-to-wattage: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-factor - - cpu/thermal-design-power - output-parameter: cpu-wattage - parameter-metadata: - inputs: - cpu-factor: - unit: kWh - description: result of interpolate - aggregation-method: - time: avg - component: avg - cpu/thermal-design-power: - unit: kWh - description: thermal design power for a processor - aggregation-method: - time: avg - component: avg - outputs: - cpu-wattage: - unit: kWh - description: the energy used by the CPU - aggregation-method: - time: sum - component: sum - wattage-times-duration: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-wattage - - duration - output-parameter: cpu-wattage-times-duration - parameter-metadata: - inputs: - cpu-wattage: - unit: kWh - description: Energy used by the CPU - aggregation-method: - time: sum - component: sum - duration: - unit: seconds - description: Duration of the observation - aggregation-method: - time: sum - component: sum - outputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - wattage-to-energy-kwh: - path: builtin - method: Divide - config: - numerator: cpu-wattage-times-duration - denominator: 3600000 - output: cpu-energy-raw - parameter-metadata: - inputs: - cpu-wattage-times-duration: - unit: kWh - description: CPU wattage multiplied by duration - aggregation-method: - time: sum - component: sum - outputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - calculate-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: vcpus-total - denominator: vcpus-allocated - output: vcpu-ratio - parameter-metadata: - inputs: - vcpus-total: - unit: count - description: total number of vcpus available on a particular resource - aggregation-method: - time: none - component: none - vcpus-allocated: - unit: count - description: number of vcpus allocated to particular resource - aggregation-method: - time: none - component: none - outputs: - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: none - component: none - correct-cpu-energy-for-vcpu-ratio: - path: builtin - method: Divide - config: - numerator: cpu-energy-raw - denominator: vcpu-ratio - output: cpu-energy-kwh - parameter-metadata: - inputs: - cpu-energy-raw: - unit: kWh - description: Raw energy used by CPU in kWh - aggregation-method: - time: sum - component: sum - vcpu-ratio: - unit: none - description: Ratio of vCPUs - aggregation-method: - time: none - component: none - outputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - sci-embodied: - path: builtin - method: SciEmbodied - operational-carbon: - path: builtin - method: Multiply - config: - input-parameters: - - cpu-energy-kwh - - grid/carbon-intensity - output-parameter: carbon-operational - parameter-metadata: - inputs: - cpu-energy-kwh: - unit: kWh - description: Corrected CPU energy in kWh - aggregation-method: - time: sum - component: sum - grid/carbon-intensity: - unit: gCO2eq/kWh - description: Carbon intensity for the grid - aggregation-method: - time: avg - component: avg - outputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - sum-carbon: - path: builtin - method: Sum - config: - input-parameters: - - carbon-operational - - embodied-carbon - output-parameter: carbon - parameter-metadata: - inputs: - carbon-operational: - unit: gCO2eq - description: Operational carbon footprint - aggregation-method: - time: sum - component: sum - embodied-carbon: - unit: gCO2eq - description: Embodied carbon footprint - aggregation-method: - time: sum - component: sum - outputs: - carbon: - unit: gCO2eq - description: Total carbon footprint - aggregation-method: - time: sum - component: sum - sci: - path: builtin - method: Sci - config: - functional-unit: requests - parameter-metadata: - inputs: - requests: - unit: none - description: expressed the final SCI value - aggregation-method: - time: sum - component: sum - outputs: - sci: - unit: none - description: Scientific Carbon Intensity - aggregation-method: - time: none - component: none - time-sync: - path: builtin - method: TimeSync - config: - start-time: '2023-12-12T00:00:00.000Z' - end-time: '2023-12-12T00:01:00.000Z' - interval: 5 - allow-padding: true -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/pipeline-with-mocks.yml -o - manifests/outputs/pipelines/pipeline-with-mocks.yml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:14:02.702Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - child-1: - pipeline: - observe: - - mock-observations - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - requests: 50 - children: - uk-west: - children: - A1: - inputs: - - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - requests: 50 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 30 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 89 - outputs: - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 71.2 - cpu-factor: 0.76848 - cpu-wattage: 16.009999999999998 - cpu-wattage-times-duration: 480.3 - cpu-energy-raw: 0.00013341666666666667 - vcpu-ratio: null - cpu-energy-kwh: 0.000016677083333333333 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.013341666666666668 - carbon: 0.0529789066463724 - sci: 0.006357468797564688 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.3178734398782344 - outputs: - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.3178734398782344 - outputs: - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.0529789066463724 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.3178734398782344 - child-2: - pipeline: - observe: - - mock-observations - regroup: - - cloud/region - - cloud/instance-type - compute: - - interpolate - - cpu-factor-to-wattage - - wattage-times-duration - - wattage-to-energy-kwh - - calculate-vcpu-ratio - - correct-cpu-energy-for-vcpu-ratio - - sci-embodied - - operational-carbon - - sum-carbon - - time-sync - - sci - defaults: - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - requests: 50 - children: - uk-west: - children: - A1: - inputs: - - cpu/thermal-design-power: 100 - grid/carbon-intensity: 800 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: 8 - vcpus-allocated: 1 - requests: 50 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 30 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 15 - outputs: - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 80 - grid/carbon-intensity: 640 - device/emissions-embodied: 1533.12 - time-reserved: 3600 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 8.333333333333334 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 12 - cpu-factor: 0.29900000000000004 - cpu-wattage: 6.229166666666667 - cpu-wattage-times-duration: 186.875 - cpu-energy-raw: 0.00005190972222222223 - vcpu-ratio: null - cpu-energy-kwh: 0.000006488715277777778 - embodied-carbon: 0.03963723997970573 - carbon-operational: 0.005190972222222222 - carbon: 0.04482821220192795 - sci: 0.005379385464231354 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - - cpu/thermal-design-power: 0 - grid/carbon-intensity: 0 - device/emissions-embodied: 1533.12 - device/expected-lifespan: 94608000 - vcpus-total: null - vcpus-allocated: null - requests: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - cloud/instance-type: null - cloud/region: null - cpu/utilization: 0 - cpu-factor: 0 - cpu-wattage: 0 - cpu-wattage-times-duration: 0 - cpu-energy-raw: 0 - vcpu-ratio: null - cpu-energy-kwh: 0 - embodied-carbon: 0 - carbon-operational: 0 - carbon: 0 - sci: 0 - aggregated: - carbon: 0.2689692732115677 - outputs: - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.2689692732115677 - outputs: - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.04482821220192795 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.2689692732115677 - outputs: - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:00.000Z' - duration: 5 - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:05.000Z' - duration: 5 - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:10.000Z' - duration: 5 - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:15.000Z' - duration: 5 - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:20.000Z' - duration: 5 - - carbon: 0.09780711884830035 - timestamp: '2023-12-12T00:00:25.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:30.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:35.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:40.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:45.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:50.000Z' - duration: 5 - - carbon: 0 - timestamp: '2023-12-12T00:00:55.000Z' - duration: 5 - aggregated: - carbon: 0.5868427130898021 diff --git a/manifests/outputs/pipelines/scenario-3.yaml b/manifests/outputs/pipelines/scenario-3.yaml deleted file mode 100644 index 1f315baa..00000000 --- a/manifests/outputs/pipelines/scenario-3.yaml +++ /dev/null @@ -1,146 +0,0 @@ -name: groupby -description: successful path -initialize: - plugins: - sum: - path: builtin - method: Sum - config: - input-parameters: - - cpu/energy - - network/energy - output-parameter: energy -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/scenario-3.yml -o - manifests/outputs/pipelines/scenario-3.yml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:13:43.098Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - my-app: - pipeline: - observe: null - regroup: - - cloud/instance-type - - cloud/region - compute: null - children: - uk-west: - children: - A1: - children: - uk-west: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 99 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 23 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-west - cpu/utilization: 12 - B1: - children: - uk-west: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 11 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 67 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-west - cpu/utilization: 1 - uk-east: - children: - A1: - children: - uk-east: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-east - cpu/utilization: 9 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-east - cpu/utilization: 23 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: A1 - cloud/region: uk-east - cpu/utilization: 12 - B1: - children: - uk-east: - inputs: - - timestamp: 2023-07-06T00:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-east - cpu/utilization: 11 - - timestamp: 2023-07-06T05:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-east - cpu/utilization: 67 - - timestamp: 2023-07-06T10:00 - duration: 300 - cloud/instance-type: B1 - cloud/region: uk-east - cpu/utilization: 1 diff --git a/manifests/outputs/pipelines/scenario-5.yaml b/manifests/outputs/pipelines/scenario-5.yaml deleted file mode 100644 index 4e9e0f01..00000000 --- a/manifests/outputs/pipelines/scenario-5.yaml +++ /dev/null @@ -1,125 +0,0 @@ -name: demo -description: null -tags: null -initialize: - plugins: - mock-observations: - path: builtin - method: MockObservations - config: - timestamp-from: 2023-07-06T00:00 - timestamp-to: 2023-07-06T00:01 - duration: 60 - components: - - cloud/instance-type: A1 - - cloud/instance-type: B1 - generators: - common: - region: uk-west - common-key: common-val - randint: - cpu/utilization: - min: 1 - max: 99 - memory/utilization: - min: 1 - max: 99 - sum: - path: builtin - method: Sum - config: - input-parameters: - - cpu/utilization - - memory/utilization - output-parameter: util-sum -execution: - command: >- - /Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node - /Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m - manifests/examples/pipelines/scenario-5.yml -o - manifests/outputs/pipelines/scenario-5.yml - environment: - if-version: 0.6.0 - os: macOS - os-version: 14.6.1 - node-version: 18.20.4 - date-time: 2024-09-12T06:13:37.404Z (UTC) - dependencies: - - '@babel/core@7.22.10' - - '@babel/preset-typescript@7.23.3' - - '@commitlint/cli@18.6.0' - - '@commitlint/config-conventional@18.6.0' - - '@grnsft/if-core@0.0.22' - - '@jest/globals@29.7.0' - - '@types/jest@29.5.8' - - '@types/js-yaml@4.0.9' - - '@types/luxon@3.4.2' - - '@types/node@20.9.0' - - axios-mock-adapter@1.22.0 - - axios@1.7.2 - - cross-env@7.0.3 - - csv-parse@5.5.6 - - csv-stringify@6.4.6 - - fixpack@4.0.0 - - gts@5.2.0 - - husky@8.0.3 - - jest@29.7.0 - - js-yaml@4.1.0 - - lint-staged@15.2.2 - - luxon@3.4.4 - - release-it@16.3.0 - - rimraf@5.0.5 - - ts-command-line-args@2.5.1 - - ts-jest@29.1.1 - - typescript-cubic-spline@1.0.1 - - typescript@5.2.2 - - winston@3.11.0 - - zod@3.23.8 - status: success -tree: - children: - child: - pipeline: - observe: - - mock-observations - regroup: - - cloud/instance-type - compute: - - sum - children: - A1: - inputs: - - timestamp: '2023-07-06T00:00:00.000Z' - duration: 60 - cloud/instance-type: A1 - region: uk-west - common-key: common-val - cpu/utilization: 65 - memory/utilization: 84 - outputs: - - timestamp: '2023-07-06T00:00:00.000Z' - duration: 60 - cloud/instance-type: A1 - region: uk-west - common-key: common-val - cpu/utilization: 65 - memory/utilization: 84 - util-sum: 149 - B1: - inputs: - - timestamp: '2023-07-06T00:00:00.000Z' - duration: 60 - cloud/instance-type: B1 - region: uk-west - common-key: common-val - cpu/utilization: 70 - memory/utilization: 82 - outputs: - - timestamp: '2023-07-06T00:00:00.000Z' - duration: 60 - cloud/instance-type: B1 - region: uk-west - common-key: common-val - cpu/utilization: 70 - memory/utilization: 82 - util-sum: 152