@mark1russell7/capacity 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1110 -2
- package/build/index.d.ts +858 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +1713 -0
- package/build/index.js.map +1 -0
- package/build/instance-check-Bt-SI8va.js +1732 -0
- package/build/instance-check-Bt-SI8va.js.map +1 -0
- package/build/instance-sZmVOOvz.d.ts +801 -0
- package/build/instance-sZmVOOvz.d.ts.map +1 -0
- package/build/schema.d.ts +69 -0
- package/build/schema.d.ts.map +1 -0
- package/build/schema.js +325 -0
- package/build/schema.js.map +1 -0
- package/limits/alerts-routes.line.json +78 -0
- package/limits/alerts-scale.limits.json +10 -0
- package/limits/alerts-start-gate.limits.json +1149 -0
- package/limits/alerts-start-routes-limit-home.bracket.json +543 -0
- package/limits/alerts-start-routes-limit-mid.bracket.json +464 -0
- package/limits/alerts-start-routes-limit.bracket.json +579 -0
- package/limits/alerts-tail-gate.limits.json +610 -0
- package/package.json +85 -3
- package/src/app-check.ts +477 -0
- package/src/app-metrics.ts +105 -0
- package/src/app.ts +239 -0
- package/src/check.ts +253 -0
- package/src/composition.ts +680 -0
- package/src/demand.ts +312 -0
- package/src/fit.ts +153 -0
- package/src/forms.ts +358 -0
- package/src/gate.ts +237 -0
- package/src/index.ts +143 -0
- package/src/instance-check.ts +122 -0
- package/src/instance.ts +84 -0
- package/src/knee.ts +606 -0
- package/src/law.ts +236 -0
- package/src/limit.ts +112 -0
- package/src/names.ts +19 -0
- package/src/observe.ts +74 -0
- package/src/program.ts +74 -0
- package/src/scale.ts +617 -0
- package/src/schema.ts +263 -0
- package/src/value.ts +206 -0
- package/src/workload-check.ts +130 -0
- package/src/workload.ts +88 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "capacity-start-bracket/1",
|
|
3
|
+
"plan": "alerts-start-routes-limit-mid",
|
|
4
|
+
"case": "alerts-start-routes-limit-mid/grid",
|
|
5
|
+
"subject": "alerts-runtime",
|
|
6
|
+
"app": "https://github.com/metrograph-labs/alerts.git",
|
|
7
|
+
"arm": "main",
|
|
8
|
+
"commit": "fda7d62ee4f1f89aedcd898d4733e883b9d80f3f",
|
|
9
|
+
"target": {
|
|
10
|
+
"image": "node:24.21.0-bookworm-slim",
|
|
11
|
+
"node": "v24.21.0",
|
|
12
|
+
"memory": {
|
|
13
|
+
"value": 2147483648,
|
|
14
|
+
"unit": "B"
|
|
15
|
+
},
|
|
16
|
+
"swap": {
|
|
17
|
+
"value": 2147483648,
|
|
18
|
+
"unit": "B"
|
|
19
|
+
},
|
|
20
|
+
"cpus": 2,
|
|
21
|
+
"heapLimit": {
|
|
22
|
+
"value": 1174405120,
|
|
23
|
+
"unit": "B"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"ceiling": {
|
|
27
|
+
"value": 1174405120,
|
|
28
|
+
"unit": "B"
|
|
29
|
+
},
|
|
30
|
+
"variable": {
|
|
31
|
+
"id": "routes",
|
|
32
|
+
"unit": "{route}"
|
|
33
|
+
},
|
|
34
|
+
"measure": {
|
|
35
|
+
"id": "heapPeak",
|
|
36
|
+
"unit": "B"
|
|
37
|
+
},
|
|
38
|
+
"runs": [
|
|
39
|
+
{
|
|
40
|
+
"id": "46331249632/1/1",
|
|
41
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46331249632",
|
|
42
|
+
"job": "1",
|
|
43
|
+
"attempt": 1,
|
|
44
|
+
"cpu": "Intel(R) Xeon(R) 6975P-C"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "46331249632/2/1",
|
|
48
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46331249632",
|
|
49
|
+
"job": "2",
|
|
50
|
+
"attempt": 1,
|
|
51
|
+
"cpu": "AMD EPYC 7763 64-Core Processor"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "46331249632/3/1",
|
|
55
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46331249632",
|
|
56
|
+
"job": "3",
|
|
57
|
+
"attempt": 1,
|
|
58
|
+
"cpu": "AMD EPYC 9V74 80-Core Processor"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "46331249632/4/1",
|
|
62
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46331249632",
|
|
63
|
+
"job": "4",
|
|
64
|
+
"attempt": 1,
|
|
65
|
+
"cpu": "Intel(R) Xeon(R) 6975P-C"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "46331249632/5/1",
|
|
69
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46331249632",
|
|
70
|
+
"job": "5",
|
|
71
|
+
"attempt": 1,
|
|
72
|
+
"cpu": "AMD EPYC 7763 64-Core Processor"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "46353047697/1/1",
|
|
76
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46353047697",
|
|
77
|
+
"job": "1",
|
|
78
|
+
"attempt": 1,
|
|
79
|
+
"cpu": "Intel(R) Xeon(R) 6975P-C"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "46353047697/2/1",
|
|
83
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46353047697",
|
|
84
|
+
"job": "2",
|
|
85
|
+
"attempt": 1,
|
|
86
|
+
"cpu": "Intel(R) Xeon(R) 6975P-C"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "46353047697/3/1",
|
|
90
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46353047697",
|
|
91
|
+
"job": "3",
|
|
92
|
+
"attempt": 1,
|
|
93
|
+
"cpu": "AMD EPYC 9V45 96-Core Processor"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "46353047697/4/1",
|
|
97
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46353047697",
|
|
98
|
+
"job": "4",
|
|
99
|
+
"attempt": 1,
|
|
100
|
+
"cpu": "Intel(R) Xeon(R) 6975P-C"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "46353047697/5/1",
|
|
104
|
+
"url": "https://github.com/metrograph-labs/capacity/actions/runs/46353047697",
|
|
105
|
+
"job": "5",
|
|
106
|
+
"attempt": 1,
|
|
107
|
+
"cpu": "AMD EPYC 7763 64-Core Processor"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"cpus": [
|
|
111
|
+
"AMD EPYC 7763 64-Core Processor",
|
|
112
|
+
"AMD EPYC 9V45 96-Core Processor",
|
|
113
|
+
"AMD EPYC 9V74 80-Core Processor",
|
|
114
|
+
"Intel(R) Xeon(R) 6975P-C"
|
|
115
|
+
],
|
|
116
|
+
"points": [
|
|
117
|
+
{
|
|
118
|
+
"id": "persons-1000-incidents-100",
|
|
119
|
+
"at": {
|
|
120
|
+
"log": {
|
|
121
|
+
"value": 16777216,
|
|
122
|
+
"unit": "B"
|
|
123
|
+
},
|
|
124
|
+
"feeds": {
|
|
125
|
+
"value": 10,
|
|
126
|
+
"unit": "{feed}"
|
|
127
|
+
},
|
|
128
|
+
"persons": {
|
|
129
|
+
"value": 1000,
|
|
130
|
+
"unit": "{person}"
|
|
131
|
+
},
|
|
132
|
+
"incidents": {
|
|
133
|
+
"value": 100,
|
|
134
|
+
"unit": "{incident}"
|
|
135
|
+
},
|
|
136
|
+
"gdelt": {
|
|
137
|
+
"value": 0,
|
|
138
|
+
"unit": "{place}"
|
|
139
|
+
},
|
|
140
|
+
"score": {
|
|
141
|
+
"value": 0,
|
|
142
|
+
"unit": "{person}"
|
|
143
|
+
},
|
|
144
|
+
"chain": {
|
|
145
|
+
"value": 0,
|
|
146
|
+
"unit": "{stack}"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"starts": 20,
|
|
150
|
+
"failures": 0,
|
|
151
|
+
"kinds": [],
|
|
152
|
+
"worst": 602258552,
|
|
153
|
+
"amount": 108000
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "persons-1000-incidents-125",
|
|
157
|
+
"at": {
|
|
158
|
+
"log": {
|
|
159
|
+
"value": 16777216,
|
|
160
|
+
"unit": "B"
|
|
161
|
+
},
|
|
162
|
+
"feeds": {
|
|
163
|
+
"value": 10,
|
|
164
|
+
"unit": "{feed}"
|
|
165
|
+
},
|
|
166
|
+
"persons": {
|
|
167
|
+
"value": 1000,
|
|
168
|
+
"unit": "{person}"
|
|
169
|
+
},
|
|
170
|
+
"incidents": {
|
|
171
|
+
"value": 125,
|
|
172
|
+
"unit": "{incident}"
|
|
173
|
+
},
|
|
174
|
+
"gdelt": {
|
|
175
|
+
"value": 0,
|
|
176
|
+
"unit": "{place}"
|
|
177
|
+
},
|
|
178
|
+
"score": {
|
|
179
|
+
"value": 0,
|
|
180
|
+
"unit": "{person}"
|
|
181
|
+
},
|
|
182
|
+
"chain": {
|
|
183
|
+
"value": 0,
|
|
184
|
+
"unit": "{stack}"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"starts": 20,
|
|
188
|
+
"failures": 0,
|
|
189
|
+
"kinds": [],
|
|
190
|
+
"worst": 758606872,
|
|
191
|
+
"amount": 133000
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "persons-1000-incidents-150",
|
|
195
|
+
"at": {
|
|
196
|
+
"log": {
|
|
197
|
+
"value": 16777216,
|
|
198
|
+
"unit": "B"
|
|
199
|
+
},
|
|
200
|
+
"feeds": {
|
|
201
|
+
"value": 10,
|
|
202
|
+
"unit": "{feed}"
|
|
203
|
+
},
|
|
204
|
+
"persons": {
|
|
205
|
+
"value": 1000,
|
|
206
|
+
"unit": "{person}"
|
|
207
|
+
},
|
|
208
|
+
"incidents": {
|
|
209
|
+
"value": 150,
|
|
210
|
+
"unit": "{incident}"
|
|
211
|
+
},
|
|
212
|
+
"gdelt": {
|
|
213
|
+
"value": 0,
|
|
214
|
+
"unit": "{place}"
|
|
215
|
+
},
|
|
216
|
+
"score": {
|
|
217
|
+
"value": 0,
|
|
218
|
+
"unit": "{person}"
|
|
219
|
+
},
|
|
220
|
+
"chain": {
|
|
221
|
+
"value": 0,
|
|
222
|
+
"unit": "{stack}"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"starts": 20,
|
|
226
|
+
"failures": 0,
|
|
227
|
+
"kinds": [],
|
|
228
|
+
"worst": 811435280,
|
|
229
|
+
"amount": 158000
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "persons-1000-incidents-175",
|
|
233
|
+
"at": {
|
|
234
|
+
"log": {
|
|
235
|
+
"value": 16777216,
|
|
236
|
+
"unit": "B"
|
|
237
|
+
},
|
|
238
|
+
"feeds": {
|
|
239
|
+
"value": 10,
|
|
240
|
+
"unit": "{feed}"
|
|
241
|
+
},
|
|
242
|
+
"persons": {
|
|
243
|
+
"value": 1000,
|
|
244
|
+
"unit": "{person}"
|
|
245
|
+
},
|
|
246
|
+
"incidents": {
|
|
247
|
+
"value": 175,
|
|
248
|
+
"unit": "{incident}"
|
|
249
|
+
},
|
|
250
|
+
"gdelt": {
|
|
251
|
+
"value": 0,
|
|
252
|
+
"unit": "{place}"
|
|
253
|
+
},
|
|
254
|
+
"score": {
|
|
255
|
+
"value": 0,
|
|
256
|
+
"unit": "{person}"
|
|
257
|
+
},
|
|
258
|
+
"chain": {
|
|
259
|
+
"value": 0,
|
|
260
|
+
"unit": "{stack}"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"starts": 20,
|
|
264
|
+
"failures": 0,
|
|
265
|
+
"kinds": [],
|
|
266
|
+
"worst": 859012808,
|
|
267
|
+
"amount": 183000
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "persons-1000-incidents-200",
|
|
271
|
+
"at": {
|
|
272
|
+
"log": {
|
|
273
|
+
"value": 16777216,
|
|
274
|
+
"unit": "B"
|
|
275
|
+
},
|
|
276
|
+
"feeds": {
|
|
277
|
+
"value": 10,
|
|
278
|
+
"unit": "{feed}"
|
|
279
|
+
},
|
|
280
|
+
"persons": {
|
|
281
|
+
"value": 1000,
|
|
282
|
+
"unit": "{person}"
|
|
283
|
+
},
|
|
284
|
+
"incidents": {
|
|
285
|
+
"value": 200,
|
|
286
|
+
"unit": "{incident}"
|
|
287
|
+
},
|
|
288
|
+
"gdelt": {
|
|
289
|
+
"value": 0,
|
|
290
|
+
"unit": "{place}"
|
|
291
|
+
},
|
|
292
|
+
"score": {
|
|
293
|
+
"value": 0,
|
|
294
|
+
"unit": "{person}"
|
|
295
|
+
},
|
|
296
|
+
"chain": {
|
|
297
|
+
"value": 0,
|
|
298
|
+
"unit": "{stack}"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"starts": 20,
|
|
302
|
+
"failures": 20,
|
|
303
|
+
"kinds": [
|
|
304
|
+
"heap"
|
|
305
|
+
],
|
|
306
|
+
"worst": null,
|
|
307
|
+
"amount": null
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "persons-100-incidents-1000",
|
|
311
|
+
"at": {
|
|
312
|
+
"log": {
|
|
313
|
+
"value": 16777216,
|
|
314
|
+
"unit": "B"
|
|
315
|
+
},
|
|
316
|
+
"feeds": {
|
|
317
|
+
"value": 10,
|
|
318
|
+
"unit": "{feed}"
|
|
319
|
+
},
|
|
320
|
+
"persons": {
|
|
321
|
+
"value": 100,
|
|
322
|
+
"unit": "{person}"
|
|
323
|
+
},
|
|
324
|
+
"incidents": {
|
|
325
|
+
"value": 1000,
|
|
326
|
+
"unit": "{incident}"
|
|
327
|
+
},
|
|
328
|
+
"gdelt": {
|
|
329
|
+
"value": 0,
|
|
330
|
+
"unit": "{place}"
|
|
331
|
+
},
|
|
332
|
+
"score": {
|
|
333
|
+
"value": 0,
|
|
334
|
+
"unit": "{person}"
|
|
335
|
+
},
|
|
336
|
+
"chain": {
|
|
337
|
+
"value": 0,
|
|
338
|
+
"unit": "{stack}"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"starts": 20,
|
|
342
|
+
"failures": 0,
|
|
343
|
+
"kinds": [],
|
|
344
|
+
"worst": 602766176,
|
|
345
|
+
"amount": 100800
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "persons-130-incidents-1000",
|
|
349
|
+
"at": {
|
|
350
|
+
"log": {
|
|
351
|
+
"value": 16777216,
|
|
352
|
+
"unit": "B"
|
|
353
|
+
},
|
|
354
|
+
"feeds": {
|
|
355
|
+
"value": 10,
|
|
356
|
+
"unit": "{feed}"
|
|
357
|
+
},
|
|
358
|
+
"persons": {
|
|
359
|
+
"value": 130,
|
|
360
|
+
"unit": "{person}"
|
|
361
|
+
},
|
|
362
|
+
"incidents": {
|
|
363
|
+
"value": 1000,
|
|
364
|
+
"unit": "{incident}"
|
|
365
|
+
},
|
|
366
|
+
"gdelt": {
|
|
367
|
+
"value": 0,
|
|
368
|
+
"unit": "{place}"
|
|
369
|
+
},
|
|
370
|
+
"score": {
|
|
371
|
+
"value": 0,
|
|
372
|
+
"unit": "{person}"
|
|
373
|
+
},
|
|
374
|
+
"chain": {
|
|
375
|
+
"value": 0,
|
|
376
|
+
"unit": "{stack}"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"starts": 20,
|
|
380
|
+
"failures": 0,
|
|
381
|
+
"kinds": [],
|
|
382
|
+
"worst": 685244160,
|
|
383
|
+
"amount": 131040
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"id": "persons-160-incidents-1000",
|
|
387
|
+
"at": {
|
|
388
|
+
"log": {
|
|
389
|
+
"value": 16777216,
|
|
390
|
+
"unit": "B"
|
|
391
|
+
},
|
|
392
|
+
"feeds": {
|
|
393
|
+
"value": 10,
|
|
394
|
+
"unit": "{feed}"
|
|
395
|
+
},
|
|
396
|
+
"persons": {
|
|
397
|
+
"value": 160,
|
|
398
|
+
"unit": "{person}"
|
|
399
|
+
},
|
|
400
|
+
"incidents": {
|
|
401
|
+
"value": 1000,
|
|
402
|
+
"unit": "{incident}"
|
|
403
|
+
},
|
|
404
|
+
"gdelt": {
|
|
405
|
+
"value": 0,
|
|
406
|
+
"unit": "{place}"
|
|
407
|
+
},
|
|
408
|
+
"score": {
|
|
409
|
+
"value": 0,
|
|
410
|
+
"unit": "{person}"
|
|
411
|
+
},
|
|
412
|
+
"chain": {
|
|
413
|
+
"value": 0,
|
|
414
|
+
"unit": "{stack}"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"starts": 20,
|
|
418
|
+
"failures": 0,
|
|
419
|
+
"kinds": [],
|
|
420
|
+
"worst": 809409728,
|
|
421
|
+
"amount": 161280
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"id": "persons-200-incidents-1000",
|
|
425
|
+
"at": {
|
|
426
|
+
"log": {
|
|
427
|
+
"value": 16777216,
|
|
428
|
+
"unit": "B"
|
|
429
|
+
},
|
|
430
|
+
"feeds": {
|
|
431
|
+
"value": 10,
|
|
432
|
+
"unit": "{feed}"
|
|
433
|
+
},
|
|
434
|
+
"persons": {
|
|
435
|
+
"value": 200,
|
|
436
|
+
"unit": "{person}"
|
|
437
|
+
},
|
|
438
|
+
"incidents": {
|
|
439
|
+
"value": 1000,
|
|
440
|
+
"unit": "{incident}"
|
|
441
|
+
},
|
|
442
|
+
"gdelt": {
|
|
443
|
+
"value": 0,
|
|
444
|
+
"unit": "{place}"
|
|
445
|
+
},
|
|
446
|
+
"score": {
|
|
447
|
+
"value": 0,
|
|
448
|
+
"unit": "{person}"
|
|
449
|
+
},
|
|
450
|
+
"chain": {
|
|
451
|
+
"value": 0,
|
|
452
|
+
"unit": "{stack}"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"starts": 20,
|
|
456
|
+
"failures": 6,
|
|
457
|
+
"kinds": [
|
|
458
|
+
"heap"
|
|
459
|
+
],
|
|
460
|
+
"worst": 859767608,
|
|
461
|
+
"amount": 201600
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
}
|