levelfour 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/api/types/AutomationAction.d.mts +1 -0
  2. package/dist/api/types/AutomationAction.d.ts +1 -0
  3. package/dist/api/types/AutomationAction.js +2 -1
  4. package/dist/api/types/AutomationAction.mjs +2 -1
  5. package/dist/api/types/BlockerTotals.d.mts +19 -1
  6. package/dist/api/types/BlockerTotals.d.ts +19 -1
  7. package/dist/api/types/ClaimBillRate.d.mts +15 -0
  8. package/dist/api/types/ClaimBillRate.d.ts +15 -0
  9. package/dist/api/types/ClaimBillRate.js +17 -0
  10. package/dist/api/types/ClaimBillRate.mjs +1 -0
  11. package/dist/api/types/ClusterFilterOptions.d.mts +1 -0
  12. package/dist/api/types/ClusterFilterOptions.d.ts +1 -0
  13. package/dist/api/types/ClusterFilterOptions.js +1 -0
  14. package/dist/api/types/ClusterFilterOptions.mjs +1 -0
  15. package/dist/api/types/ClusterHealth.d.mts +1 -1
  16. package/dist/api/types/ClusterHealth.d.ts +1 -1
  17. package/dist/api/types/ClusterItem.d.mts +18 -5
  18. package/dist/api/types/ClusterItem.d.ts +18 -5
  19. package/dist/api/types/ClusterItem.js +6 -0
  20. package/dist/api/types/ClusterItem.mjs +6 -0
  21. package/dist/api/types/ClusterSummary.d.mts +17 -1
  22. package/dist/api/types/ClusterSummary.d.ts +17 -1
  23. package/dist/api/types/ClusterSummary.js +5 -0
  24. package/dist/api/types/ClusterSummary.mjs +5 -0
  25. package/dist/api/types/ClusterUsageDay.d.mts +1 -1
  26. package/dist/api/types/ClusterUsageDay.d.ts +1 -1
  27. package/dist/api/types/ComputeMonth.d.mts +3 -2
  28. package/dist/api/types/ComputeMonth.d.ts +3 -2
  29. package/dist/api/types/ConsolidationBlocker.d.mts +19 -0
  30. package/dist/api/types/ConsolidationBlocker.d.ts +19 -0
  31. package/dist/api/types/ConsolidationBlocker.js +11 -0
  32. package/dist/api/types/ConsolidationBlocker.mjs +11 -0
  33. package/dist/api/types/ContainerDetail.d.mts +2 -0
  34. package/dist/api/types/ContainerDetail.d.ts +2 -0
  35. package/dist/api/types/CostSeries.d.mts +3 -2
  36. package/dist/api/types/CostSeries.d.ts +3 -2
  37. package/dist/api/types/CostSeries.js +2 -1
  38. package/dist/api/types/CostSeries.mjs +2 -1
  39. package/dist/api/types/DestinationTraffic.d.mts +17 -0
  40. package/dist/api/types/DestinationTraffic.d.ts +17 -0
  41. package/dist/api/types/DestinationTraffic.js +38 -0
  42. package/dist/api/types/DestinationTraffic.mjs +14 -0
  43. package/dist/api/types/Efficiency.d.mts +6 -0
  44. package/dist/api/types/Efficiency.d.ts +6 -0
  45. package/dist/api/types/EfficiencyPoint.d.mts +1 -0
  46. package/dist/api/types/EfficiencyPoint.d.ts +1 -0
  47. package/dist/api/types/FleetNamespace.d.mts +7 -0
  48. package/dist/api/types/FleetNamespace.d.ts +7 -0
  49. package/dist/api/types/FleetNamespace.js +4 -0
  50. package/dist/api/types/FleetNamespace.mjs +4 -0
  51. package/dist/api/types/FleetNodePool.d.mts +11 -5
  52. package/dist/api/types/FleetNodePool.d.ts +11 -5
  53. package/dist/api/types/FleetStorage.d.mts +3 -0
  54. package/dist/api/types/FleetStorage.d.ts +3 -0
  55. package/dist/api/types/FleetSummary.d.mts +13 -1
  56. package/dist/api/types/FleetSummary.d.ts +13 -1
  57. package/dist/api/types/FleetSummary.js +5 -0
  58. package/dist/api/types/FleetSummary.mjs +5 -0
  59. package/dist/api/types/FleetVolume.d.mts +23 -1
  60. package/dist/api/types/FleetVolume.d.ts +23 -1
  61. package/dist/api/types/FleetVolume.js +22 -0
  62. package/dist/api/types/FleetVolume.mjs +14 -0
  63. package/dist/api/types/FleetWorkload.d.mts +9 -0
  64. package/dist/api/types/FleetWorkload.d.ts +9 -0
  65. package/dist/api/types/FleetWorkload.js +4 -0
  66. package/dist/api/types/FleetWorkload.mjs +4 -0
  67. package/dist/api/types/HeldResources.d.mts +23 -0
  68. package/dist/api/types/HeldResources.d.ts +23 -0
  69. package/dist/api/types/HeldResources.js +39 -0
  70. package/dist/api/types/HeldResources.mjs +15 -0
  71. package/dist/api/types/Indicator.d.mts +3 -0
  72. package/dist/api/types/Indicator.d.ts +3 -0
  73. package/dist/api/types/Indicator.js +3 -0
  74. package/dist/api/types/Indicator.mjs +3 -0
  75. package/dist/api/types/IndicatorCount.d.mts +3 -0
  76. package/dist/api/types/IndicatorCount.d.ts +3 -0
  77. package/dist/api/types/IndicatorCount.js +3 -0
  78. package/dist/api/types/IndicatorCount.mjs +3 -0
  79. package/dist/api/types/KubernetesDataAvailability.d.mts +4 -0
  80. package/dist/api/types/KubernetesDataAvailability.d.ts +4 -0
  81. package/dist/api/types/NamespaceAutomation.d.mts +3 -0
  82. package/dist/api/types/NamespaceAutomation.d.ts +3 -0
  83. package/dist/api/types/NamespaceItem.d.mts +7 -0
  84. package/dist/api/types/NamespaceItem.d.ts +7 -0
  85. package/dist/api/types/NamespaceItem.js +4 -0
  86. package/dist/api/types/NamespaceItem.mjs +4 -0
  87. package/dist/api/types/NamespaceReliability.d.mts +4 -1
  88. package/dist/api/types/NamespaceReliability.d.ts +4 -1
  89. package/dist/api/types/NetworkLens.d.mts +2 -0
  90. package/dist/api/types/NetworkLens.d.ts +2 -0
  91. package/dist/api/types/NetworkTotals.d.mts +5 -1
  92. package/dist/api/types/NetworkTotals.d.ts +5 -1
  93. package/dist/api/types/NoReadyShare.d.mts +12 -0
  94. package/dist/api/types/NoReadyShare.d.ts +12 -0
  95. package/dist/api/types/NoReadyShare.js +17 -0
  96. package/dist/api/types/NoReadyShare.mjs +1 -0
  97. package/dist/api/types/NodeDetail.d.mts +2 -0
  98. package/dist/api/types/NodeDetail.d.ts +2 -0
  99. package/dist/api/types/NodeFacets.d.mts +2 -0
  100. package/dist/api/types/NodeFacets.d.ts +2 -0
  101. package/dist/api/types/NodeItem.d.mts +3 -1
  102. package/dist/api/types/NodeItem.d.ts +3 -1
  103. package/dist/api/types/NodeMonthlyPrice.d.mts +24 -0
  104. package/dist/api/types/NodeMonthlyPrice.d.ts +24 -0
  105. package/dist/api/types/NodeMonthlyPrice.js +35 -0
  106. package/dist/api/types/NodeMonthlyPrice.mjs +11 -0
  107. package/dist/api/types/NodePoolDay.d.mts +1 -1
  108. package/dist/api/types/NodePoolDay.d.ts +1 -1
  109. package/dist/api/types/NodePoolUsage.d.mts +11 -5
  110. package/dist/api/types/NodePoolUsage.d.ts +11 -5
  111. package/dist/api/types/OtherRightsizer.d.mts +14 -0
  112. package/dist/api/types/OtherRightsizer.d.ts +14 -0
  113. package/dist/api/types/OtherRightsizer.js +35 -0
  114. package/dist/api/types/OtherRightsizer.mjs +11 -0
  115. package/dist/api/types/PendingShare.d.mts +6 -0
  116. package/dist/api/types/PendingShare.d.ts +6 -0
  117. package/dist/api/types/PendingShare.js +17 -0
  118. package/dist/api/types/PendingShare.mjs +1 -0
  119. package/dist/api/types/PodCounts.d.mts +2 -2
  120. package/dist/api/types/PodCounts.d.ts +2 -2
  121. package/dist/api/types/PodsHour.d.mts +3 -1
  122. package/dist/api/types/PodsHour.d.ts +3 -1
  123. package/dist/api/types/PurchaseTypeShare.d.mts +1 -1
  124. package/dist/api/types/PurchaseTypeShare.d.ts +1 -1
  125. package/dist/api/types/ReliabilityCounts.d.mts +3 -0
  126. package/dist/api/types/ReliabilityCounts.d.ts +3 -0
  127. package/dist/api/types/ReliabilityDay.d.mts +8 -5
  128. package/dist/api/types/ReliabilityDay.d.ts +8 -5
  129. package/dist/api/types/ReliabilityEventDay.d.mts +4 -3
  130. package/dist/api/types/ReliabilityEventDay.d.ts +4 -3
  131. package/dist/api/types/ReliabilityLens.d.mts +2 -1
  132. package/dist/api/types/ReliabilityLens.d.ts +2 -1
  133. package/dist/api/types/ReliabilityTotals.d.mts +10 -1
  134. package/dist/api/types/ReliabilityTotals.d.ts +10 -1
  135. package/dist/api/types/RequestsAverage.d.mts +3 -1
  136. package/dist/api/types/RequestsAverage.d.ts +3 -1
  137. package/dist/api/types/ResourceEfficiency.d.mts +7 -1
  138. package/dist/api/types/ResourceEfficiency.d.ts +7 -1
  139. package/dist/api/types/RightsizedContainer.d.mts +19 -5
  140. package/dist/api/types/RightsizedContainer.d.ts +19 -5
  141. package/dist/api/types/RightsizedContainer.js +10 -1
  142. package/dist/api/types/RightsizedContainer.mjs +10 -1
  143. package/dist/api/types/SizingEvidence.d.mts +30 -0
  144. package/dist/api/types/SizingEvidence.d.ts +30 -0
  145. package/dist/api/types/SizingEvidence.js +40 -0
  146. package/dist/api/types/SizingEvidence.mjs +16 -0
  147. package/dist/api/types/SpendDay.d.mts +17 -2
  148. package/dist/api/types/SpendDay.d.ts +17 -2
  149. package/dist/api/types/SpendDay.js +18 -0
  150. package/dist/api/types/SpendDay.mjs +10 -0
  151. package/dist/api/types/SpendKpis.d.mts +13 -2
  152. package/dist/api/types/SpendKpis.d.ts +13 -2
  153. package/dist/api/types/SpendKpis.js +18 -0
  154. package/dist/api/types/SpendKpis.mjs +10 -0
  155. package/dist/api/types/SpendUnitCost.d.mts +1 -0
  156. package/dist/api/types/SpendUnitCost.d.ts +1 -0
  157. package/dist/api/types/SpotBalance.d.mts +4 -0
  158. package/dist/api/types/SpotBalance.d.ts +4 -0
  159. package/dist/api/types/StatusCount.d.mts +1 -0
  160. package/dist/api/types/StatusCount.d.ts +1 -0
  161. package/dist/api/types/StatusCount.js +1 -0
  162. package/dist/api/types/StatusCount.mjs +1 -0
  163. package/dist/api/types/StorageClassTotals.d.mts +2 -0
  164. package/dist/api/types/StorageClassTotals.d.ts +2 -0
  165. package/dist/api/types/StorageClassUsage.d.mts +4 -1
  166. package/dist/api/types/StorageClassUsage.d.ts +4 -1
  167. package/dist/api/types/UnitCosts.d.mts +1 -1
  168. package/dist/api/types/UnitCosts.d.ts +1 -1
  169. package/dist/api/types/UsageCoverage.d.mts +10 -0
  170. package/dist/api/types/UsageCoverage.d.ts +10 -0
  171. package/dist/api/types/UsageCoverage.js +17 -0
  172. package/dist/api/types/UsageCoverage.mjs +1 -0
  173. package/dist/api/types/UsageCoverageResponse.d.mts +6 -0
  174. package/dist/api/types/UsageCoverageResponse.d.ts +6 -0
  175. package/dist/api/types/UsageCoverageResponse.js +17 -0
  176. package/dist/api/types/UsageCoverageResponse.mjs +1 -0
  177. package/dist/api/types/UsageCoverageWindow.d.mts +8 -0
  178. package/dist/api/types/UsageCoverageWindow.d.ts +8 -0
  179. package/dist/api/types/UsageCoverageWindow.js +17 -0
  180. package/dist/api/types/UsageCoverageWindow.mjs +1 -0
  181. package/dist/api/types/UseMeasured.d.mts +9 -0
  182. package/dist/api/types/UseMeasured.d.ts +9 -0
  183. package/dist/api/types/UseMeasured.js +17 -0
  184. package/dist/api/types/UseMeasured.mjs +1 -0
  185. package/dist/api/types/UtilizationTarget.d.mts +34 -4
  186. package/dist/api/types/UtilizationTarget.d.ts +34 -4
  187. package/dist/api/types/UtilizationTarget.js +14 -1
  188. package/dist/api/types/UtilizationTarget.mjs +14 -1
  189. package/dist/api/types/VolumeItem.d.mts +23 -1
  190. package/dist/api/types/VolumeItem.d.ts +23 -1
  191. package/dist/api/types/VolumeItem.js +22 -0
  192. package/dist/api/types/VolumeItem.mjs +14 -0
  193. package/dist/api/types/Waste.d.mts +6 -2
  194. package/dist/api/types/Waste.d.ts +6 -2
  195. package/dist/api/types/WasteDay.d.mts +2 -0
  196. package/dist/api/types/WasteDay.d.ts +2 -0
  197. package/dist/api/types/WasteTotal.d.mts +4 -2
  198. package/dist/api/types/WasteTotal.d.ts +4 -2
  199. package/dist/api/types/WorkloadDay.d.mts +7 -0
  200. package/dist/api/types/WorkloadDay.d.ts +7 -0
  201. package/dist/api/types/WorkloadDetail.d.mts +8 -0
  202. package/dist/api/types/WorkloadDetail.d.ts +8 -0
  203. package/dist/api/types/WorkloadFacets.d.mts +4 -0
  204. package/dist/api/types/WorkloadFacets.d.ts +4 -0
  205. package/dist/api/types/WorkloadItem.d.mts +38 -0
  206. package/dist/api/types/WorkloadItem.d.ts +38 -0
  207. package/dist/api/types/WorkloadItem.js +20 -0
  208. package/dist/api/types/WorkloadItem.mjs +20 -0
  209. package/dist/api/types/WorkloadListItem.d.mts +38 -0
  210. package/dist/api/types/WorkloadListItem.d.ts +38 -0
  211. package/dist/api/types/WorkloadListItem.js +20 -0
  212. package/dist/api/types/WorkloadListItem.mjs +20 -0
  213. package/dist/api/types/index.d.mts +12 -0
  214. package/dist/api/types/index.d.ts +12 -0
  215. package/dist/api/types/index.js +24 -0
  216. package/dist/api/types/index.mjs +12 -0
  217. package/dist/version.d.mts +1 -1
  218. package/dist/version.d.ts +1 -1
  219. package/dist/version.js +1 -1
  220. package/dist/version.mjs +1 -1
  221. package/package.json +1 -1
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -13,5 +17,23 @@ var __copyProps = (to, from, except, desc) => {
13
17
  };
