levelfour 1.16.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 (295) 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/BlockedNamespace.d.mts +9 -0
  6. package/dist/api/types/BlockedNamespace.d.ts +9 -0
  7. package/dist/api/types/BlockedNamespace.js +17 -0
  8. package/dist/api/types/BlockedNamespace.mjs +1 -0
  9. package/dist/api/types/CheckedObject.d.mts +1 -1
  10. package/dist/api/types/CheckedObject.d.ts +1 -1
  11. package/dist/api/types/ClusterItem.d.mts +7 -3
  12. package/dist/api/types/ClusterItem.d.ts +7 -3
  13. package/dist/api/types/ClusterLevers.d.mts +2 -2
  14. package/dist/api/types/ClusterLevers.d.ts +2 -2
  15. package/dist/api/types/ClusterSummary.d.mts +5 -1
  16. package/dist/api/types/ClusterSummary.d.ts +5 -1
  17. package/dist/api/types/ConfigObjectView.d.mts +2 -11
  18. package/dist/api/types/ConfigObjectView.d.ts +2 -11
  19. package/dist/api/types/ConfigObjectView.js +0 -9
  20. package/dist/api/types/ConfigObjectView.mjs +0 -9
  21. package/dist/api/types/ConsolidationBlocker.d.mts +26 -0
  22. package/dist/api/types/ConsolidationBlocker.d.ts +26 -0
  23. package/dist/api/types/ConsolidationBlocker.js +19 -0
  24. package/dist/api/types/ConsolidationBlocker.mjs +19 -0
  25. package/dist/api/types/ConsolidationChange.d.mts +16 -0
  26. package/dist/api/types/ConsolidationChange.d.ts +16 -0
  27. package/dist/api/types/ConsolidationChange.js +13 -0
  28. package/dist/api/types/ConsolidationChange.mjs +13 -0
  29. package/dist/api/types/ConsolidationChangeDetail.d.mts +16 -0
  30. package/dist/api/types/ConsolidationChangeDetail.d.ts +16 -0
  31. package/dist/api/types/ConsolidationChangeDetail.js +13 -0
  32. package/dist/api/types/ConsolidationChangeDetail.mjs +13 -0
  33. package/dist/api/types/ConsolidationChangeTotals.d.mts +5 -1
  34. package/dist/api/types/ConsolidationChangeTotals.d.ts +5 -1
  35. package/dist/api/types/ConsolidationLever.d.mts +2 -0
  36. package/dist/api/types/ConsolidationLever.d.ts +2 -0
  37. package/dist/api/types/FailingShare.d.mts +1 -1
  38. package/dist/api/types/FailingShare.d.ts +1 -1
  39. package/dist/api/types/FleetConsolidationChange.d.mts +16 -0
  40. package/dist/api/types/FleetConsolidationChange.d.ts +16 -0
  41. package/dist/api/types/FleetConsolidationChange.js +13 -0
  42. package/dist/api/types/FleetConsolidationChange.mjs +13 -0
  43. package/dist/api/types/FleetConsolidationLever.d.mts +4 -0
  44. package/dist/api/types/FleetConsolidationLever.d.ts +4 -0
  45. package/dist/api/types/FleetLever.d.mts +2 -0
  46. package/dist/api/types/FleetLever.d.ts +2 -0
  47. package/dist/api/types/FleetLevers.d.mts +1 -1
  48. package/dist/api/types/FleetLevers.d.ts +1 -1
  49. package/dist/api/types/FleetNamespace.d.mts +3 -1
  50. package/dist/api/types/FleetNamespace.d.ts +3 -1
  51. package/dist/api/types/FleetRightsizingLever.d.mts +20 -0
  52. package/dist/api/types/FleetRightsizingLever.d.ts +20 -0
  53. package/dist/api/types/FleetRightsizingLever.js +17 -0
  54. package/dist/api/types/FleetRightsizingLever.mjs +1 -0
  55. package/dist/api/types/FleetSummary.d.mts +5 -1
  56. package/dist/api/types/FleetSummary.d.ts +5 -1
  57. package/dist/api/types/FleetVolume.d.mts +1 -1
  58. package/dist/api/types/FleetVolume.d.ts +1 -1
  59. package/dist/api/types/ForecastData.d.mts +3 -3
  60. package/dist/api/types/ForecastData.d.ts +3 -3
  61. package/dist/api/types/HeldChange.d.mts +16 -0
  62. package/dist/api/types/HeldChange.d.ts +16 -0
  63. package/dist/api/types/HeldChange.js +13 -0
  64. package/dist/api/types/HeldChange.mjs +13 -0
  65. package/dist/api/types/HeldOutcome.d.mts +9 -0
  66. package/dist/api/types/HeldOutcome.d.ts +9 -0
  67. package/dist/api/types/HeldOutcome.js +17 -0
  68. package/dist/api/types/HeldOutcome.mjs +1 -0
  69. package/dist/api/types/Impact.d.mts +40 -0
  70. package/dist/api/types/Impact.d.ts +40 -0
  71. package/dist/api/types/Impact.js +36 -0
  72. package/dist/api/types/Impact.mjs +12 -0
  73. package/dist/api/types/ImpactBeforeNow.d.mts +5 -0
  74. package/dist/api/types/ImpactBeforeNow.d.ts +5 -0
  75. package/dist/api/types/ImpactBeforeNow.js +17 -0
  76. package/dist/api/types/ImpactBeforeNow.mjs +1 -0
  77. package/dist/api/types/ImpactChange.d.mts +47 -0
  78. package/dist/api/types/ImpactChange.d.ts +47 -0
  79. package/dist/api/types/ImpactChange.js +44 -0
  80. package/dist/api/types/ImpactChange.mjs +20 -0
  81. package/dist/api/types/ImpactChangeList.d.mts +5 -0
  82. package/dist/api/types/ImpactChangeList.d.ts +5 -0
  83. package/dist/api/types/ImpactChangeList.js +17 -0
  84. package/dist/api/types/ImpactChangeList.mjs +1 -0
  85. package/dist/api/types/ImpactChangeListResponse.d.mts +6 -0
  86. package/dist/api/types/ImpactChangeListResponse.d.ts +6 -0
  87. package/dist/api/types/ImpactChangeListResponse.js +17 -0
  88. package/dist/api/types/ImpactChangeListResponse.mjs +1 -0
  89. package/dist/api/types/ImpactChanges.d.mts +8 -0
  90. package/dist/api/types/ImpactChanges.d.ts +8 -0
  91. package/dist/api/types/ImpactChanges.js +17 -0
  92. package/dist/api/types/ImpactChanges.mjs +1 -0
  93. package/dist/api/types/ImpactCluster.d.mts +22 -0
  94. package/dist/api/types/ImpactCluster.d.ts +22 -0
  95. package/dist/api/types/ImpactCluster.js +35 -0
  96. package/dist/api/types/ImpactCluster.mjs +11 -0
  97. package/dist/api/types/ImpactClusterListResponse.d.mts +6 -0
  98. package/dist/api/types/ImpactClusterListResponse.d.ts +6 -0
  99. package/dist/api/types/ImpactClusterListResponse.js +17 -0
  100. package/dist/api/types/ImpactClusterListResponse.mjs +1 -0
  101. package/dist/api/types/ImpactClusters.d.mts +7 -0
  102. package/dist/api/types/ImpactClusters.d.ts +7 -0
  103. package/dist/api/types/ImpactClusters.js +17 -0
  104. package/dist/api/types/ImpactClusters.mjs +1 -0
  105. package/dist/api/types/ImpactCount.d.mts +16 -0
  106. package/dist/api/types/ImpactCount.d.ts +16 -0
  107. package/dist/api/types/ImpactCount.js +17 -0
  108. package/dist/api/types/ImpactCount.mjs +1 -0
  109. package/dist/api/types/ImpactDaySpan.d.mts +4 -0
  110. package/dist/api/types/ImpactDaySpan.d.ts +4 -0
  111. package/dist/api/types/ImpactDaySpan.js +17 -0
  112. package/dist/api/types/ImpactDaySpan.mjs +1 -0
  113. package/dist/api/types/ImpactDaysCompared.d.mts +4 -0
  114. package/dist/api/types/ImpactDaysCompared.d.ts +4 -0
  115. package/dist/api/types/ImpactDaysCompared.js +17 -0
  116. package/dist/api/types/ImpactDaysCompared.mjs +1 -0
  117. package/dist/api/types/ImpactExcluded.d.mts +14 -0
  118. package/dist/api/types/ImpactExcluded.d.ts +14 -0
  119. package/dist/api/types/ImpactExcluded.js +35 -0
  120. package/dist/api/types/ImpactExcluded.mjs +11 -0
  121. package/dist/api/types/ImpactMeasuredThrough.d.mts +6 -0
  122. package/dist/api/types/ImpactMeasuredThrough.d.ts +6 -0
  123. package/dist/api/types/ImpactMeasuredThrough.js +17 -0
  124. package/dist/api/types/ImpactMeasuredThrough.mjs +1 -0
  125. package/dist/api/types/ImpactMeasuring.d.mts +6 -0
  126. package/dist/api/types/ImpactMeasuring.d.ts +6 -0
  127. package/dist/api/types/ImpactMeasuring.js +17 -0
  128. package/dist/api/types/ImpactMeasuring.mjs +1 -0
  129. package/dist/api/types/ImpactNamespace.d.mts +11 -0
  130. package/dist/api/types/ImpactNamespace.d.ts +11 -0
  131. package/dist/api/types/ImpactNamespace.js +17 -0
  132. package/dist/api/types/ImpactNamespace.mjs +1 -0
  133. package/dist/api/types/ImpactNamespaceListResponse.d.mts +6 -0
  134. package/dist/api/types/ImpactNamespaceListResponse.d.ts +6 -0
  135. package/dist/api/types/ImpactNamespaceListResponse.js +17 -0
  136. package/dist/api/types/ImpactNamespaceListResponse.mjs +1 -0
  137. package/dist/api/types/ImpactNamespaces.d.mts +6 -0
  138. package/dist/api/types/ImpactNamespaces.d.ts +6 -0
  139. package/dist/api/types/ImpactNamespaces.js +17 -0
  140. package/dist/api/types/ImpactNamespaces.mjs +1 -0
  141. package/dist/api/types/ImpactPace.d.mts +6 -0
  142. package/dist/api/types/ImpactPace.d.ts +6 -0
  143. package/dist/api/types/ImpactPace.js +17 -0
  144. package/dist/api/types/ImpactPace.mjs +1 -0
  145. package/dist/api/types/ImpactPoint.d.mts +21 -0
  146. package/dist/api/types/ImpactPoint.d.ts +21 -0
  147. package/dist/api/types/ImpactPoint.js +17 -0
  148. package/dist/api/types/ImpactPoint.mjs +1 -0
  149. package/dist/api/types/ImpactRequests.d.mts +7 -0
  150. package/dist/api/types/ImpactRequests.d.ts +7 -0
  151. package/dist/api/types/ImpactRequests.js +17 -0
  152. package/dist/api/types/ImpactRequests.mjs +1 -0
  153. package/dist/api/types/ImpactRequestsMoved.d.mts +10 -0
  154. package/dist/api/types/ImpactRequestsMoved.d.ts +10 -0
  155. package/dist/api/types/ImpactRequestsMoved.js +17 -0
  156. package/dist/api/types/ImpactRequestsMoved.mjs +1 -0
  157. package/dist/api/types/ImpactResponse.d.mts +6 -0
  158. package/dist/api/types/ImpactResponse.d.ts +6 -0
  159. package/dist/api/types/ImpactResponse.js +17 -0
  160. package/dist/api/types/ImpactResponse.mjs +1 -0
  161. package/dist/api/types/ImpactResultWindows.d.mts +5 -0
  162. package/dist/api/types/ImpactResultWindows.d.ts +5 -0
  163. package/dist/api/types/ImpactResultWindows.js +17 -0
  164. package/dist/api/types/ImpactResultWindows.mjs +1 -0
  165. package/dist/api/types/ImpactRowTotals.d.mts +6 -0
  166. package/dist/api/types/ImpactRowTotals.d.ts +6 -0
  167. package/dist/api/types/ImpactRowTotals.js +17 -0
  168. package/dist/api/types/ImpactRowTotals.mjs +1 -0
  169. package/dist/api/types/ImpactSaved.d.mts +4 -0
  170. package/dist/api/types/ImpactSaved.d.ts +4 -0
  171. package/dist/api/types/ImpactSaved.js +17 -0
  172. package/dist/api/types/ImpactSaved.mjs +1 -0
  173. package/dist/api/types/ImpactScope.d.mts +9 -0
  174. package/dist/api/types/ImpactScope.d.ts +9 -0
  175. package/dist/api/types/ImpactScope.js +17 -0
  176. package/dist/api/types/ImpactScope.mjs +1 -0
  177. package/dist/api/types/ImpactSeries.d.mts +5 -0
  178. package/dist/api/types/ImpactSeries.d.ts +5 -0
  179. package/dist/api/types/ImpactSeries.js +17 -0
  180. package/dist/api/types/ImpactSeries.mjs +1 -0
  181. package/dist/api/types/ImpactSeriesResponse.d.mts +6 -0
  182. package/dist/api/types/ImpactSeriesResponse.d.ts +6 -0
  183. package/dist/api/types/ImpactSeriesResponse.js +17 -0
  184. package/dist/api/types/ImpactSeriesResponse.mjs +1 -0
  185. package/dist/api/types/ImpactWasNowCount.d.mts +4 -0
  186. package/dist/api/types/ImpactWasNowCount.d.ts +4 -0
  187. package/dist/api/types/ImpactWasNowCount.js +17 -0
  188. package/dist/api/types/ImpactWasNowCount.mjs +1 -0
  189. package/dist/api/types/ImpactWasNowUsd.d.mts +4 -0
  190. package/dist/api/types/ImpactWasNowUsd.d.ts +4 -0
  191. package/dist/api/types/ImpactWasNowUsd.js +17 -0
  192. package/dist/api/types/ImpactWasNowUsd.mjs +1 -0
  193. package/dist/api/types/ImpactWasWindow.d.mts +8 -0
  194. package/dist/api/types/ImpactWasWindow.d.ts +8 -0
  195. package/dist/api/types/ImpactWasWindow.js +17 -0
  196. package/dist/api/types/ImpactWasWindow.mjs +1 -0
  197. package/dist/api/types/ImpactWaste.d.mts +20 -0
  198. package/dist/api/types/ImpactWaste.d.ts +20 -0
  199. package/dist/api/types/ImpactWaste.js +17 -0
  200. package/dist/api/types/ImpactWaste.mjs +1 -0
  201. package/dist/api/types/ImpactWorkload.d.mts +27 -0
  202. package/dist/api/types/ImpactWorkload.d.ts +27 -0
  203. package/dist/api/types/ImpactWorkload.js +40 -0
  204. package/dist/api/types/ImpactWorkload.mjs +16 -0
  205. package/dist/api/types/ImpactWorkloadDetail.d.mts +34 -0
  206. package/dist/api/types/ImpactWorkloadDetail.d.ts +34 -0
  207. package/dist/api/types/ImpactWorkloadDetail.js +40 -0
  208. package/dist/api/types/ImpactWorkloadDetail.mjs +16 -0
  209. package/dist/api/types/ImpactWorkloadListResponse.d.mts +6 -0
  210. package/dist/api/types/ImpactWorkloadListResponse.d.ts +6 -0
  211. package/dist/api/types/ImpactWorkloadListResponse.js +17 -0
  212. package/dist/api/types/ImpactWorkloadListResponse.mjs +1 -0
  213. package/dist/api/types/ImpactWorkloadResponse.d.mts +6 -0
  214. package/dist/api/types/ImpactWorkloadResponse.d.ts +6 -0
  215. package/dist/api/types/ImpactWorkloadResponse.js +17 -0
  216. package/dist/api/types/ImpactWorkloadResponse.mjs +1 -0
  217. package/dist/api/types/ImpactWorkloads.d.mts +6 -0
  218. package/dist/api/types/ImpactWorkloads.d.ts +6 -0
  219. package/dist/api/types/ImpactWorkloads.js +17 -0
  220. package/dist/api/types/ImpactWorkloads.mjs +1 -0
  221. package/dist/api/types/Indicator.d.mts +16 -1
  222. package/dist/api/types/Indicator.d.ts +16 -1
  223. package/dist/api/types/Indicator.js +12 -0
  224. package/dist/api/types/Indicator.mjs +12 -0
  225. package/dist/api/types/IndicatorCount.d.mts +1 -0
  226. package/dist/api/types/IndicatorCount.d.ts +1 -0
  227. package/dist/api/types/IndicatorCount.js +1 -0
  228. package/dist/api/types/IndicatorCount.mjs +1 -0
  229. package/dist/api/types/NamespaceAutomation.d.mts +8 -0
  230. package/dist/api/types/NamespaceAutomation.d.ts +8 -0
  231. package/dist/api/types/NamespaceAutomation.js +5 -0
  232. package/dist/api/types/NamespaceAutomation.mjs +5 -0
  233. package/dist/api/types/NamespaceItem.d.mts +3 -1
  234. package/dist/api/types/NamespaceItem.d.ts +3 -1
  235. package/dist/api/types/NoReadyShare.d.mts +1 -1
  236. package/dist/api/types/NoReadyShare.d.ts +1 -1
  237. package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
  238. package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
  239. package/dist/api/types/RecommendationDetail.d.mts +2 -0
  240. package/dist/api/types/RecommendationDetail.d.ts +2 -0
  241. package/dist/api/types/ReliabilityLens.d.mts +2 -0
  242. package/dist/api/types/ReliabilityLens.d.ts +2 -0
  243. package/dist/api/types/ReliabilityThresholds.d.mts +23 -0
  244. package/dist/api/types/ReliabilityThresholds.d.ts +23 -0
  245. package/dist/api/types/ReliabilityThresholds.js +17 -0
  246. package/dist/api/types/ReliabilityThresholds.mjs +1 -0
  247. package/dist/api/types/RightsizedContainer.d.mts +2 -0
  248. package/dist/api/types/RightsizedContainer.d.ts +2 -0
  249. package/dist/api/types/RightsizingLever.d.mts +21 -0
  250. package/dist/api/types/RightsizingLever.d.ts +21 -0
  251. package/dist/api/types/RightsizingLever.js +17 -0
  252. package/dist/api/types/RightsizingLever.mjs +1 -0
  253. package/dist/api/types/SavingsBasis.d.mts +8 -0
  254. package/dist/api/types/SavingsBasis.d.ts +8 -0
  255. package/dist/api/types/SavingsBasis.js +17 -0
  256. package/dist/api/types/SavingsBasis.mjs +1 -0
  257. package/dist/api/types/SavingsCollecting.d.mts +6 -0
  258. package/dist/api/types/SavingsCollecting.d.ts +6 -0
  259. package/dist/api/types/SavingsCollecting.js +17 -0
  260. package/dist/api/types/SavingsCollecting.mjs +1 -0
  261. package/dist/api/types/SavingsItem.d.mts +8 -3
  262. package/dist/api/types/SavingsItem.d.ts +8 -3
  263. package/dist/api/types/SavingsMissing.d.mts +7 -1
  264. package/dist/api/types/SavingsMissing.d.ts +7 -1
  265. package/dist/api/types/SavingsNode.d.mts +13 -0
  266. package/dist/api/types/SavingsNode.d.ts +13 -0
  267. package/dist/api/types/SavingsNow.d.mts +12 -1
  268. package/dist/api/types/SavingsNow.d.ts +12 -1
  269. package/dist/api/types/SavingsNow.js +5 -0
  270. package/dist/api/types/SavingsNow.mjs +5 -0
  271. package/dist/api/types/SavingsSection.d.mts +4 -0
  272. package/dist/api/types/SavingsSection.d.ts +4 -0
  273. package/dist/api/types/SetWorkloadAutomationRequest.d.mts +2 -2
  274. package/dist/api/types/SetWorkloadAutomationRequest.d.ts +2 -2
  275. package/dist/api/types/UnpricedFindings.d.mts +1 -1
  276. package/dist/api/types/UnpricedFindings.d.ts +1 -1
  277. package/dist/api/types/VolumeItem.d.mts +1 -1
  278. package/dist/api/types/VolumeItem.d.ts +1 -1
  279. package/dist/api/types/WorkloadItem.d.mts +3 -1
  280. package/dist/api/types/WorkloadItem.d.ts +3 -1
  281. package/dist/api/types/WorkloadItem.js +2 -0
  282. package/dist/api/types/WorkloadItem.mjs +2 -0
  283. package/dist/api/types/WorkloadListItem.d.mts +3 -1
  284. package/dist/api/types/WorkloadListItem.d.ts +3 -1
  285. package/dist/api/types/WorkloadListItem.js +2 -0
  286. package/dist/api/types/WorkloadListItem.mjs +2 -0
  287. package/dist/api/types/index.d.mts +45 -0
  288. package/dist/api/types/index.d.ts +45 -0
  289. package/dist/api/types/index.js +90 -0
  290. package/dist/api/types/index.mjs +45 -0
  291. package/dist/version.d.mts +1 -1
  292. package/dist/version.d.ts +1 -1
  293. package/dist/version.js +1 -1
  294. package/dist/version.mjs +1 -1
  295. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import type * as LevelFour from "../index.js";
