@grnsft/if 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CONTRIBUTING.md +8 -0
  2. package/README.md +3 -0
  3. package/build/builtins/export-csv-raw.js +2 -2
  4. package/build/builtins/export-csv.js +15 -2
  5. package/build/builtins/group-by.js +20 -5
  6. package/build/builtins/time-sync.js +2 -1
  7. package/build/config/strings.js +2 -3
  8. package/build/index.js +3 -3
  9. package/build/lib/compute.js +8 -8
  10. package/build/lib/load.js +5 -3
  11. package/build/lib/parameterize.d.ts +2 -1
  12. package/build/lib/parameterize.js +4 -4
  13. package/build/types/compute.d.ts +2 -2
  14. package/build/types/compute.js +1 -1
  15. package/build/util/aggregation-helper.js +4 -4
  16. package/build/util/errors.d.ts +1 -1
  17. package/build/util/errors.js +3 -3
  18. package/build/util/helpers.d.ts +2 -2
  19. package/build/util/helpers.js +12 -14
  20. package/examples/manifests/boavizta-pipeline.yml +13 -13
  21. package/examples/manifests/cloud-metadata-teads.yml +41 -0
  22. package/examples/manifests/cloud-metadata.yml +13 -34
  23. package/examples/manifests/e-net.yml +1 -1
  24. package/examples/manifests/generics.yml +14 -14
  25. package/examples/manifests/group-by.yml +21 -21
  26. package/examples/manifests/nesting.yml +16 -16
  27. package/examples/manifests/pipeline-demo-1.yml +4 -4
  28. package/examples/manifests/pipeline-demo-2.yml +16 -11
  29. package/examples/manifests/pipeline-demo.yml +10 -10
  30. package/examples/manifests/pipeline-teads-sci.yml +12 -12
  31. package/examples/manifests/pipeline-with-generics.yml +26 -21
  32. package/examples/manifests/pipeline-with-mocks.yml +23 -23
  33. package/examples/manifests/watt-time.yml +6 -13
  34. package/github-processes.md +158 -0
  35. package/package.json +1 -1
  36. package/src/builtins/README.md +40 -44
  37. package/examples/manifests/cim.yml +0 -20
  38. package/examples/manifests/teads-aws.yml +0 -22
@@ -66,7 +66,7 @@ tree:
66
66
  inputs:
67
67
  - timestamp: "2023-12-12T00:00:00.000Z"
68
68
  cloud/instance-type: A1
69
- region: uk-west
69
+ cloud/region: uk-west
70
70
  duration: 1
71
71
  cpu/utilization: 50
72
72
  network/energy: 0.000001
@@ -74,18 +74,18 @@ tree:
74
74
  duration: 5
75
75
  cpu/utilization: 20
76
76
  cloud/instance-type: A1
77
- region: uk-west
77
+ cloud/region: uk-west
78
78
  network/energy: 0.000001
79
79
  - timestamp: "2023-12-12T00:00:06.000Z"
80
80
  duration: 7
81
81
  cpu/utilization: 15
82
82
  cloud/instance-type: A1
83
- region: uk-west
83
+ cloud/region: uk-west
84
84
  network/energy: 0.000001
85
85
  - timestamp: "2023-12-12T00:00:13.000Z"
86
86
  duration: 30
87
87
  cloud/instance-type: A1
88
- region: uk-west
88
+ cloud/region: uk-west
89
89
  cpu/utilization: 15
90
90
  network/energy: 0.000001
91
91
  child-1:
@@ -107,7 +107,7 @@ tree:
107
107
  inputs:
108
108
  - timestamp: "2023-12-12T00:00:00.000Z"
109
109
  cloud/instance-type: A1
110
- region: uk-west
110
+ cloud/region: uk-west
111
111
  duration: 1
112
112
  cpu/utilization: 50
113
113
  network/energy: 0.000001
@@ -115,18 +115,18 @@ tree:
115
115
  duration: 5
116
116
  cpu/utilization: 20
117
117
  cloud/instance-type: A1
118
- region: uk-west
118
+ cloud/region: uk-west
119
119
  network/energy: 0.000001
120
120
  - timestamp: "2023-12-12T00:00:06.000Z"
121
121
  duration: 7
122
122
  cpu/utilization: 15
123
123
  cloud/instance-type: A1
124
- region: uk-west
124
+ cloud/region: uk-west
125
125
  network/energy: 0.000001
126
126
  - timestamp: "2023-12-12T00:00:13.000Z"
