levelfour 1.17.0 → 1.18.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 (265) hide show
  1. package/dist/api/resources/recommendations/client/Client.js +2 -0
  2. package/dist/api/resources/recommendations/client/Client.mjs +2 -0
  3. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +2 -0
  4. package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +2 -0
  5. package/dist/api/types/CheckedObject.d.mts +1 -1
  6. package/dist/api/types/CheckedObject.d.ts +1 -1
  7. package/dist/api/types/ClusterItem.d.mts +3 -1
  8. package/dist/api/types/ClusterItem.d.ts +3 -1
  9. package/dist/api/types/ClusterSummary.d.mts +3 -1
  10. package/dist/api/types/ClusterSummary.d.ts +3 -1
  11. package/dist/api/types/ConfigObjectView.d.mts +2 -11
  12. package/dist/api/types/ConfigObjectView.d.ts +2 -11
  13. package/dist/api/types/ConfigObjectView.js +0 -9
  14. package/dist/api/types/ConfigObjectView.mjs +0 -9
  15. package/dist/api/types/ConsolidationBlocker.d.mts +26 -0
  16. package/dist/api/types/ConsolidationBlocker.d.ts +26 -0
  17. package/dist/api/types/ConsolidationBlocker.js +19 -0
  18. package/dist/api/types/ConsolidationBlocker.mjs +19 -0
  19. package/dist/api/types/ConsolidationChange.d.mts +16 -0
  20. package/dist/api/types/ConsolidationChange.d.ts +16 -0
  21. package/dist/api/types/ConsolidationChange.js +13 -0
  22. package/dist/api/types/ConsolidationChange.mjs +13 -0
  23. package/dist/api/types/ConsolidationChangeDetail.d.mts +16 -0
  24. package/dist/api/types/ConsolidationChangeDetail.d.ts +16 -0
  25. package/dist/api/types/ConsolidationChangeDetail.js +13 -0
  26. package/dist/api/types/ConsolidationChangeDetail.mjs +13 -0
  27. package/dist/api/types/ConsolidationChangeTotals.d.mts +5 -1
  28. package/dist/api/types/ConsolidationChangeTotals.d.ts +5 -1
  29. package/dist/api/types/ConsolidationLever.d.mts +2 -0
  30. package/dist/api/types/ConsolidationLever.d.ts +2 -0
  31. package/dist/api/types/FleetConsolidationChange.d.mts +16 -0
  32. package/dist/api/types/FleetConsolidationChange.d.ts +16 -0
  33. package/dist/api/types/FleetConsolidationChange.js +13 -0
  34. package/dist/api/types/FleetConsolidationChange.mjs +13 -0
  35. package/dist/api/types/FleetConsolidationLever.d.mts +2 -0
  36. package/dist/api/types/FleetConsolidationLever.d.ts +2 -0
  37. package/dist/api/types/FleetNamespace.d.mts +3 -1
  38. package/dist/api/types/FleetNamespace.d.ts +3 -1
  39. package/dist/api/types/FleetSummary.d.mts +3 -1
  40. package/dist/api/types/FleetSummary.d.ts +3 -1
  41. package/dist/api/types/FleetVolume.d.mts +1 -1
  42. package/dist/api/types/FleetVolume.d.ts +1 -1
  43. package/dist/api/types/ForecastData.d.mts +3 -3
  44. package/dist/api/types/ForecastData.d.ts +3 -3
  45. package/dist/api/types/HeldChange.d.mts +16 -0
  46. package/dist/api/types/HeldChange.d.ts +16 -0
  47. package/dist/api/types/HeldChange.js +13 -0
  48. package/dist/api/types/HeldChange.mjs +13 -0
  49. package/dist/api/types/HeldOutcome.d.mts +9 -0
  50. package/dist/api/types/HeldOutcome.d.ts +9 -0
  51. package/dist/api/types/HeldOutcome.js +17 -0
  52. package/dist/api/types/HeldOutcome.mjs +1 -0
  53. package/dist/api/types/Impact.d.mts +40 -0
  54. package/dist/api/types/Impact.d.ts +40 -0
  55. package/dist/api/types/Impact.js +36 -0
  56. package/dist/api/types/Impact.mjs +12 -0
  57. package/dist/api/types/ImpactBeforeNow.d.mts +5 -0
  58. package/dist/api/types/ImpactBeforeNow.d.ts +5 -0
  59. package/dist/api/types/ImpactBeforeNow.js +17 -0
  60. package/dist/api/types/ImpactBeforeNow.mjs +1 -0
  61. package/dist/api/types/ImpactChange.d.mts +47 -0
  62. package/dist/api/types/ImpactChange.d.ts +47 -0
  63. package/dist/api/types/ImpactChange.js +44 -0
  64. package/dist/api/types/ImpactChange.mjs +20 -0
  65. package/dist/api/types/ImpactChangeList.d.mts +5 -0
  66. package/dist/api/types/ImpactChangeList.d.ts +5 -0
  67. package/dist/api/types/ImpactChangeList.js +17 -0
  68. package/dist/api/types/ImpactChangeList.mjs +1 -0
  69. package/dist/api/types/ImpactChangeListResponse.d.mts +6 -0
  70. package/dist/api/types/ImpactChangeListResponse.d.ts +6 -0
  71. package/dist/api/types/ImpactChangeListResponse.js +17 -0
  72. package/dist/api/types/ImpactChangeListResponse.mjs +1 -0
  73. package/dist/api/types/ImpactChanges.d.mts +8 -0
  74. package/dist/api/types/ImpactChanges.d.ts +8 -0
  75. package/dist/api/types/ImpactChanges.js +17 -0
  76. package/dist/api/types/ImpactChanges.mjs +1 -0
  77. package/dist/api/types/ImpactCluster.d.mts +22 -0
  78. package/dist/api/types/ImpactCluster.d.ts +22 -0
  79. package/dist/api/types/ImpactCluster.js +35 -0
  80. package/dist/api/types/ImpactCluster.mjs +11 -0
  81. package/dist/api/types/ImpactClusterListResponse.d.mts +6 -0
  82. package/dist/api/types/ImpactClusterListResponse.d.ts +6 -0
  83. package/dist/api/types/ImpactClusterListResponse.js +17 -0
  84. package/dist/api/types/ImpactClusterListResponse.mjs +1 -0
  85. package/dist/api/types/ImpactClusters.d.mts +7 -0
  86. package/dist/api/types/ImpactClusters.d.ts +7 -0
  87. package/dist/api/types/ImpactClusters.js +17 -0
  88. package/dist/api/types/ImpactClusters.mjs +1 -0
  89. package/dist/api/types/ImpactCount.d.mts +16 -0
  90. package/dist/api/types/ImpactCount.d.ts +16 -0
  91. package/dist/api/types/ImpactCount.js +17 -0
  92. package/dist/api/types/ImpactCount.mjs +1 -0
  93. package/dist/api/types/ImpactDaySpan.d.mts +4 -0
  94. package/dist/api/types/ImpactDaySpan.d.ts +4 -0
  95. package/dist/api/types/ImpactDaySpan.js +17 -0
  96. package/dist/api/types/ImpactDaySpan.mjs +1 -0
  97. package/dist/api/types/ImpactDaysCompared.d.mts +4 -0
  98. package/dist/api/types/ImpactDaysCompared.d.ts +4 -0
  99. package/dist/api/types/ImpactDaysCompared.js +17 -0
  100. package/dist/api/types/ImpactDaysCompared.mjs +1 -0
  101. package/dist/api/types/ImpactExcluded.d.mts +14 -0
  102. package/dist/api/types/ImpactExcluded.d.ts +14 -0
  103. package/dist/api/types/ImpactExcluded.js +35 -0
  104. package/dist/api/types/ImpactExcluded.mjs +11 -0
  105. package/dist/api/types/ImpactMeasuredThrough.d.mts +6 -0
  106. package/dist/api/types/ImpactMeasuredThrough.d.ts +6 -0
  107. package/dist/api/types/ImpactMeasuredThrough.js +17 -0
  108. package/dist/api/types/ImpactMeasuredThrough.mjs +1 -0
  109. package/dist/api/types/ImpactMeasuring.d.mts +6 -0
  110. package/dist/api/types/ImpactMeasuring.d.ts +6 -0
  111. package/dist/api/types/ImpactMeasuring.js +17 -0
  112. package/dist/api/types/ImpactMeasuring.mjs +1 -0
  113. package/dist/api/types/ImpactNamespace.d.mts +11 -0
  114. package/dist/api/types/ImpactNamespace.d.ts +11 -0
  115. package/dist/api/types/ImpactNamespace.js +17 -0
  116. package/dist/api/types/ImpactNamespace.mjs +1 -0
  117. package/dist/api/types/ImpactNamespaceListResponse.d.mts +6 -0
  118. package/dist/api/types/ImpactNamespaceListResponse.d.ts +6 -0
  119. package/dist/api/types/ImpactNamespaceListResponse.js +17 -0
  120. package/dist/api/types/ImpactNamespaceListResponse.mjs +1 -0
  121. package/dist/api/types/ImpactNamespaces.d.mts +6 -0
  122. package/dist/api/types/ImpactNamespaces.d.ts +6 -0
  123. package/dist/api/types/ImpactNamespaces.js +17 -0
  124. package/dist/api/types/ImpactNamespaces.mjs +1 -0
  125. package/dist/api/types/ImpactPace.d.mts +6 -0
  126. package/dist/api/types/ImpactPace.d.ts +6 -0
  127. package/dist/api/types/ImpactPace.js +17 -0
  128. package/dist/api/types/ImpactPace.mjs +1 -0
  129. package/dist/api/types/ImpactPoint.d.mts +21 -0
  130. package/dist/api/types/ImpactPoint.d.ts +21 -0
  131. package/dist/api/types/ImpactPoint.js +17 -0
  132. package/dist/api/types/ImpactPoint.mjs +1 -0
  133. package/dist/api/types/ImpactRequests.d.mts +7 -0
  134. package/dist/api/types/ImpactRequests.d.ts +7 -0
  135. package/dist/api/types/ImpactRequests.js +17 -0
  136. package/dist/api/types/ImpactRequests.mjs +1 -0
  137. package/dist/api/types/ImpactRequestsMoved.d.mts +10 -0
  138. package/dist/api/types/ImpactRequestsMoved.d.ts +10 -0
  139. package/dist/api/types/ImpactRequestsMoved.js +17 -0
  140. package/dist/api/types/ImpactRequestsMoved.mjs +1 -0
  141. package/dist/api/types/ImpactResponse.d.mts +6 -0
  142. package/dist/api/types/ImpactResponse.d.ts +6 -0
  143. package/dist/api/types/ImpactResponse.js +17 -0
  144. package/dist/api/types/ImpactResponse.mjs +1 -0
  145. package/dist/api/types/ImpactResultWindows.d.mts +5 -0
  146. package/dist/api/types/ImpactResultWindows.d.ts +5 -0
  147. package/dist/api/types/ImpactResultWindows.js +17 -0
  148. package/dist/api/types/ImpactResultWindows.mjs +1 -0
  149. package/dist/api/types/ImpactRowTotals.d.mts +6 -0
  150. package/dist/api/types/ImpactRowTotals.d.ts +6 -0
  151. package/dist/api/types/ImpactRowTotals.js +17 -0
  152. package/dist/api/types/ImpactRowTotals.mjs +1 -0
  153. package/dist/api/types/ImpactSaved.d.mts +4 -0
  154. package/dist/api/types/ImpactSaved.d.ts +4 -0
  155. package/dist/api/types/ImpactSaved.js +17 -0
  156. package/dist/api/types/ImpactSaved.mjs +1 -0
  157. package/dist/api/types/ImpactScope.d.mts +9 -0
  158. package/dist/api/types/ImpactScope.d.ts +9 -0
  159. package/dist/api/types/ImpactScope.js +17 -0
  160. package/dist/api/types/ImpactScope.mjs +1 -0
  161. package/dist/api/types/ImpactSeries.d.mts +5 -0
  162. package/dist/api/types/ImpactSeries.d.ts +5 -0
  163. package/dist/api/types/ImpactSeries.js +17 -0
  164. package/dist/api/types/ImpactSeries.mjs +1 -0
  165. package/dist/api/types/ImpactSeriesResponse.d.mts +6 -0
  166. package/dist/api/types/ImpactSeriesResponse.d.ts +6 -0
  167. package/dist/api/types/ImpactSeriesResponse.js +17 -0
  168. package/dist/api/types/ImpactSeriesResponse.mjs +1 -0
  169. package/dist/api/types/ImpactWasNowCount.d.mts +4 -0
  170. package/dist/api/types/ImpactWasNowCount.d.ts +4 -0
  171. package/dist/api/types/ImpactWasNowCount.js +17 -0
  172. package/dist/api/types/ImpactWasNowCount.mjs +1 -0
  173. package/dist/api/types/ImpactWasNowUsd.d.mts +4 -0
  174. package/dist/api/types/ImpactWasNowUsd.d.ts +4 -0
  175. package/dist/api/types/ImpactWasNowUsd.js +17 -0
  176. package/dist/api/types/ImpactWasNowUsd.mjs +1 -0
  177. package/dist/api/types/ImpactWasWindow.d.mts +8 -0
  178. package/dist/api/types/ImpactWasWindow.d.ts +8 -0
  179. package/dist/api/types/ImpactWasWindow.js +17 -0
  180. package/dist/api/types/ImpactWasWindow.mjs +1 -0
  181. package/dist/api/types/ImpactWaste.d.mts +20 -0
  182. package/dist/api/types/ImpactWaste.d.ts +20 -0
  183. package/dist/api/types/ImpactWaste.js +17 -0
  184. package/dist/api/types/ImpactWaste.mjs +1 -0
  185. package/dist/api/types/ImpactWorkload.d.mts +27 -0
  186. package/dist/api/types/ImpactWorkload.d.ts +27 -0
  187. package/dist/api/types/ImpactWorkload.js +40 -0
  188. package/dist/api/types/ImpactWorkload.mjs +16 -0
  189. package/dist/api/types/ImpactWorkloadDetail.d.mts +34 -0
  190. package/dist/api/types/ImpactWorkloadDetail.d.ts +34 -0
  191. package/dist/api/types/ImpactWorkloadDetail.js +40 -0
  192. package/dist/api/types/ImpactWorkloadDetail.mjs +16 -0
  193. package/dist/api/types/ImpactWorkloadListResponse.d.mts +6 -0
  194. package/dist/api/types/ImpactWorkloadListResponse.d.ts +6 -0
  195. package/dist/api/types/ImpactWorkloadListResponse.js +17 -0
  196. package/dist/api/types/ImpactWorkloadListResponse.mjs +1 -0
  197. package/dist/api/types/ImpactWorkloadResponse.d.mts +6 -0
  198. package/dist/api/types/ImpactWorkloadResponse.d.ts +6 -0
  199. package/dist/api/types/ImpactWorkloadResponse.js +17 -0
  200. package/dist/api/types/ImpactWorkloadResponse.mjs +1 -0
  201. package/dist/api/types/ImpactWorkloads.d.mts +6 -0
  202. package/dist/api/types/ImpactWorkloads.d.ts +6 -0
  203. package/dist/api/types/ImpactWorkloads.js +17 -0
  204. package/dist/api/types/ImpactWorkloads.mjs +1 -0
  205. package/dist/api/types/NamespaceAutomation.d.mts +8 -0
  206. package/dist/api/types/NamespaceAutomation.d.ts +8 -0
  207. package/dist/api/types/NamespaceAutomation.js +5 -0
  208. package/dist/api/types/NamespaceAutomation.mjs +5 -0
  209. package/dist/api/types/NamespaceItem.d.mts +3 -1
  210. package/dist/api/types/NamespaceItem.d.ts +3 -1
  211. package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
  212. package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
  213. package/dist/api/types/RecommendationDetail.d.mts +2 -0
  214. package/dist/api/types/RecommendationDetail.d.ts +2 -0
  215. package/dist/api/types/ReliabilityLens.d.mts +2 -0
  216. package/dist/api/types/ReliabilityLens.d.ts +2 -0
  217. package/dist/api/types/ReliabilityThresholds.d.mts +23 -0
  218. package/dist/api/types/ReliabilityThresholds.d.ts +23 -0
  219. package/dist/api/types/ReliabilityThresholds.js +17 -0
  220. package/dist/api/types/ReliabilityThresholds.mjs +1 -0
  221. package/dist/api/types/RightsizedContainer.d.mts +2 -0
  222. package/dist/api/types/RightsizedContainer.d.ts +2 -0
  223. package/dist/api/types/SavingsBasis.d.mts +8 -0
  224. package/dist/api/types/SavingsBasis.d.ts +8 -0
  225. package/dist/api/types/SavingsBasis.js +17 -0
  226. package/dist/api/types/SavingsBasis.mjs +1 -0
  227. package/dist/api/types/SavingsCollecting.d.mts +6 -0
  228. package/dist/api/types/SavingsCollecting.d.ts +6 -0
  229. package/dist/api/types/SavingsCollecting.js +17 -0
  230. package/dist/api/types/SavingsCollecting.mjs +1 -0
  231. package/dist/api/types/SavingsItem.d.mts +8 -3
  232. package/dist/api/types/SavingsItem.d.ts +8 -3
  233. package/dist/api/types/SavingsMissing.d.mts +6 -2
  234. package/dist/api/types/SavingsMissing.d.ts +6 -2
  235. package/dist/api/types/SavingsNode.d.mts +13 -0
  236. package/dist/api/types/SavingsNode.d.ts +13 -0
  237. package/dist/api/types/SavingsNow.d.mts +11 -0
  238. package/dist/api/types/SavingsNow.d.ts +11 -0
  239. package/dist/api/types/SavingsNow.js +5 -0
  240. package/dist/api/types/SavingsNow.mjs +5 -0
  241. package/dist/api/types/SavingsSection.d.mts +4 -0
  242. package/dist/api/types/SavingsSection.d.ts +4 -0
  243. package/dist/api/types/SetWorkloadAutomationRequest.d.mts +2 -2
  244. package/dist/api/types/SetWorkloadAutomationRequest.d.ts +2 -2
  245. package/dist/api/types/UnpricedFindings.d.mts +1 -1
  246. package/dist/api/types/UnpricedFindings.d.ts +1 -1
  247. package/dist/api/types/VolumeItem.d.mts +1 -1
  248. package/dist/api/types/VolumeItem.d.ts +1 -1
  249. package/dist/api/types/WorkloadItem.d.mts +3 -1
  250. package/dist/api/types/WorkloadItem.d.ts +3 -1
  251. package/dist/api/types/WorkloadItem.js +2 -0
  252. package/dist/api/types/WorkloadItem.mjs +2 -0
  253. package/dist/api/types/WorkloadListItem.d.mts +3 -1
  254. package/dist/api/types/WorkloadListItem.d.ts +3 -1
  255. package/dist/api/types/WorkloadListItem.js +2 -0
  256. package/dist/api/types/WorkloadListItem.mjs +2 -0
  257. package/dist/api/types/index.d.mts +42 -0
  258. package/dist/api/types/index.d.ts +42 -0
  259. package/dist/api/types/index.js +84 -0
  260. package/dist/api/types/index.mjs +42 -0
  261. package/dist/version.d.mts +1 -1
  262. package/dist/version.d.ts +1 -1
  263. package/dist/version.js +1 -1
  264. package/dist/version.mjs +1 -1
  265. package/package.json +1 -1
