@runblackcat/sdk 0.1.0-alpha.132 → 0.1.0-alpha.134

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runblackcat/sdk",
3
- "version": "0.1.0-alpha.132",
3
+ "version": "0.1.0-alpha.134",
4
4
  "description": "TypeScript SDK for the Blackcat sandbox gateway",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/TreebeardHQ/blackcat",
@@ -572,12 +572,35 @@ export interface ReservationTelemetryAdmissionMinute {
572
572
  refused_cpu_pressure: number;
573
573
  /** Admissions refused at the concurrent-start limit. */
574
574
  refused_start_limit: number;
575
- /** Every other refusal (memory, ublk, not schedulable, ...). */
575
+ /** Every refusal in none of the classes below. */
576
576
  refused_other: number;
577
+ /** Refused for memory pressure or committed memory capacity. Optional
578
+ * because a record written before the reason classes lacks it (read as 0,
579
+ * its refusals then counted in `refused_other`); so are the five below. */
580
+ refused_memory?: number;
581
+ /** Refused while the template's prefetch was in flight. */
582
+ refused_template_fetching?: number;
583
+ /** Refused: node fenced, draining, in maintenance, unschedulable, no TLS
584
+ * listener or lease expired. */
585
+ refused_not_schedulable?: number;
586
+ /** Refused: sandbox already resident or reserved, previous VMM not killed. */
587
+ refused_sandbox_conflict?: number;
588
+ /** Refused: the CPU reservation did not fit the node's CPU budget. */
589
+ refused_cpu_capacity?: number;
590
+ /** Refused: no ublk device free for a lazily paged restore. */
591
+ refused_ublk?: number;
577
592
  /** Starts admitted. */
578
593
  starts_begun: number;
579
594
  /** Starts whose launch finished. */
580
595
  starts_completed: number;
596
+ /** Of `starts_completed`, those admitted before the host began recording.
597
+ * Optional because a record written earlier lacks it (read as 0). */
598
+ starts_carried_in?: number;
599
+ /** Starts that ended without a launch (aborted, failed, expired), counted
600
+ * in the minute they ended. */
601
+ starts_abandoned?: number;
602
+ /** Starts admitted in this record and still in flight at the minute's end. */
603
+ starts_in_flight_end?: number;
581
604
  /** The most starts in flight at an admission decision. */
582
605
  in_flight_starts_max: number;
583
606
  /** CPU `some` avg10 read at admission decisions, hundredths of a percent