14
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
19
  var FleetVolume_exports = {};
20
+ __export(FleetVolume_exports, {
21
+ FleetVolume: () => FleetVolume
22
+ });
16
23
  module.exports = __toCommonJS(FleetVolume_exports);
24
+ var FleetVolume;
25
+ ((FleetVolume2) => {
26
+ FleetVolume2.UseUnknownReason = {
27
+ NotMounted: "not_mounted",
28
+ NoReading: "no_reading"
29
+ };
30
+ FleetVolume2.CostUnknownReason = {
31
+ NotOnBill: "not_on_bill",
32
+ NoBill: "no_bill"
33
+ };
34
+ })(FleetVolume || (FleetVolume = {}));
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ FleetVolume
38
+ });
17
39
  //# sourceMappingURL=FleetVolume.js.map
@@ -1 +1,15 @@
1
+ var FleetVolume;
2
+ ((FleetVolume2) => {
3
+ FleetVolume2.UseUnknownReason = {
4
+ NotMounted: "not_mounted",
5
+ NoReading: "no_reading"
6
+ };
7
+ FleetVolume2.CostUnknownReason = {
8
+ NotOnBill: "not_on_bill",
9
+ NoBill: "no_bill"
10
+ };
11
+ })(FleetVolume || (FleetVolume = {}));
12
+ export {
13
+ FleetVolume
14
+ };
1
15
  //# sourceMappingURL=FleetVolume.mjs.map