@@ -21,6 +21,8 @@ export interface ProviderBreakdownItem {
21
21
  cluster_name?: (string | null) | undefined;
22
22
  /** Monthly savings amount */
23
23
  monthly_savings: number;
24
+ /** What the saving saves a month net of discounts: the worker's net for a Kubernetes saving, as GET /k8s/savings reads it, else monthly_savings. The one figure the row, the drawer and the Kubernetes tab show (dashboard#1696) */
25
+ monthly_savings_net?: (number | null) | undefined;
24
26
  /** Savings as percentage of current spending */
25
27
  savings_percentage: number;
26
28
  /** What this batch parent's children save. Null on any other row */
@@ -10,6 +10,8 @@ export interface RecommendationDetail {
10
10
  tag?: (string | null) | undefined;
11
11
  analysis_period?: (string | null) | undefined;
12
12
  monthly_savings: number;
13
+ /** What the saving saves a month net of discounts: the worker's net for a Kubernetes saving, as GET /k8s/savings reads it, else monthly_savings. The one figure the row, the drawer and the Kubernetes tab show (dashboard#1696) */
14
+ monthly_savings_net?: (number | null) | undefined;
13
15
  annual_savings: number;
14
16
  current_spending: number;
15
17
  savings_percentage: number;
@@ -10,6 +10,8 @@ export interface RecommendationDetail {
10
10
  tag?: (string | null) | undefined;
11
11
  analysis_period?: (string | null) | undefined;
12
12
  monthly_savings: number;
13
+ /** What the saving saves a month net of discounts: the worker's net for a Kubernetes saving, as GET /k8s/savings reads it, else monthly_savings. The one figure the row, the drawer and the Kubernetes tab show (dashboard#1696) */
14
+ monthly_savings_net?: (number | null) | undefined;
13
15
  annual_savings: number;
14
16
  current_spending: number;
15
17
  savings_percentage: number;
@@ -1,5 +1,7 @@
1
1
  import type * as LevelFour from "../index.mjs";
2
2
  export interface ReliabilityLens {
3
+ /** What each rule checks, for its sentence; always sent by this API */
4
+ thresholds?: (LevelFour.ReliabilityThresholds | null) | undefined;
3
5
  /** Of the workloads the lists show with ephemeral=exclude, or of all of them with include_ephemeral */
4
6
  totals: LevelFour.ReliabilityTotals;
5
7
  indicators: LevelFour.IndicatorCount[];
@@ -1,5 +1,7 @@
1
1
  import type * as LevelFour from "../index.js";
2
2
  export interface ReliabilityLens {
3
+ /** What each rule checks, for its sentence; always sent by this API */
4
+ thresholds?: (LevelFour.ReliabilityThresholds | null) | undefined;
3
5
  /** Of the workloads the lists show with ephemeral=exclude, or of all of them with include_ephemeral */
4
6
  totals: LevelFour.ReliabilityTotals;
5
7
  indicators: LevelFour.IndicatorCount[];
@@ -0,0 +1,23 @@
1
+ /**
2
+ * What the reliability rules check (workload_sql.rule_thresholds), for the dashboard's rule sentences to state
3
+ * rather than restate (dashboard#1688). A share is 0 to 1; over_request_ratio is the p99 over the request.
4
+ */
5
+ export interface ReliabilityThresholds {
6
+ limit_at_risk: number;
7
+ near_limit_hours: number;
8
+ near_limit_hour_share: number;
9
+ throttled_hour: number;
10
+ restarts_per_pod: number;
11
+ restart_hours: number;
12
+ crash_loop_per_pod_hour: number;
13
+ recent_days: number;
14
+ pending_at_risk_minutes: number;
15
+ under_request_share: number;
16
+ over_request_ratio: number;
17
+ over_request_mib: number;
18
+ over_request_watched_hours: number;
19
+ over_request_hour_share: number;
20
+ no_ready_age_hours: number;
21
+ no_ready_batches: number;
22
+ at_max_share: number;
23
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * What the reliability rules check (workload_sql.rule_thresholds), for the dashboard's rule sentences to state
3
+ * rather than restate (dashboard#1688). A share is 0 to 1; over_request_ratio is the p99 over the request.
4
+ */
5
+ export interface ReliabilityThresholds {
6
+ limit_at_risk: number;
7
+ near_limit_hours: number;
8
+ near_limit_hour_share: number;
9
+ throttled_hour: number;
10
+ restarts_per_pod: number;
11
+ restart_hours: number;
12
+ crash_loop_per_pod_hour: number;
13
+ recent_days: number;
14
+ pending_at_risk_minutes: number;
15
+ under_request_share: number;
16
+ over_request_ratio: number;
17
+ over_request_mib: number;
18
+ over_request_watched_hours: number;
19
+ over_request_hour_share: number;
20
+ no_ready_age_hours: number;
21
+ no_ready_batches: number;
22
+ at_max_share: number;
23
+ }
@@ -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 ReliabilityThresholds_exports = {};
16
+ module.exports = __toCommonJS(ReliabilityThresholds_exports);
17
+ //# sourceMappingURL=ReliabilityThresholds.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=ReliabilityThresholds.mjs.map
@@ -14,6 +14,8 @@ export interface RightsizedContainer {
14
14
  sized_by?: RightsizedContainer.SizedBy.Item[] | undefined;
15
15
  /** Why the loop leaves it alone: workload_off when a person took the workload out, label_off when it carries levelfour.ai/automation=off, job for a Job or CronJob */
16
16
  excluded_reason?: (RightsizedContainer.ExcludedReason | null) | undefined;
17
+ /** The configuration object that turns this container off, as {kind, namespace, name}: its automationMode is Disabled, or its label selectors leave the workload out. LevelFour reads the labels of the pod template, the component those of the pod. Read from the component's last report. Null when none does, for a Job or CronJob, and for a workload missing from the latest batch. An object LevelFour can't read is left out, though the component still follows it */
18
+ disabled_by?: (Record<string, string | null> | null) | undefined;
17
19
  /** What the owner's template sets */
18
20
  manifest: LevelFour.ContainerResources;
19
21
  /** What the pods held for most of the last batch */
@@ -14,6 +14,8 @@ export interface RightsizedContainer {
14
14
  sized_by?: RightsizedContainer.SizedBy.Item[] | undefined;
15
15
  /** Why the loop leaves it alone: workload_off when a person took the workload out, label_off when it carries levelfour.ai/automation=off, job for a Job or CronJob */
16
16
  excluded_reason?: (RightsizedContainer.ExcludedReason | null) | undefined;
17
+ /** The configuration object that turns this container off, as {kind, namespace, name}: its automationMode is Disabled, or its label selectors leave the workload out. LevelFour reads the labels of the pod template, the component those of the pod. Read from the component's last report. Null when none does, for a Job or CronJob, and for a workload missing from the latest batch. An object LevelFour can't read is left out, though the component still follows it */
18
+ disabled_by?: (Record<string, string | null> | null) | undefined;
17
19
  /** What the owner's template sets */
18
20
  manifest: LevelFour.ContainerResources;
19
21
  /** What the pods held for most of the last batch */
@@ -0,0 +1,8 @@
1
+ export interface SavingsBasis {
2
+ /** hourly_checks: a NodePool or node group counts only when a node of it would have gone in every hourly batch of the window that read the cluster, at least 300 of its 336 hours */
3
+ kind: "hourly_checks";
4
+ /** The window, 14 days */
5
+ days: number;
6
+ /** The end of the latest hour checked; null before any */
7
+ updated_at?: (string | null) | undefined;
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface SavingsBasis {
2
+ /** hourly_checks: a NodePool or node group counts only when a node of it would have gone in every hourly batch of the window that read the cluster, at least 300 of its 336 hours */
3
+ kind: "hourly_checks";
4
+ /** The window, 14 days */
5
+ days: number;
6
+ /** The end of the latest hour checked; null before any */
7
+ updated_at?: (string | null) | undefined;
8
+ }
@@ -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 SavingsBasis_exports = {};
16
+ module.exports = __toCommonJS(SavingsBasis_exports);
17
+ //# sourceMappingURL=SavingsBasis.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=SavingsBasis.mjs.map
@@ -0,0 +1,6 @@
1
+ export interface SavingsCollecting {
2
+ /** The whole days of hourly checks the cluster has, the fewest across the fleet */
3
+ days: number;
4
+ /** The days the rule needs, 14 */
5
+ of: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface SavingsCollecting {
2
+ /** The whole days of hourly checks the cluster has, the fewest across the fleet */
3
+ days: number;
4
+ /** The days the rule needs, 14 */
5
+ of: number;
6
+ }
@@ -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 SavingsCollecting_exports = {};
16
+ module.exports = __toCommonJS(SavingsCollecting_exports);
17
+ //# sourceMappingURL=SavingsCollecting.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=SavingsCollecting.mjs.map
@@ -30,17 +30,22 @@ export interface SavingsItem {
30
30
  ready_replicas?: (number | null) | undefined;
31
31
  /** scale_to_zero: since when none has been ready */
32
32
  zero_ready_since?: (string | null) | undefined;
33
+ /** scale_to_zero, read live: whether it is a pull-request or branch environment, which the Reliability list leaves out unless asked to include them; null on a published recommendation */
34
+ ephemeral?: (boolean | null) | undefined;
33
35
  pdbs?: LevelFour.BlockingPdb[] | undefined;
34
36
  scaler?: (LevelFour.WorkloadScaler | null) | undefined;
35
- /** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
37
+ /** scale_to_zero: the NodePools and node groups only it held, whose nodes would have gone in every hour of the last 14 days that read the cluster; its monthly carries their figure in place of its pods on their nodes now */
36
38
  frees?: LevelFour.SavingsNode[] | undefined;
37
39
  /** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
38
40
  command?: (string | null) | undefined;
39
41
  /** scale_to_zero: the same change as a manifest fragment */
40
42
  yaml?: (string | null) | undefined;
41
- /** nodes: the node, for one only stopped workloads hold */
43
+ /** nodes: the NodePool or node group two or more stopped workloads held, whose nodes would have gone in every hour of the last 14 days that read the cluster */
42
44
  node?: (string | null) | undefined;
43
45
  node_pool?: (string | null) | undefined;
46
+ node_group?: (string | null) | undefined;
47
+ /** nodes: its nodes that would go now, by name */
48
+ nodes?: string[] | undefined;
44
49
  instance_type?: (string | null) | undefined;
45
50
  capacity_type?: (string | null) | undefined;
46
51
  zone?: (string | null) | undefined;
@@ -56,6 +61,6 @@ export interface SavingsItem {
56
61
  reclaim_policy?: (string | null) | undefined;
57
62
  /** volumes: when the claim was made */
58
63
  created_at?: (string | null) | undefined;
59
- /** Why monthly is null, when it is */
64
+ /** Why monthly is null, on a volume: awaiting_bill while its cluster's first bill has not arrived, not_on_bill once the bill arrives and names no line for it (dashboard#1688); null when it is priced */
60
65
  unpriced_reason?: (string | null) | undefined;
61
66
  }
@@ -30,17 +30,22 @@ export interface SavingsItem {
30
30
  ready_replicas?: (number | null) | undefined;
31
31
  /** scale_to_zero: since when none has been ready */
32
32
  zero_ready_since?: (string | null) | undefined;
33
+ /** scale_to_zero, read live: whether it is a pull-request or branch environment, which the Reliability list leaves out unless asked to include them; null on a published recommendation */
34
+ ephemeral?: (boolean | null) | undefined;
33
35
  pdbs?: LevelFour.BlockingPdb[] | undefined;
34
36
  scaler?: (LevelFour.WorkloadScaler | null) | undefined;
35
- /** scale_to_zero: the nodes only it holds that would go now, whose cost its monthly carries in place of its pods on them */
37
+ /** scale_to_zero: the NodePools and node groups only it held, whose nodes would have gone in every hour of the last 14 days that read the cluster; its monthly carries their figure in place of its pods on their nodes now */
36
38
  frees?: LevelFour.SavingsNode[] | undefined;
37
39
  /** scale_to_zero: the kubectl line, null for a name Kubernetes refuses */
38
40
  command?: (string | null) | undefined;
39
41
  /** scale_to_zero: the same change as a manifest fragment */
40
42
  yaml?: (string | null) | undefined;
41
- /** nodes: the node, for one only stopped workloads hold */
43
+ /** nodes: the NodePool or node group two or more stopped workloads held, whose nodes would have gone in every hour of the last 14 days that read the cluster */
42
44
  node?: (string | null) | undefined;
43
45
  node_pool?: (string | null) | undefined;
46
+ node_group?: (string | null) | undefined;
47
+ /** nodes: its nodes that would go now, by name */
48
+ nodes?: string[] | undefined;
44
49
  instance_type?: (string | null) | undefined;
45
50
  capacity_type?: (string | null) | undefined;
46
51
  zone?: (string | null) | undefined;
@@ -56,6 +61,6 @@ export interface SavingsItem {
56
61
  reclaim_policy?: (string | null) | undefined;
57
62
  /** volumes: when the claim was made */
58
63
  created_at?: (string | null) | undefined;
59
- /** Why monthly is null, when it is */
64
+ /** Why monthly is null, on a volume: awaiting_bill while its cluster's first bill has not arrived, not_on_bill once the bill arrives and names no line for it (dashboard#1688); null when it is priced */
60
65
  unpriced_reason?: (string | null) | undefined;
61
66
  }
@@ -10,12 +10,16 @@ export interface SavingsMissing {
10
10
  agent_version?: (string | null) | undefined;
11
11
  /** The agent version to upgrade to, when that cluster is behind */
12
12
  agent_needs?: (string | null) | undefined;
13
- /** The clusters whose agent is older than agent_needs would be */
13
+ /** The clusters whose agent reports a version older than agent_needs would be; none without one */
14
14
  clusters_behind?: number | undefined;
15
+ /** The clusters no agent reports a version for: never counted as behind, and not counted here (dashboard#1688) */
16
+ clusters_without_agent?: number | undefined;
17
+ /** The lists the agent stopped sending, each since its last read: their stopped workloads and namespaces are not counted, and read as not reported rather than gone (dashboard#1688). The earliest across the fleet */
18
+ lists_not_reported_since?: Record<string, string> | undefined;
15
19
  /** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
16
20
  volumes_off_bill?: number | undefined;
17
21
  /** The latest day the bill named one of those disks; null when it never named any */
18
22
  volumes_off_bill_since?: (string | null) | undefined;
19
- /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone holds a node that would go. Their pods still hold their nodes, so a node only stopped workloads hold, these among them, stays in nodes */
23
+ /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone held a NodePool or node group that counts. Their pods still hold their nodes, so a group only stopped workloads hold, these among them, can still count in nodes */
20
24
  stopped_unpriced?: number | undefined;
21
25
  }
@@ -10,12 +10,16 @@ export interface SavingsMissing {
10
10
  agent_version?: (string | null) | undefined;
11
11
  /** The agent version to upgrade to, when that cluster is behind */
12
12
  agent_needs?: (string | null) | undefined;
13
- /** The clusters whose agent is older than agent_needs would be */
13
+ /** The clusters whose agent reports a version older than agent_needs would be; none without one */
14
14
  clusters_behind?: number | undefined;
15
+ /** The clusters no agent reports a version for: never counted as behind, and not counted here (dashboard#1688) */
16
+ clusters_without_agent?: number | undefined;
17
+ /** The lists the agent stopped sending, each since its last read: their stopped workloads and namespaces are not counted, and read as not reported rather than gone (dashboard#1688). The earliest across the fleet */
18
+ lists_not_reported_since?: Record<string, string> | undefined;
15
19
  /** Orphaned claims whose disk the bill has not named for 3 days: it no longer exists, or lives where no bill reaches, so the claim is no orphan to delete and is left out of volumes */
16
20
  volumes_off_bill?: number | undefined;
17
21
  /** The latest day the bill named one of those disks; null when it never named any */
18
22
  volumes_off_bill_since?: (string | null) | undefined;
19
- /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone holds a node that would go. Their pods still hold their nodes, so a node only stopped workloads hold, these among them, stays in nodes */
23
+ /** Stopped workloads left out of scale_to_zero because stopping one saves nothing: the bill priced none of their pods in the last 7 days and none alone held a NodePool or node group that counts. Their pods still hold their nodes, so a group only stopped workloads hold, these among them, can still count in nodes */
20
24
  stopped_unpriced?: number | undefined;
21
25
  }
@@ -1,10 +1,23 @@
1
+ /**
2
+ * A NodePool or node group whose nodes would have gone in every hour of the last 14 days that read the cluster, at
3
+ * least 300 of the 336 (levelfour-api#2226).
4
+ */
1
5
  export interface SavingsNode {
6
+ /** The NodePool's or node group's name */
2
7
  node: string;
8
+ /** The NodePool, empty for a node group */
3
9
  node_pool?: string | undefined;
10
+ /** The node group, null for a NodePool */
11
+ node_group?: (string | null) | undefined;
12
+ /** The instance type its nodes share now, null when they differ */
4
13
  instance_type?: (string | null) | undefined;
14
+ /** The capacity type its nodes share now, null when they differ */
5
15
  capacity_type?: (string | null) | undefined;
6
16
  zone?: (string | null) | undefined;
17
+ /** What it is worth a month: the lowest cost of its nodes that would go, on the bill, of the last 14 days' hours that read the cluster, made 30 days */
7
18
  node_monthly_cost?: (number | null) | undefined;
8
19
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
9
20
  node_monthly_cost_net?: (number | null) | undefined;
21
+ /** Its nodes that would go now, by name */
22
+ nodes?: string[] | undefined;
10
23
  }
@@ -1,10 +1,23 @@
1
+ /**
2
+ * A NodePool or node group whose nodes would have gone in every hour of the last 14 days that read the cluster, at
3
+ * least 300 of the 336 (levelfour-api#2226).
4
+ */
1
5
  export interface SavingsNode {
6
+ /** The NodePool's or node group's name */
2
7
  node: string;
8
+ /** The NodePool, empty for a node group */
3
9
  node_pool?: string | undefined;
10
+ /** The node group, null for a NodePool */
11
+ node_group?: (string | null) | undefined;
12
+ /** The instance type its nodes share now, null when they differ */
4
13
  instance_type?: (string | null) | undefined;
14
+ /** The capacity type its nodes share now, null when they differ */
5
15
  capacity_type?: (string | null) | undefined;
6
16
  zone?: (string | null) | undefined;
17
+ /** What it is worth a month: the lowest cost of its nodes that would go, on the bill, of the last 14 days' hours that read the cluster, made 30 days */
7
18
  node_monthly_cost?: (number | null) | undefined;
8
19
  /** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
9
20
  node_monthly_cost_net?: (number | null) | undefined;
21
+ /** Its nodes that would go now, by name */
22
+ nodes?: string[] | undefined;
10
23
  }
@@ -13,6 +13,10 @@ export interface SavingsNow {
13
13
  missing: LevelFour.SavingsMissing;
14
14
  /** rightsizing, scale_to_zero, nodes and volumes, in that order */
15
15
  sections: LevelFour.SavingsSection[];
16
+ /** As the cluster's own read rules it (bill_status.bill_status), and fleet_bill_status for the fleet: whether the bill priced the window, or is on its way, or none comes (dashboard#1688) */
17
+ bill_status?: SavingsNow.BillStatus | undefined;
18
+ /** While awaiting_bill, the day the bill should price it */
19
+ bill_expected_by?: (string | null) | undefined;
16
20
  }
17
21
  export declare namespace SavingsNow {
18
22
  type CostBaseCovers = CostBaseCovers.Item[];
@@ -23,4 +27,11 @@ export declare namespace SavingsNow {
23
27
  };
24
28
  type Item = (typeof Item)[keyof typeof Item];
25
29
  }
30
+ /** As the cluster's own read rules it (bill_status.bill_status), and fleet_bill_status for the fleet: whether the bill priced the window, or is on its way, or none comes (dashboard#1688) */
31
+ const BillStatus: {
32
+ readonly Priced: "priced";
33
+ readonly AwaitingBill: "awaiting_bill";
34
+ readonly NoAccount: "no_account";
35
+ };
36
+ type BillStatus = (typeof BillStatus)[keyof typeof BillStatus];
26
37
  }
@@ -13,6 +13,10 @@ export interface SavingsNow {
13
13
  missing: LevelFour.SavingsMissing;
14
14
  /** rightsizing, scale_to_zero, nodes and volumes, in that order */
15
15
  sections: LevelFour.SavingsSection[];
16
+ /** As the cluster's own read rules it (bill_status.bill_status), and fleet_bill_status for the fleet: whether the bill priced the window, or is on its way, or none comes (dashboard#1688) */
17
+ bill_status?: SavingsNow.BillStatus | undefined;
18
+ /** While awaiting_bill, the day the bill should price it */
19
+ bill_expected_by?: (string | null) | undefined;
16
20
  }
17
21
  export declare namespace SavingsNow {
18
22
  type CostBaseCovers = CostBaseCovers.Item[];
@@ -23,4 +27,11 @@ export declare namespace SavingsNow {
23
27
  };
24
28
  type Item = (typeof Item)[keyof typeof Item];
25
29
  }
30
+ /** As the cluster's own read rules it (bill_status.bill_status), and fleet_bill_status for the fleet: whether the bill priced the window, or is on its way, or none comes (dashboard#1688) */
31
+ const BillStatus: {
32
+ readonly Priced: "priced";
33
+ readonly AwaitingBill: "awaiting_bill";
34
+ readonly NoAccount: "no_account";
35
+ };
36
+ type BillStatus = (typeof BillStatus)[keyof typeof BillStatus];
26
37
  }
@@ -30,6 +30,11 @@ var SavingsNow;
30
30
  Volumes: "volumes"
31
31
  };
32
32
  })(CostBaseCovers = SavingsNow2.CostBaseCovers || (SavingsNow2.CostBaseCovers = {}));
33
+ SavingsNow2.BillStatus = {
34
+ Priced: "priced",
35
+ AwaitingBill: "awaiting_bill",
36
+ NoAccount: "no_account"
37
+ };
33
38
  })(SavingsNow || (SavingsNow = {}));
34
39
  // Annotate the CommonJS export names for ESM import in node:
35
40
  0 && (module.exports = {
@@ -7,6 +7,11 @@ var SavingsNow;
7
7
  Volumes: "volumes"
8
8
  };
9
9
  })(CostBaseCovers = SavingsNow2.CostBaseCovers || (SavingsNow2.CostBaseCovers = {}));
10
+ SavingsNow2.BillStatus = {
11
+ Priced: "priced",
12
+ AwaitingBill: "awaiting_bill",
13
+ NoAccount: "no_account"
14
+ };
10
15
  })(SavingsNow || (SavingsNow = {}));
11
16
  export {
12
17
  SavingsNow
@@ -4,6 +4,10 @@ export interface SavingsSection {
4
4
  totals: LevelFour.SavingsTotals;
5
5
  /** Its items, the ones that save the most first, up to limit */
6
6
  items: LevelFour.SavingsItem[];
7
+ /** nodes: what its NodePools and node groups rest on */
8
+ basis?: (LevelFour.SavingsBasis | null) | undefined;
9
+ /** nodes: set while a cluster has fewer than 14 days of hourly checks; no NodePool or node group counts then, and the totals leave them out */
10
+ collecting?: (LevelFour.SavingsCollecting | null) | undefined;
7
11
  }
8
12
  export declare namespace SavingsSection {
9
13
  const Kind: {
@@ -4,6 +4,10 @@ export interface SavingsSection {
4
4
  totals: LevelFour.SavingsTotals;
5
5
  /** Its items, the ones that save the most first, up to limit */
6
6
  items: LevelFour.SavingsItem[];
7
+ /** nodes: what its NodePools and node groups rest on */
8
+ basis?: (LevelFour.SavingsBasis | null) | undefined;
9
+ /** nodes: set while a cluster has fewer than 14 days of hourly checks; no NodePool or node group counts then, and the totals leave them out */
10
+ collecting?: (LevelFour.SavingsCollecting | null) | undefined;
7
11
  }
8
12
  export declare namespace SavingsSection {
9
13
  const Kind: {
@@ -1,9 +1,9 @@
1
1
  export interface SetWorkloadAutomationRequest {
2
- /** off takes the workload out of its namespace's rightsizing */
2
+ /** off takes the workload out of its namespace's automation */
3
3
  mode: SetWorkloadAutomationRequest.Mode;
4
4
  }
5
5
  export declare namespace SetWorkloadAutomationRequest {
6
- /** off takes the workload out of its namespace's rightsizing */
6
+ /** off takes the workload out of its namespace's automation */
7
7
  const Mode: {
8
8
  readonly Inherit: "inherit";
9
9
  readonly Off: "off";
@@ -1,9 +1,9 @@
1
1
  export interface SetWorkloadAutomationRequest {
2
- /** off takes the workload out of its namespace's rightsizing */
2
+ /** off takes the workload out of its namespace's automation */
3
3
  mode: SetWorkloadAutomationRequest.Mode;
4
4
  }
5
5
  export declare namespace SetWorkloadAutomationRequest {
6
- /** off takes the workload out of its namespace's rightsizing */
6
+ /** off takes the workload out of its namespace's automation */
7
7
  const Mode: {
8
8
  readonly Inherit: "inherit";
9
9
  readonly Off: "off";
@@ -8,5 +8,5 @@ export interface UnpricedFindings {
8
8
  /** How many of each kind; they add up to count */
9
9
  count_by_kind: LevelFour.OtherSavingsByKind;
10
10
  /** not_on_bill: the bill names no line for the claim's volume while it prices the cluster's other claims, so the disk may be deleted under a claim still Bound, or billed to an account LevelFour does not read */
11
- reason: "not_on_bill";
11
+ reason: string;
12
12
  }
@@ -8,5 +8,5 @@ export interface UnpricedFindings {
8
8
  /** How many of each kind; they add up to count */
9
9
  count_by_kind: LevelFour.OtherSavingsByKind;
10
10
  /** not_on_bill: the bill names no line for the claim's volume while it prices the cluster's other claims, so the disk may be deleted under a claim still Bound, or billed to an account LevelFour does not read */
11
- reason: "not_on_bill";
11
+ reason: string;
12
12
  }
@@ -33,7 +33,7 @@ export interface VolumeItem {
33
33
  /** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
34
34
  cost_unknown_reason?: (VolumeItem.CostUnknownReason | null) | undefined;
35
35
  /** Why the worker could not price the claim it found, from its open candidate: not_on_bill when the bill names no line for the volume while it prices the cluster's other claims; null otherwise (api#2074) */
36
- unpriced_reason?: ("not_on_bill" | null) | undefined;
36
+ unpriced_reason?: (string | null) | undefined;
37
37
  /** While period_cost is null, the last day any bill line named the volume; null if none ever */
38
38
  last_billed_on?: (string | null) | undefined;
39
39
  /** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
@@ -33,7 +33,7 @@ export interface VolumeItem {
33
33
  /** Why period_cost is null: not_on_bill when the bill of the cluster's account arrives over the window and no line of it names the volume, no_bill when no bill for that account arrives (none connected, not there yet, or a cloud whose bill this does not read for volumes) */
34
34
  cost_unknown_reason?: (VolumeItem.CostUnknownReason | null) | undefined;
35
35
  /** Why the worker could not price the claim it found, from its open candidate: not_on_bill when the bill names no line for the volume while it prices the cluster's other claims; null otherwise (api#2074) */
36
- unpriced_reason?: ("not_on_bill" | null) | undefined;
36
+ unpriced_reason?: (string | null) | undefined;
37
37
  /** While period_cost is null, the last day any bill line named the volume; null if none ever */
38
38
  last_billed_on?: (string | null) | undefined;
39
39
  /** While period_cost is null, what the tenant's own bill charged a GiB-month of the claim's volume type in the cluster's region over the window; null when the bill charged nothing for that type there. Never a list price */
@@ -83,7 +83,7 @@ export interface WorkloadItem {
83
83
  /** The label_columns asked for, null where the row has no such label */
84
84
  label_values: Record<string, string | null>;
85
85
  recommendations: WorkloadItem.Recommendations;
86
- /** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
86
+ /** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_not_reported, the agent sends no row for its namespace, so whether recommendations are on there is not known (dashboard#1688); namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; usage_missing, the agent sends no usage for it at all, so the worker cannot size it, never learning (dashboard#1688); learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
87
87
  recommendation_state?: (WorkloadItem.RecommendationState | null) | undefined;
88
88
  /** The whole days of usage the worker still needs, when recommendation_state is learning */
89
89
  learning_days_left?: (number | null) | undefined;
@@ -136,8 +136,10 @@ export declare namespace WorkloadItem {
136
136
  readonly SizedByOther: "sized_by_other";
137
137
  readonly InReview: "in_review";
138
138
  readonly NamespaceOffByLabel: "namespace_off_by_label";
139
+ readonly NamespaceNotReported: "namespace_not_reported";
139
140
  readonly NamespaceOff: "namespace_off";
140
141
  readonly WorkloadOff: "workload_off";
142
+ readonly UsageMissing: "usage_missing";
141
143
  readonly Learning: "learning";
142
144
  readonly UsageAboveRequest: "usage_above_request";
143
145
  readonly Held: "held";
@@ -83,7 +83,7 @@ export interface WorkloadItem {
83
83
  /** The label_columns asked for, null where the row has no such label */
84
84
  label_values: Record<string, string | null>;
85
85
  recommendations: WorkloadItem.Recommendations;
86
- /** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
86
+ /** Why it has no published recommendation, the first that applies (levelfour-api#2201): published, one is on the savings list; namespace_system, a system namespace, never recommended; sized_by_other, another tool sizes its containers and would undo a recommendation (sized_by says which); in_review, the worker raised a candidate no operator published yet; namespace_off_by_label, the cluster's levelfour.ai/recommendations=disabled label on its namespace; namespace_not_reported, the agent sends no row for its namespace, so whether recommendations are on there is not known (dashboard#1688); namespace_off, its namespace's recommendations are off; workload_off, the label on the workload itself; usage_missing, the agent sends no usage for it at all, so the worker cannot size it, never learning (dashboard#1688); learning, the worker has less than 7 days of its usage in the last 15 (learning_days_left); usage_above_request, every container's p95 over the window passes each request it has, so a cut is not the move; held, the rightsizing target holds it back (recommendation_held_reason); nothing_to_change, no request it holds is over-provisioned; none, none of these is known */
87
87
  recommendation_state?: (WorkloadItem.RecommendationState | null) | undefined;
88
88
  /** The whole days of usage the worker still needs, when recommendation_state is learning */
89
89
  learning_days_left?: (number | null) | undefined;
@@ -136,8 +136,10 @@ export declare namespace WorkloadItem {
136
136
  readonly SizedByOther: "sized_by_other";
137
137
  readonly InReview: "in_review";
138
138
  readonly NamespaceOffByLabel: "namespace_off_by_label";
139
+ readonly NamespaceNotReported: "namespace_not_reported";
139
140
  readonly NamespaceOff: "namespace_off";
140
141
  readonly WorkloadOff: "workload_off";
142
+ readonly UsageMissing: "usage_missing";
141
143
  readonly Learning: "learning";
142
144
  readonly UsageAboveRequest: "usage_above_request";
143
145
  readonly Held: "held";
@@ -52,8 +52,10 @@ var WorkloadItem;
52
52
  SizedByOther: "sized_by_other",
53
53
  InReview: "in_review",
54
54
  NamespaceOffByLabel: "namespace_off_by_label",
55
+ NamespaceNotReported: "namespace_not_reported",
55
56
  NamespaceOff: "namespace_off",
56
57
  WorkloadOff: "workload_off",
58
+ UsageMissing: "usage_missing",
57
59
  Learning: "learning",
58
60
  UsageAboveRequest: "usage_above_request",
59
61
  Held: "held",
@@ -29,8 +29,10 @@ var WorkloadItem;
29
29
  SizedByOther: "sized_by_other",
30
30
  InReview: "in_review",
31
31
  NamespaceOffByLabel: "namespace_off_by_label",
32
+ NamespaceNotReported: "namespace_not_reported",
32
33
  NamespaceOff: "namespace_off",
33
34
  WorkloadOff: "workload_off",
35
+ UsageMissing: "usage_missing",
34
36
  Learning: "learning",
35
37
  UsageAboveRequest: "usage_above_request",
36
38
  Held: "held",