127
127
  duration: 30
128
128
  cloud/instance-type: A1
129
- region: uk-west
129
+ cloud/region: uk-west
130
130
  cpu/utilization: 15
131
131
  network/energy: 0.000001
132
132
  child-2:
@@ -150,7 +150,7 @@ tree:
150
150
  inputs:
151
151
  - timestamp: "2023-12-12T00:00:00.000Z"
152
152
  cloud/instance-type: A1
153
- region: uk-west
153
+ cloud/region: uk-west
154
154
  duration: 1
155
155
  cpu/utilization: 50
156
156
  network/energy: 0.000001
@@ -158,18 +158,18 @@ tree:
158
158
  duration: 5
159
159
  cpu/utilization: 20
160
160
  cloud/instance-type: A1
161
- region: uk-west
161
+ cloud/region: uk-west
162
162
  network/energy: 0.000001
163
163
  - timestamp: "2023-12-12T00:00:06.000Z"
164
164
  duration: 7
165
165
  cpu/utilization: 15
166
166
  cloud/instance-type: A1
167
- region: uk-west
167
+ cloud/region: uk-west
168
168
  network/energy: 0.000001
169
169
  - timestamp: "2023-12-12T00:00:13.000Z"
170
170
  duration: 30
171
171
  cloud/instance-type: A1
172
- region: uk-west
172
+ cloud/region: uk-west
173
173
  cpu/utilization: 15
174
174
  network/energy: 0.000001
175
175
  child-2-1:
@@ -191,7 +191,7 @@ tree:
191
191
  inputs:
192
192
  - timestamp: "2023-12-12T00:00:00.000Z"
193
193
  cloud/instance-type: A1
194
- region: uk-west
194
+ cloud/region: uk-west
195
195
  duration: 1
196
196
  cpu/utilization: 50
197
197
  network/energy: 0.000001
@@ -199,17 +199,17 @@ tree:
199
199
  duration: 5
200
200
  cpu/utilization: 20
201
201
  cloud/instance-type: A1
202
- region: uk-west
202
+ cloud/region: uk-west
203
203
  network/energy: 0.000001
204
204
  - timestamp: "2023-12-12T00:00:06.000Z"
205
205
  duration: 7
206
206
  cpu/utilization: 15
207
207
  cloud/instance-type: A1
208
- region: uk-west
208
+ cloud/region: uk-west
209
209
  network/energy: 0.000001
210
210
  - timestamp: "2023-12-12T00:00:13.000Z"
211
211
  duration: 30
212
212
  cloud/instance-type: A1
213
- region: uk-west
213
+ cloud/region: uk-west
214
214
  cpu/utilization: 15
215
215
  network/energy: 0.000001
@@ -61,7 +61,7 @@ tree:
61
61
  inputs:
62
62
  - timestamp: "2023-12-12T00:00:00.000Z"
63
63
  cloud/instance-type: A1
64
- region: uk-west
64
+ cloud/region: uk-west
65
65
  duration: 1
66
66
  cpu/utilization: 50
67
67
  network/energy: 0.000001
@@ -69,17 +69,17 @@ tree:
69
69
  duration: 5
70
70
  cpu/utilization: 20
71
71
  cloud/instance-type: A1
72
- region: uk-west
72
+ cloud/region: uk-west
73
73
  network/energy: 0.000001
74
74
  - timestamp: "2023-12-12T00:00:06.000Z"
75
75
  duration: 7
76
76
  cpu/utilization: 15
77
77
  cloud/instance-type: A1
78
- region: uk-west
78
+ cloud/region: uk-west
79
79
  network/energy: 0.000001
80
80
  - timestamp: "2023-12-12T00:00:13.000Z"
81
81
  duration: 30
82
82
  cloud/instance-type: A1
83
- region: uk-west
83
+ cloud/region: uk-west
84
84
  cpu/utilization: 15
85
85
  network/energy: 0.000001
@@ -5,6 +5,11 @@ aggregation:
5
5
  metrics:
6
6
  - "carbon"
7
7
  type: "both"
8
+ params:
9
+ - name: carbon-plus-energy
10
+ description: "sum of energies"
11
+ unit: "kWh"
12
+ aggregation: sum
8
13
  initialize:
9
14
  plugins:
10
15
  "teads-curve":
@@ -19,7 +24,7 @@ initialize:
19
24
  input-parameters:
20
25
  - cpu/energy
21
26
  - network/energy
22
- output-parameter: carbon-plus-energy'
27
+ output-parameter: carbon-plus-energy
23
28
  "sci-m":