@@ -7,8 +7,12 @@ export interface FleetWorkload {
7
7
  name: string;
8
8
  /** No longer in the cluster, listed for its cost in the window */
9
9
  removed?: boolean | undefined;
10
+ /** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
11
+ ephemeral?: boolean | undefined;
10
12
  /** As the cluster's workloads list reads it */
11
13
  cost?: (number | null) | undefined;
14
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
15
+ cost_unknown_reason?: (FleetWorkload.CostUnknownReason | null) | undefined;
12
16
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
13
17
  cost_net?: (number | null) | undefined;
14
18
  /** CPU and memory efficiency weighted by what each cost */
@@ -22,6 +26,11 @@ export interface FleetWorkload {
22
26
  reliability: LevelFour.ReliabilityCounts;
23
27
  }
24
28
  export declare namespace FleetWorkload {
29
+ const CostUnknownReason: {
30
+ readonly ComputeUnpriced: "compute_unpriced";
31
+ readonly NothingPriced: "nothing_priced";
32
+ };
33
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
25
34
  /** As the cluster's workloads list reads it: the worst severity among its indicators */
26
35
  const Risk: {
27
36
  readonly High: "high";
@@ -7,8 +7,12 @@ export interface FleetWorkload {
7
7
  name: string;
8
8
  /** No longer in the cluster, listed for its cost in the window */
9
9
  removed?: boolean | undefined;
10
+ /** A pull-request environment, which lives a few days: a label channel, or one ending in /channel, valued pr-<number>. The counts of workloads at risk leave it out unless the request passes include_ephemeral */
11
+ ephemeral?: boolean | undefined;
10
12
  /** As the cluster's workloads list reads it */
11
13
  cost?: (number | null) | undefined;
14
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
15
+ cost_unknown_reason?: (FleetWorkload.CostUnknownReason | null) | undefined;
12
16
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
13
17
  cost_net?: (number | null) | undefined;
14
18
  /** CPU and memory efficiency weighted by what each cost */
@@ -22,6 +26,11 @@ export interface FleetWorkload {
22
26
  reliability: LevelFour.ReliabilityCounts;
23
27
  }
24
28
  export declare namespace FleetWorkload {
29
+ const CostUnknownReason: {
30
+ readonly ComputeUnpriced: "compute_unpriced";
31
+ readonly NothingPriced: "nothing_priced";
32
+ };
33
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
25
34
  /** As the cluster's workloads list reads it: the worst severity among its indicators */
26
35
  const Risk: {
27
36
  readonly High: "high";
@@ -23,6 +23,10 @@ __export(FleetWorkload_exports, {
23
23
  module.exports = __toCommonJS(FleetWorkload_exports);
24
24
  var FleetWorkload;
25
25
  ((FleetWorkload2) => {
26
+ FleetWorkload2.CostUnknownReason = {
27
+ ComputeUnpriced: "compute_unpriced",
28
+ NothingPriced: "nothing_priced"
29
+ };
26
30
  FleetWorkload2.Risk = {
27
31
  High: "high",
28
32
  Medium: "medium",
@@ -1,5 +1,9 @@
1
1
  var FleetWorkload;
2
2
  ((FleetWorkload2) => {
3
+ FleetWorkload2.CostUnknownReason = {
4
+ ComputeUnpriced: "compute_unpriced",
5
+ NothingPriced: "nothing_priced"
6
+ };
3
7
  FleetWorkload2.Risk = {
4
8
  High: "high",
5
9
  Medium: "medium",
@@ -0,0 +1,23 @@
1
+ import type * as LevelFour from "../index.mjs";
2
+ export interface HeldResources {
3
+ /** The CPU and memory requests the pods hold */
4
+ requests: LevelFour.ResourceList;
5
+ /** The CPU and memory limits the pods hold */
6
+ limits: LevelFour.ResourceList;
7
+ /** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
8
+ cpu_set_by?: (HeldResources.CpuSetBy | null) | undefined;
9
+ /** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
10
+ memory_set_by?: (HeldResources.MemorySetBy | null) | undefined;
11
+ }
12
+ export declare namespace HeldResources {
13
+ const CpuSetBy: {
14
+ readonly LimitRange: "limit_range";
15
+ readonly Admission: "admission";
16
+ };
17
+ type CpuSetBy = (typeof CpuSetBy)[keyof typeof CpuSetBy];
18
+ const MemorySetBy: {
19
+ readonly LimitRange: "limit_range";
20
+ readonly Admission: "admission";
21
+ };
22
+ type MemorySetBy = (typeof MemorySetBy)[keyof typeof MemorySetBy];
23
+ }
@@ -0,0 +1,23 @@
1
+ import type * as LevelFour from "../index.js";
2
+ export interface HeldResources {
3
+ /** The CPU and memory requests the pods hold */
4
+ requests: LevelFour.ResourceList;
5
+ /** The CPU and memory limits the pods hold */
6
+ limits: LevelFour.ResourceList;
7
+ /** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
8
+ cpu_set_by?: (HeldResources.CpuSetBy | null) | undefined;
9
+ /** Who set what the pods hold when the template did not: limit_range when the namespace's LimitRange defaults filled what the template leaves out, admission when the pods hold anything else (a webhook, or a resize in place). Null when the pods hold the template's values */
10
+ memory_set_by?: (HeldResources.MemorySetBy | null) | undefined;
11
+ }
12
+ export declare namespace HeldResources {
13
+ const CpuSetBy: {
14
+ readonly LimitRange: "limit_range";
15
+ readonly Admission: "admission";
16
+ };
17
+ type CpuSetBy = (typeof CpuSetBy)[keyof typeof CpuSetBy];
18
+ const MemorySetBy: {
19
+ readonly LimitRange: "limit_range";
20
+ readonly Admission: "admission";
21
+ };
22
+ type MemorySetBy = (typeof MemorySetBy)[keyof typeof MemorySetBy];
23
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var HeldResources_exports = {};
20
+ __export(HeldResources_exports, {
21
+ HeldResources: () => HeldResources
22
+ });
23
+ module.exports = __toCommonJS(HeldResources_exports);
24
+ var HeldResources;
25
+ ((HeldResources2) => {
26
+ HeldResources2.CpuSetBy = {
27
+ LimitRange: "limit_range",
28
+ Admission: "admission"
29
+ };
30
+ HeldResources2.MemorySetBy = {
31
+ LimitRange: "limit_range",
32
+ Admission: "admission"
33
+ };
34
+ })(HeldResources || (HeldResources = {}));
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ HeldResources
38
+ });
39
+ //# sourceMappingURL=HeldResources.js.map
@@ -0,0 +1,15 @@
1
+ var HeldResources;
2
+ ((HeldResources2) => {
3
+ HeldResources2.CpuSetBy = {
4
+ LimitRange: "limit_range",
5
+ Admission: "admission"
6
+ };
7
+ HeldResources2.MemorySetBy = {
8
+ LimitRange: "limit_range",
9
+ Admission: "admission"
10
+ };
11
+ })(HeldResources || (HeldResources = {}));
12
+ export {
13
+ HeldResources
14
+ };
15
+ //# sourceMappingURL=HeldResources.mjs.map
@@ -18,11 +18,14 @@ export declare namespace Indicator {
18
18
  readonly MemoryRequestNotSet: "memory_request_not_set";
19
19
  readonly MemoryLimitNotSet: "memory_limit_not_set";
20
20
  readonly RequestSetAtAdmission: "request_set_at_admission";
21
+ readonly AwaitingSizing: "awaiting_sizing";
21
22
  readonly LivenessProbeMissing: "liveness_probe_missing";
22
23
  readonly ReadinessProbeMissing: "readiness_probe_missing";
23
24
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
24
25
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
25
26
  readonly Eviction: "eviction";
27
+ readonly NoReadyReplica: "no_ready_replica";
28
+ readonly PodsPending: "pods_pending";
26
29
  readonly HpaAtMax: "hpa_at_max";
27
30
  readonly PdbTooStrict: "pdb_too_strict";
28
31
  readonly PdbMissing: "pdb_missing";
@@ -18,11 +18,14 @@ export declare namespace Indicator {
18
18
  readonly MemoryRequestNotSet: "memory_request_not_set";
19
19
  readonly MemoryLimitNotSet: "memory_limit_not_set";
20
20
  readonly RequestSetAtAdmission: "request_set_at_admission";
21
+ readonly AwaitingSizing: "awaiting_sizing";
21
22
  readonly LivenessProbeMissing: "liveness_probe_missing";
22
23
  readonly ReadinessProbeMissing: "readiness_probe_missing";
23
24
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
24
25
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
25
26
  readonly Eviction: "eviction";
27
+ readonly NoReadyReplica: "no_ready_replica";
28
+ readonly PodsPending: "pods_pending";
26
29
  readonly HpaAtMax: "hpa_at_max";
27
30
  readonly PdbTooStrict: "pdb_too_strict";
28
31
  readonly PdbMissing: "pdb_missing";
@@ -36,11 +36,14 @@ var Indicator;
36
36
  MemoryRequestNotSet: "memory_request_not_set",
37
37
  MemoryLimitNotSet: "memory_limit_not_set",
38
38
  RequestSetAtAdmission: "request_set_at_admission",
39
+ AwaitingSizing: "awaiting_sizing",
39
40
  LivenessProbeMissing: "liveness_probe_missing",
40
41
  ReadinessProbeMissing: "readiness_probe_missing",
41
42
  OverProvisionedCpuRequest: "over_provisioned_cpu_request",
42
43
  OverProvisionedMemoryRequest: "over_provisioned_memory_request",
43
44
  Eviction: "eviction",
45
+ NoReadyReplica: "no_ready_replica",
46
+ PodsPending: "pods_pending",
44
47
  HpaAtMax: "hpa_at_max",
45
48
  PdbTooStrict: "pdb_too_strict",
46
49
  PdbMissing: "pdb_missing",
@@ -13,11 +13,14 @@ var Indicator;
13
13
  MemoryRequestNotSet: "memory_request_not_set",
14
14
  MemoryLimitNotSet: "memory_limit_not_set",
15
15
  RequestSetAtAdmission: "request_set_at_admission",
16
+ AwaitingSizing: "awaiting_sizing",
16
17
  LivenessProbeMissing: "liveness_probe_missing",
17
18
  ReadinessProbeMissing: "readiness_probe_missing",
18
19
  OverProvisionedCpuRequest: "over_provisioned_cpu_request",
19
20
  OverProvisionedMemoryRequest: "over_provisioned_memory_request",
20
21
  Eviction: "eviction",
22
+ NoReadyReplica: "no_ready_replica",
23
+ PodsPending: "pods_pending",
21
24
  HpaAtMax: "hpa_at_max",
22
25
  PdbTooStrict: "pdb_too_strict",
23
26
  PdbMissing: "pdb_missing",
@@ -19,11 +19,14 @@ export declare namespace IndicatorCount {
19
19
  readonly MemoryRequestNotSet: "memory_request_not_set";
20
20
  readonly MemoryLimitNotSet: "memory_limit_not_set";
21
21
  readonly RequestSetAtAdmission: "request_set_at_admission";
22
+ readonly AwaitingSizing: "awaiting_sizing";
22
23
  readonly LivenessProbeMissing: "liveness_probe_missing";
23
24
  readonly ReadinessProbeMissing: "readiness_probe_missing";
24
25
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
25
26
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
26
27
  readonly Eviction: "eviction";
28
+ readonly NoReadyReplica: "no_ready_replica";
29
+ readonly PodsPending: "pods_pending";
27
30
  readonly HpaAtMax: "hpa_at_max";
28
31
  readonly PdbTooStrict: "pdb_too_strict";
29
32
  readonly PdbMissing: "pdb_missing";
@@ -19,11 +19,14 @@ export declare namespace IndicatorCount {
19
19
  readonly MemoryRequestNotSet: "memory_request_not_set";
20
20
  readonly MemoryLimitNotSet: "memory_limit_not_set";
21
21
  readonly RequestSetAtAdmission: "request_set_at_admission";
22
+ readonly AwaitingSizing: "awaiting_sizing";
22
23
  readonly LivenessProbeMissing: "liveness_probe_missing";
23
24
  readonly ReadinessProbeMissing: "readiness_probe_missing";
24
25
  readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
25
26
  readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
26
27
  readonly Eviction: "eviction";
28
+ readonly NoReadyReplica: "no_ready_replica";
29
+ readonly PodsPending: "pods_pending";
27
30
  readonly HpaAtMax: "hpa_at_max";
28
31
  readonly PdbTooStrict: "pdb_too_strict";
29
32
  readonly PdbMissing: "pdb_missing";
@@ -36,11 +36,14 @@ var IndicatorCount;
36
36
  MemoryRequestNotSet: "memory_request_not_set",
37
37
  MemoryLimitNotSet: "memory_limit_not_set",
38
38
  RequestSetAtAdmission: "request_set_at_admission",
39
+ AwaitingSizing: "awaiting_sizing",
39
40
  LivenessProbeMissing: "liveness_probe_missing",
40
41
  ReadinessProbeMissing: "readiness_probe_missing",
41
42
  OverProvisionedCpuRequest: "over_provisioned_cpu_request",
42
43
  OverProvisionedMemoryRequest: "over_provisioned_memory_request",
43
44
  Eviction: "eviction",
45
+ NoReadyReplica: "no_ready_replica",
46
+ PodsPending: "pods_pending",
44
47
  HpaAtMax: "hpa_at_max",
45
48
  PdbTooStrict: "pdb_too_strict",
46
49
  PdbMissing: "pdb_missing",
@@ -13,11 +13,14 @@ var IndicatorCount;
13
13
  MemoryRequestNotSet: "memory_request_not_set",
14
14
  MemoryLimitNotSet: "memory_limit_not_set",
15
15
  RequestSetAtAdmission: "request_set_at_admission",
16
+ AwaitingSizing: "awaiting_sizing",
16
17
  LivenessProbeMissing: "liveness_probe_missing",
17
18
  ReadinessProbeMissing: "readiness_probe_missing",
18
19
  OverProvisionedCpuRequest: "over_provisioned_cpu_request",
19
20
  OverProvisionedMemoryRequest: "over_provisioned_memory_request",
20
21
  Eviction: "eviction",
22
+ NoReadyReplica: "no_ready_replica",
23
+ PodsPending: "pods_pending",
21
24
  HpaAtMax: "hpa_at_max",
22
25
  PdbTooStrict: "pdb_too_strict",
23
26
  PdbMissing: "pdb_missing",
@@ -9,4 +9,8 @@ export interface KubernetesDataAvailability {
9
9
  volumes: boolean;
10
10
  /** YYYY-MM-DD, the first day a connected cluster's nodes have a cost, or the one cluster_id names; null until one does */
11
11
  first_day?: (string | null) | undefined;
12
+ /** When the agent first watched a connected cluster, the fleet's earliest or the one cluster_id names; null until an agent reports */
13
+ first_watched_at?: (string | null) | undefined;
14
+ /** Every hour the agent watched since first_watched_at, as the seconds its windows cover over 3600; for several clusters, each hour counts the longest any of them was watched */
15
+ hours_watched_total?: number | undefined;
12
16
  }
@@ -9,4 +9,8 @@ export interface KubernetesDataAvailability {
9
9
  volumes: boolean;
10
10
  /** YYYY-MM-DD, the first day a connected cluster's nodes have a cost, or the one cluster_id names; null until one does */
11
11
  first_day?: (string | null) | undefined;
12
+ /** When the agent first watched a connected cluster, the fleet's earliest or the one cluster_id names; null until an agent reports */
13
+ first_watched_at?: (string | null) | undefined;
14
+ /** Every hour the agent watched since first_watched_at, as the seconds its windows cover over 3600; for several clusters, each hour counts the longest any of them was watched */
15
+ hours_watched_total?: number | undefined;
12
16
  }
@@ -1,3 +1,4 @@
1
+ import type * as LevelFour from "../index.mjs";
1
2
  export interface NamespaceAutomation {
2
3
  namespace: string;
3
4
  /** Automation acts only where recommendations are on */
@@ -24,6 +25,8 @@ export interface NamespaceAutomation {
24
25
  turned_on_at?: (string | null) | undefined;
25
26
  /** It carries levelfour.ai/automation=off, so the component never acts there whatever is set here */
26
27
  blocked_by_label: boolean;
28
+ /** The tools besides LevelFour sizing its workloads, so the component never acts there whatever is set here; empty when none does */
29
+ other_rightsizers: LevelFour.OtherRightsizer[];
27
30
  }
28
31
  export declare namespace NamespaceAutomation {
29
32
  /** Automation acts only where recommendations are on */
@@ -1,3 +1,4 @@
1
+ import type * as LevelFour from "../index.js";
1
2
  export interface NamespaceAutomation {
2
3
  namespace: string;
3
4
  /** Automation acts only where recommendations are on */
@@ -24,6 +25,8 @@ export interface NamespaceAutomation {
24
25
  turned_on_at?: (string | null) | undefined;
25
26
  /** It carries levelfour.ai/automation=off, so the component never acts there whatever is set here */
26
27
  blocked_by_label: boolean;
28
+ /** The tools besides LevelFour sizing its workloads, so the component never acts there whatever is set here; empty when none does */
29
+ other_rightsizers: LevelFour.OtherRightsizer[];
27
30
  }
28
31
  export declare namespace NamespaceAutomation {
29
32
  /** Automation acts only where recommendations are on */
@@ -8,6 +8,8 @@ export interface NamespaceItem {
8
8
  created_at?: (string | null) | undefined;
9
9
  /** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
10
10
  cost?: (number | null) | undefined;
11
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
12
+ cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
11
13
  cost_share?: (number | null) | undefined;
12
14
  /** Against the previous window of equal length, before any idle is shared */
13
15
  cost_change_pct?: (number | null) | undefined;
@@ -57,6 +59,11 @@ export declare namespace NamespaceItem {
57
59
  readonly Node: "node";
58
60
  };
59
61
  type Kind = (typeof Kind)[keyof typeof Kind];
62
+ const CostUnknownReason: {
63
+ readonly ComputeUnpriced: "compute_unpriced";
64
+ readonly NothingPriced: "nothing_priced";
65
+ };
66
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
60
67
  const Recommendations: {
61
68
  readonly Enabled: "enabled";
62
69
  readonly Disabled: "disabled";
@@ -8,6 +8,8 @@ export interface NamespaceItem {
8
8
  created_at?: (string | null) | undefined;
9
9
  /** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
10
10
  cost?: (number | null) | undefined;
11
+ /** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
12
+ cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
11
13
  cost_share?: (number | null) | undefined;
12
14
  /** Against the previous window of equal length, before any idle is shared */
13
15
  cost_change_pct?: (number | null) | undefined;
@@ -57,6 +59,11 @@ export declare namespace NamespaceItem {
57
59
  readonly Node: "node";
58
60
  };
59
61
  type Kind = (typeof Kind)[keyof typeof Kind];
62
+ const CostUnknownReason: {
63
+ readonly ComputeUnpriced: "compute_unpriced";
64
+ readonly NothingPriced: "nothing_priced";
65
+ };
66
+ type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
60
67
  const Recommendations: {
61
68
  readonly Enabled: "enabled";
62
69
  readonly Disabled: "disabled";
@@ -29,6 +29,10 @@ var NamespaceItem;
29
29
  System: "system",
30
30
  Node: "node"
31
31
  };
32
+ NamespaceItem2.CostUnknownReason = {
33
+ ComputeUnpriced: "compute_unpriced",
34
+ NothingPriced: "nothing_priced"
35
+ };
32
36
  NamespaceItem2.Recommendations = {
33
37
  Enabled: "enabled",
34
38
  Disabled: "disabled",
@@ -6,6 +6,10 @@ var NamespaceItem;
6
6
  System: "system",
7
7
  Node: "node"
8
8
  };
9
+ NamespaceItem2.CostUnknownReason = {
10
+ ComputeUnpriced: "compute_unpriced",
11
+ NothingPriced: "nothing_priced"
12
+ };
9
13
  NamespaceItem2.Recommendations = {
10
14
  Enabled: "enabled",
11
15
  Disabled: "disabled",
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
3
3
  restarts?: (number | null) | undefined;
4
4
  /** Container-hours throttled a quarter of the time or more */
5
5
  throttled_hours?: (number | null) | undefined;
6
+ /** Pods the kubelet evicted for node pressure */
6
7
  evictions?: (number | null) | undefined;
8
+ /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
9
+ drained_pods?: (number | null) | undefined;
7
10
  pending_seconds?: (number | null) | undefined;
8
- /** Current workloads whose indicators put them at risk */
11
+ /** Current workloads at high risk: an OOM kill, an eviction or no ready replica. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
9
12
  at_risk?: number | undefined;
10
13
  }
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
3
3
  restarts?: (number | null) | undefined;
4
4
  /** Container-hours throttled a quarter of the time or more */
5
5
  throttled_hours?: (number | null) | undefined;
6
+ /** Pods the kubelet evicted for node pressure */
6
7
  evictions?: (number | null) | undefined;
8
+ /** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
9
+ drained_pods?: (number | null) | undefined;
7
10
  pending_seconds?: (number | null) | undefined;
8
- /** Current workloads whose indicators put them at risk */
11
+ /** Current workloads at high risk: an OOM kill, an eviction or no ready replica. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
9
12
  at_risk?: number | undefined;
10
13
  }
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.mjs";
2
2
  export interface NetworkLens {
3
3
  totals: LevelFour.NetworkTotals;
4
4
  by_category: LevelFour.CategoryTransfer[];
5
+ /** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
6
+ by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
5
7
  days: LevelFour.NetworkDay[];
6
8
  }
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.js";
2
2
  export interface NetworkLens {
3
3
  totals: LevelFour.NetworkTotals;
4
4
  by_category: LevelFour.CategoryTransfer[];
5
+ /** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
6
+ by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
5
7
  days: LevelFour.NetworkDay[];
6
8
  }
@@ -1,7 +1,11 @@
1
1
  export interface NetworkTotals {
2
+ /** Bytes the pods received, hostNetwork pods left out */
2
3
  rx_bytes?: (number | null) | undefined;
4
+ /** Bytes the pods sent, hostNetwork pods left out */
3
5
  tx_bytes?: (number | null) | undefined;
4
6
  cost?: (number | null) | undefined;
5
- /** Cost per GiB the bill charged for */
7
+ /** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
8
+ billed_bytes?: (number | null) | undefined;
9
+ /** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
6
10
  cost_per_gb?: (number | null) | undefined;
7
11
  }
@@ -1,7 +1,11 @@
1
1
  export interface NetworkTotals {
2
+ /** Bytes the pods received, hostNetwork pods left out */
2
3
  rx_bytes?: (number | null) | undefined;
4
+ /** Bytes the pods sent, hostNetwork pods left out */
3
5
  tx_bytes?: (number | null) | undefined;
4
6
  cost?: (number | null) | undefined;
5
- /** Cost per GiB the bill charged for */
7
+ /** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
8
+ billed_bytes?: (number | null) | undefined;
9
+ /** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
6
10
  cost_per_gb?: (number | null) | undefined;
7
11
  }
@@ -0,0 +1,12 @@
1
+ export interface NoReadyShare {
2
+ /** Current workloads with replicas and none ready (the no_ready_replica indicator) */
3
+ workloads: number;
4
+ /** Their restarts in the window: a crash loop restarts every few minutes */
5
+ restarts: number;
6
+ /** How many of them restarted in the window */
7
+ restart_workloads: number;
8
+ /** Their OOM kills in the window */
9
+ oom_kills: number;
10
+ /** How many of them were OOM killed in the window */
11
+ oom_workloads: number;
12
+ }
@@ -0,0 +1,12 @@
1
+ export interface NoReadyShare {
2
+ /** Current workloads with replicas and none ready (the no_ready_replica indicator) */
3
+ workloads: number;
4
+ /** Their restarts in the window: a crash loop restarts every few minutes */
5
+ restarts: number;
6
+ /** How many of them restarted in the window */
7
+ restart_workloads: number;
8
+ /** Their OOM kills in the window */
9
+ oom_kills: number;
10
+ /** How many of them were OOM killed in the window */
11
+ oom_workloads: number;
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var NoReadyShare_exports = {};
16
+ module.exports = __toCommonJS(NoReadyShare_exports);
17
+ //# sourceMappingURL=NoReadyShare.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=NoReadyShare.mjs.map
@@ -23,4 +23,6 @@ export interface NodeDetail {
23
23
  /** Karpenter's Unconsolidatable and DisruptionBlocked events on it in the last 24 hours */
24
24
  karpenter_says: LevelFour.KarpenterMessage[];
25
25
  interruptions: LevelFour.Interruptions;
26
+ /** What the node costs now, as the consolidation blockers price it. Null for a node gone from the cluster, and for one neither its own bill nor a rate prices: never a list price. node.hourly_cost stays what its own bill measured over the window */
27
+ price?: (LevelFour.NodeMonthlyPrice | null) | undefined;
26
28
  }
@@ -23,4 +23,6 @@ export interface NodeDetail {
23
23
  /** Karpenter's Unconsolidatable and DisruptionBlocked events on it in the last 24 hours */
24
24
  karpenter_says: LevelFour.KarpenterMessage[];
25
25
  interruptions: LevelFour.Interruptions;
26
+ /** What the node costs now, as the consolidation blockers price it. Null for a node gone from the cluster, and for one neither its own bill nor a rate prices: never a list price. node.hourly_cost stays what its own bill measured over the window */
27
+ price?: (LevelFour.NodeMonthlyPrice | null) | undefined;
26
28
  }
@@ -4,4 +4,6 @@ export interface NodeFacets {
4
4
  purchase_type: LevelFour.FacetCount[];
5
5
  /** Nodes by their one status: not_ready, else pressure, else cordoned, else ready; a removed node under none */
6
6
  status?: LevelFour.FacetCount[] | undefined;
7
+ /** current for a node still in the cluster, removed for one gone from it that the list still shows */
8
+ state?: LevelFour.FacetCount[] | undefined;
7
9
  }