2
+ /**
3
+ * Workload rightsizing: on as the cluster's own automation is (dashboard#1699), never by whether a namespace acts
4
+ * right now.
5
+ */
6
+ export interface RightsizingLever {
7
+ /** Whether it is on; null when it cannot be told */
8
+ on?: (boolean | null) | undefined;
9
+ /** What it yields a month; null when nothing measures it yet */
10
+ monthly?: (number | null) | undefined;
11
+ /** Of what it can act on, how much it acts on now */
12
+ count?: (LevelFour.LeverCount | null) | undefined;
13
+ /** The namespaces set to Automated (recommendations on, and turned on or taken over), whether or not they act; null with no automation component */
14
+ set?: (number | null) | undefined;
15
+ /** Of the namespaces set to Automated, the ones that do not act, and why */
16
+ blocked?: LevelFour.BlockedNamespace[] | undefined;
17
+ /** Whether the automation component reported in the last 5 minutes; null with none installed. While it is false, on is false too */
18
+ reporting?: (boolean | null) | undefined;
19
+ /** When the automation component last reported */
20
+ last_seen_at?: (string | null) | undefined;
21
+ }
@@ -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 RightsizingLever_exports = {};
16
+ module.exports = __toCommonJS(RightsizingLever_exports);
17
+ //# sourceMappingURL=RightsizingLever.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=RightsizingLever.mjs.map
@@ -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,10 +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;
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 */
24
+ stopped_unpriced?: number | undefined;
19
25
  }