24
29
  path: "@grnsft/if-plugins"
25
30
  method: SciM
@@ -56,7 +61,7 @@ tree:
56
61
  config:
57
62
  group-by:
58
63
  group:
59
- - region
64
+ - cloud/region
60
65
  - cloud/instance-type
61
66
  defaults:
62
67
  cpu/thermal-design-power: 100
@@ -70,7 +75,7 @@ tree:
70
75
  inputs:
71
76
  - timestamp: "2023-12-12T00:00:00.000Z"
72
77
  cloud/instance-type: A1
73
- region: uk-west
78
+ cloud/region: uk-west
74
79
  duration: 1
75
80
  cpu/utilization: 10
76
81
  network/energy: 10
@@ -79,20 +84,20 @@ tree:
79
84
  duration: 5
80
85
  cpu/utilization: 20
81
86
  cloud/instance-type: A1
82
- region: uk-west
87
+ cloud/region: uk-west
83
88
  network/energy: 10
84
89
  energy: 5
85
90
  - timestamp: "2023-12-12T00:00:06.000Z"
86
91
  duration: 7
87
92
  cpu/utilization: 15
88
93
  cloud/instance-type: A1
89
- region: uk-west
94
+ cloud/region: uk-west
90
95
  network/energy: 10
91
96
  energy: 5
92
97
  - timestamp: "2023-12-12T00:00:13.000Z"
93
98
  duration: 30
94
99
  cloud/instance-type: A1
95
- region: uk-west
100
+ cloud/region: uk-west
96
101
  cpu/utilization: 15
97
102
  network/energy: 10
98
103
  energy: 5
@@ -107,7 +112,7 @@ tree:
107
112
  config:
108
113
  group-by:
109
114
  group:
110
- - region
115
+ - cloud/region
111
116
  - instance-type
112
117
  defaults:
113
118
  cpu/thermal-design-power: 100
@@ -123,27 +128,27 @@ tree:
123
128
  duration: 1
124
129
  cpu/utilization: 30
125
130
  cloud/instance-type: A1
126
- region: uk-west
131
+ cloud/region: uk-west
127
132
  network/energy: 10
128
133
  energy: 5
129
134
  - timestamp: "2023-12-12T00:00:01.000Z"
130
135
  duration: 5
131
136
  cpu/utilization: 28
132
137
  cloud/instance-type: A1
133
- region: uk-west
138
+ cloud/region: uk-west
134
139
  network/energy: 10
135
140
  energy: 5
136
141
  - timestamp: "2023-12-12T00:00:06.000Z"
137
142
  duration: 7
138
143
  cpu/utilization: 40
139
144
  cloud/instance-type: A1
140
- region: uk-west
145
+ cloud/region: uk-west
141
146
  network/energy: 10
142
147
  energy: 5
143
148
  - timestamp: "2023-12-12T00:00:13.000Z"
144
149
  duration: 30
145
150
  cpu/utilization: 33
146
151
  cloud/instance-type: A1
147
- region: uk-west
152
+ cloud/region: uk-west
148
153
  network/energy: 10
149
154
  energy: 5
@@ -51,7 +51,7 @@ tree:
51
51
  config:
52
52
  group-by:
53
53
  group:
54
- - region
54
+ - cloud/region
55
55
  - cloud/instance-type
56
56
  defaults:
57
57
  cpu/thermal-design-power: 100
@@ -65,23 +65,23 @@ tree:
65
65
  inputs:
66
66
  - timestamp: "2023-12-12T00:00:00.000Z"
67
67
  cloud/instance-type: A1
68
- region: uk-west
68
+ cloud/region: uk-west
69
69
  duration: 1
70
70
  cpu/utilization: 10
71
71
  - timestamp: "2023-12-12T00:00:01.000Z"
72
72
  duration: 5
73
73
  cpu/utilization: 20
74
74
  cloud/instance-type: A1
75
- region: uk-west
75
+ cloud/region: uk-west
76
76
  - timestamp: "2023-12-12T00:00:06.000Z"
77
77
  duration: 7
78
78
  cpu/utilization: 15
79
79
  cloud/instance-type: A1
80
- region: uk-west
80
+ cloud/region: uk-west
81
81
  - timestamp: "2023-12-12T00:00:13.000Z"
82
82
  duration: 30
83
83
  cloud/instance-type: A1
84
- region: uk-west
84
+ cloud/region: uk-west
85
85
  cpu/utilization: 15
86
86
  child-2:
87
87
  pipeline:
@@ -94,7 +94,7 @@ tree:
94
94
  config:
95
95
  group-by:
96
96
  group:
97
- - region
97
+ - cloud/region
98
98
  - cloud/instance-type
99
99
  defaults:
100
100
  cpu/thermal-design-power: 100
@@ -110,19 +110,19 @@ tree:
110
110
  duration: 1
111
111
  cpu/utilization: 30
112
112
  cloud/instance-type: A1
113
- region: uk-west
113
+ cloud/region: uk-west
114
114
  - timestamp: "2023-12-12T00:00:01.000Z"
115
115
  duration: 5
116
116
  cpu/utilization: 28
117
117
  cloud/instance-type: A1
118
- region: uk-west
118
+ cloud/region: uk-west
119
119
  - timestamp: "2023-12-12T00:00:06.000Z"
120
120
  duration: 7
121
121
  cpu/utilization: 40
122
122
  cloud/instance-type: A1
123
- region: uk-west
123
+ cloud/region: uk-west
124
124
  - timestamp: "2023-12-12T00:00:13.000Z"
125
125
  duration: 30
126
126
  cpu/utilization: 33
127
127
  cloud/instance-type: A1
128
- region: uk-west
128
+ cloud/region: uk-west
@@ -12,10 +12,10 @@ initialize:
12
12
  path: "@grnsft/if-plugins"
13
13
  method: Sum
14
14
  global-config:
15
- input-parameters:
15
+ input-parameters:
16
16
  - cpu/energy
17
17
  - network/energy
18
- output-parameter: energy
18
+ output-parameter: energy
19
19
  "sci-m":
20
20
  path: "@grnsft/if-plugins"
21
21
  method: SciM
@@ -26,8 +26,8 @@ initialize:
26
26
  path: "@grnsft/if-plugins"
27
27
  method: Sci
28
28
  global-config:
29
- functional-unit: ''
30
- functional-unit-time: '1-day'
29
+ functional-unit: ""
30
+ functional-unit-time: "1-day"
31
31
  "time-sync":
32
32
  method: TimeSync
33
33
  path: "builtin"
@@ -57,26 +57,26 @@ tree:
57
57
  resources-total: 8
58
58
  inputs:
59
59
  - timestamp: "2023-12-12T00:00:00.000Z"
60
- cloud/instance-type: A1
61
- region: uk-west
60
+ cloud/instance-type: A1
61
+ cloud/region: uk-west
62
62
  duration: 1
63
63
  cpu/utilization: 50
64
64
  network/energy: 0.000001
65
65
  - timestamp: "2023-12-12T00:00:01.000Z"
66
66
  duration: 5
67
67
  cpu/utilization: 20
68
- cloud/instance-type: A1
69
- region: uk-west
68
+ cloud/instance-type: A1
69
+ cloud/region: uk-west
70
70
  network/energy: 0.000001
71
71
  - timestamp: "2023-12-12T00:00:06.000Z"
72
72
  duration: 7
73
73
  cpu/utilization: 15
74
- cloud/instance-type: A1
75
- region: uk-west
74
+ cloud/instance-type: A1
75
+ cloud/region: uk-west
76
76
  network/energy: 0.000001
77
77
  - timestamp: "2023-12-12T00:00:13.000Z"
78
78
  duration: 30
79
- cloud/instance-type: A1
80
- region: uk-west
79
+ cloud/instance-type: A1
80
+ cloud/region: uk-west
81
81
  cpu/utilization: 15
82
82
  network/energy: 0.000001
@@ -3,8 +3,13 @@ description:
3
3
  tags:
4
4
  aggregation:
5
5
  metrics:
6
- - 'carbon'
7
- type: 'both'
6
+ - "carbon"
7
+ type: "both"
8
+ params:
9
+ - name: energy-sum
10
+ description: "sum of energies"
11
+ unit: "kWh"
12
+ aggregation: sum
8
13
  initialize:
9
14
  plugins:
10
15
  "teads-curve":
@@ -16,17 +21,17 @@ initialize:
16
21
  path: "@grnsft/if-plugins"
17
22
  method: Sum
18
23
  global-config:
19
- input-parameters:
24
+ input-parameters:
20
25
  - cpu/energy
21
26
  - network/energy
22
- output-parameter: energy-sum
27
+ output-parameter: energy-sum
23
28
  "coefficient":
24
29
  path: "@grnsft/if-plugins"
25
30
  method: Coefficient