@@ -10,10 +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;
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 */
24
+ stopped_unpriced?: number | undefined;
19
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
  }
@@ -2,7 +2,7 @@ import type * as LevelFour from "../index.mjs";
2
2
  export interface SavingsNow {
3
3
  /** When the oldest batch read ended */
4
4
  as_of?: (string | null) | undefined;
5
- /** The base a percentage of totals.monthly divides by: this month's forecast of the nodes' compute, plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says */
5
+ /** The base a percentage of totals.monthly divides by, a run rate as every saving is: the nodes' compute at its pace made 30 days (each cluster row's monthly_cost), plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says; null while the compute has no pace */
6
6
  cost_monthly?: (number | null) | undefined;
7
7
  /** The same base net of the enterprise discount, for totals.monthly_net to divide by */
8
8
  cost_monthly_net?: (number | null) | undefined;
@@ -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
  }
@@ -2,7 +2,7 @@ import type * as LevelFour from "../index.js";
2
2
  export interface SavingsNow {
3
3
  /** When the oldest batch read ended */
4
4
  as_of?: (string | null) | undefined;
5
- /** The base a percentage of totals.monthly divides by: this month's forecast of the nodes' compute, plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says */
5
+ /** The base a percentage of totals.monthly divides by, a run rate as every saving is: the nodes' compute at its pace made 30 days (each cluster row's monthly_cost), plus what the claims cost a month (their latest billed day made 30 days), as cost_base_covers says; null while the compute has no pace */
6
6
  cost_monthly?: (number | null) | undefined;
7
7
  /** The same base net of the enterprise discount, for totals.monthly_net to divide by */
8
8
  cost_monthly_net?: (number | null) | undefined;
@@ -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",
@@ -83,7 +83,7 @@ export interface WorkloadListItem {
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: WorkloadListItem.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?: (WorkloadListItem.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;
@@ -138,8 +138,10 @@ export declare namespace WorkloadListItem {
138
138
  readonly SizedByOther: "sized_by_other";
139
139
  readonly InReview: "in_review";
140
140
  readonly NamespaceOffByLabel: "namespace_off_by_label";
141
+ readonly NamespaceNotReported: "namespace_not_reported";
141
142
  readonly NamespaceOff: "namespace_off";
142
143
  readonly WorkloadOff: "workload_off";
144
+ readonly UsageMissing: "usage_missing";
143
145
  readonly Learning: "learning";
144
146
  readonly UsageAboveRequest: "usage_above_request";
145
147
  readonly Held: "held";
@@ -83,7 +83,7 @@ export interface WorkloadListItem {
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: WorkloadListItem.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?: (WorkloadListItem.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;
@@ -138,8 +138,10 @@ export declare namespace WorkloadListItem {
138
138
  readonly SizedByOther: "sized_by_other";
139
139
  readonly InReview: "in_review";
140
140
  readonly NamespaceOffByLabel: "namespace_off_by_label";
141
+ readonly NamespaceNotReported: "namespace_not_reported";
141
142
  readonly NamespaceOff: "namespace_off";
142
143
  readonly WorkloadOff: "workload_off";
144
+ readonly UsageMissing: "usage_missing";
143
145
  readonly Learning: "learning";
144
146
  readonly UsageAboveRequest: "usage_above_request";
145
147
  readonly Held: "held";
@@ -52,8 +52,10 @@ var WorkloadListItem;
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 WorkloadListItem;
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",