26
31
  global-config:
27
32
  input-parameter: energy
28
33
  coefficient: 2
29
- output-parameter: energy-doubled
34
+ output-parameter: energy-doubled
30
35
  "sci-m":
31
36
  path: "@grnsft/if-plugins"
32
37
  method: SciM
@@ -70,8 +75,8 @@ tree:
70
75
  functional-unit-time: "1 min"
71
76
  inputs:
72
77
  - timestamp: "2023-12-12T00:00:00.000Z"
73
- cloud/instance-type: A1
74
- region: uk-west
78
+ cloud/instance-type: A1
79
+ cloud/region: uk-west
75
80
  duration: 1
76
81
  cpu/utilization: 50
77
82
  network/energy: 10
@@ -79,21 +84,21 @@ tree:
79
84
  - timestamp: "2023-12-12T00:00:01.000Z"
80
85
  duration: 5
81
86
  cpu/utilization: 20
82
- cloud/instance-type: A1
83
- region: uk-west
87
+ cloud/instance-type: A1
88
+ cloud/region: uk-west
84
89
  network/energy: 10
85
90
  energy: 5
86
91
  - timestamp: "2023-12-12T00:00:06.000Z"
87
92
  duration: 7
88
93
  cpu/utilization: 15
89
- cloud/instance-type: A1
90
- region: uk-west
94
+ cloud/instance-type: A1
95
+ cloud/region: uk-west
91
96
  network/energy: 10
92
97
  energy: 5
93
98
  - timestamp: "2023-12-12T00:00:13.000Z"
94
99
  duration: 30
95
- cloud/instance-type: A1
96
- region: uk-west
100
+ cloud/instance-type: A1
101
+ cloud/region: uk-west
97
102
  cpu/utilization: 15
98
103
  network/energy: 10
99
104
  energy: 5
@@ -120,28 +125,28 @@ tree:
120
125
  - timestamp: "2023-12-12T00:00:00.000Z"
121
126
  duration: 1
122
127
  cpu/utilization: 30
123
- cloud/instance-type: A1
124
- region: uk-west
128
+ cloud/instance-type: A1
129
+ cloud/region: uk-west
125
130
  network/energy: 10
126
131
  energy: 5
127
132
  - timestamp: "2023-12-12T00:00:01.000Z"
128
133
  duration: 5
129
134
  cpu/utilization: 28
130
- cloud/instance-type: A1
131
- region: uk-west
135
+ cloud/instance-type: A1
136
+ cloud/region: uk-west
132
137
  network/energy: 10
133
138
  energy: 5
134
139
  - timestamp: "2023-12-12T00:00:06.000Z"
135
140
  duration: 7
136
141
  cpu/utilization: 40
137
- cloud/instance-type: A1
138
- region: uk-west
142
+ cloud/instance-type: A1
143
+ cloud/region: uk-west
139
144
  network/energy: 10
140
145
  energy: 5
141
146
  - timestamp: "2023-12-12T00:00:13.000Z"
142
147
  duration: 30
143
148
  cpu/utilization: 33
144
- cloud/instance-type: A1
145
- region: uk-west
149
+ cloud/instance-type: A1
150
+ cloud/region: uk-west
146
151
  network/energy: 10
147
152
  energy: 5
@@ -3,14 +3,14 @@ description:
3
3
  tags:
4
4
  aggregation:
5
5
  metrics:
6
- - 'carbon'
7
- type: 'both'
6
+ - "carbon"
7
+ type: "both"
8
8
  initialize:
9
9
  plugins:
10
10
  mock-observations:
11
11
  kind: plugin
12
12
  method: MockObservations
13
- path: '@grnsft/if-plugins'
13
+ path: "@grnsft/if-plugins"
14
14
  global-config:
15
15
  timestamp-from: 2023-07-06T00:00
16
16
  timestamp-to: 2023-07-06T00:10
@@ -19,7 +19,7 @@ initialize:
19
19
  - cloud/instance-type: A1
20
20
  generators:
21
21
  common:
22
- region: uk-west
22
+ cloud/region: uk-west
23
23
  common-key: common-val
24
24
  randint:
25
25
  cpu/utilization:
@@ -53,7 +53,7 @@ initialize:
53
53
  end-time: "2023-12-12T00:01:00.000Z"
54
54
  interval: 5
55
55
  allow-padding: true
56
- 'group-by':
56
+ "group-by":
57
57
  path: builtin
58
58
  method: GroupBy
59
59
  tree:
@@ -69,7 +69,7 @@ tree:
69
69
  config:
70
70
  group-by:
71
71
  group:
72
- - region
72
+ - cloud/region
73
73
  - instance-type
74
74
  defaults:
75
75
  cpu/thermal-design-power: 100
@@ -82,24 +82,24 @@ tree:
82
82
  functional-unit-time: "1 min"
83
83
  inputs:
84
84
  - timestamp: "2023-12-12T00:00:00.000Z"
85
- cloud/instance-type: A1
86
- region: uk-west
85
+ cloud/instance-type: A1
86
+ cloud/region: uk-west
87
87
  duration: 1
88
88
  cpu/utilization: 10
89
89
  - timestamp: "2023-12-12T00:00:01.000Z"
90
90
  duration: 5
91
91
  cpu/utilization: 20
92
- cloud/instance-type: A1
93
- region: uk-west
92
+ cloud/instance-type: A1
93
+ cloud/region: uk-west
94
94
  - timestamp: "2023-12-12T00:00:06.000Z"
95
95
  duration: 7
96
96
  cpu/utilization: 15
97
- cloud/instance-type: A1
98
- region: uk-west
97
+ cloud/instance-type: A1
98
+ cloud/region: uk-west
99
99
  - timestamp: "2023-12-12T00:00:13.000Z"
100
100
  duration: 30
101
- cloud/instance-type: A1
102
- region: uk-west
101
+ cloud/instance-type: A1
102
+ cloud/region: uk-west
103
103
  cpu/utilization: 15
104
104
  child-2:
105
105
  pipeline:
@@ -112,7 +112,7 @@ tree:
112
112
  config:
113
113
  group-by:
114
114
  group:
115
- - region
115
+ - cloud/region
116
116
  - cloud/instance-type
117
117
  defaults:
118
118
  cpu/thermal-design-power: 100
@@ -127,20 +127,20 @@ tree:
127
127
  - timestamp: "2023-12-12T00:00:00.000Z"
128
128
  duration: 1
129
129
  cpu/utilization: 30
130
- cloud/instance-type: A1
131
- region: uk-west
130
+ cloud/instance-type: A1
131
+ cloud/region: uk-west
132
132
  - timestamp: "2023-12-12T00:00:01.000Z"
133
133
  duration: 5
134
134
  cpu/utilization: 28
135
- cloud/instance-type: A1
136
- region: uk-west
135
+ cloud/instance-type: A1
136
+ cloud/region: uk-west
137
137
  - timestamp: "2023-12-12T00:00:06.000Z"
138
138
  duration: 7
139
139
  cpu/utilization: 40
140
- cloud/instance-type: A1
141
- region: uk-west
140
+ cloud/instance-type: A1
141
+ cloud/region: uk-west
142
142
  - timestamp: "2023-12-12T00:00:13.000Z"
143
143
  duration: 30
144
144
  cpu/utilization: 33
145
- cloud/instance-type: A1
146
- region: uk-west
145
+ cloud/instance-type: A1
146
+ cloud/region: uk-west
@@ -7,17 +7,17 @@ initialize:
7
7
  path: "@grnsft/if-plugins"
8
8
  method: MockObservations
9
9
  global-config:
10
- timestamp-from: 2024-02-26T00:00
11
- timestamp-to: 2024-02-26T00:10
10
+ timestamp-from: "2024-03-05T00:00:00.000Z"
11
+ timestamp-to: "2024-03-05T00:10:00.000Z"
12
12
  duration: 60
13
13
  components:
14
- - cloud/instance-type: Standard_A1_v2
15
- - cloud/instance-type: Standard_A2_v2
14
+ - cloud/instance-type: Standard_E64_v3
15
+ - cloud/instance-type: Standard_E64_v4
16
16
  generators:
17
17
  common:
18
18
  cloud/vendor: azure
19
- cloud/region: uk-west
20
- geolocation: 37.7749,-122.4194
19
+ cloud/region: westus
20
+ cloud/region-wt-id: CAISO_NORTH
21
21
  randint:
22
22
  cpu/utilization:
23
23
  min: 1
@@ -33,10 +33,3 @@ tree:
33
33
  - watttime
34
34
  config:
35
35
  inputs:
36
- - timestamp: "2024-02-26 00:00:00"
37
- duration: 60
38
- cloud/instance-type: Standard_A1_v2
39
- cloud/vendor: azure
40
- cloud/region: uk-west
41
- geolocation: 37.7749,-122.4194
42
- cpu/utilization: 15