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.
- package/dist/api/resources/recommendations/client/Client.js +2 -0
- package/dist/api/resources/recommendations/client/Client.mjs +2 -0
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.mts +2 -0
- package/dist/api/resources/recommendations/client/requests/GetProviderOverviewRecommendationsRequest.d.ts +2 -0
- package/dist/api/types/BlockedNamespace.d.mts +9 -0
- package/dist/api/types/BlockedNamespace.d.ts +9 -0
- package/dist/api/types/BlockedNamespace.js +17 -0
- package/dist/api/types/BlockedNamespace.mjs +1 -0
- package/dist/api/types/CheckedObject.d.mts +1 -1
- package/dist/api/types/CheckedObject.d.ts +1 -1
- package/dist/api/types/ClusterItem.d.mts +7 -3
- package/dist/api/types/ClusterItem.d.ts +7 -3
- package/dist/api/types/ClusterLevers.d.mts +2 -2
- package/dist/api/types/ClusterLevers.d.ts +2 -2
- package/dist/api/types/ClusterSummary.d.mts +5 -1
- package/dist/api/types/ClusterSummary.d.ts +5 -1
- package/dist/api/types/ConfigObjectView.d.mts +2 -11
- package/dist/api/types/ConfigObjectView.d.ts +2 -11
- package/dist/api/types/ConfigObjectView.js +0 -9
- package/dist/api/types/ConfigObjectView.mjs +0 -9
- package/dist/api/types/ConsolidationBlocker.d.mts +26 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +26 -0
- package/dist/api/types/ConsolidationBlocker.js +19 -0
- package/dist/api/types/ConsolidationBlocker.mjs +19 -0
- package/dist/api/types/ConsolidationChange.d.mts +16 -0
- package/dist/api/types/ConsolidationChange.d.ts +16 -0
- package/dist/api/types/ConsolidationChange.js +13 -0
- package/dist/api/types/ConsolidationChange.mjs +13 -0
- package/dist/api/types/ConsolidationChangeDetail.d.mts +16 -0
- package/dist/api/types/ConsolidationChangeDetail.d.ts +16 -0
- package/dist/api/types/ConsolidationChangeDetail.js +13 -0
- package/dist/api/types/ConsolidationChangeDetail.mjs +13 -0
- package/dist/api/types/ConsolidationChangeTotals.d.mts +5 -1
- package/dist/api/types/ConsolidationChangeTotals.d.ts +5 -1
- package/dist/api/types/ConsolidationLever.d.mts +2 -0
- package/dist/api/types/ConsolidationLever.d.ts +2 -0
- package/dist/api/types/FailingShare.d.mts +1 -1
- package/dist/api/types/FailingShare.d.ts +1 -1
- package/dist/api/types/FleetConsolidationChange.d.mts +16 -0
- package/dist/api/types/FleetConsolidationChange.d.ts +16 -0
- package/dist/api/types/FleetConsolidationChange.js +13 -0
- package/dist/api/types/FleetConsolidationChange.mjs +13 -0
- package/dist/api/types/FleetConsolidationLever.d.mts +4 -0
- package/dist/api/types/FleetConsolidationLever.d.ts +4 -0
- package/dist/api/types/FleetLever.d.mts +2 -0
- package/dist/api/types/FleetLever.d.ts +2 -0
- package/dist/api/types/FleetLevers.d.mts +1 -1
- package/dist/api/types/FleetLevers.d.ts +1 -1
- package/dist/api/types/FleetNamespace.d.mts +3 -1
- package/dist/api/types/FleetNamespace.d.ts +3 -1
- package/dist/api/types/FleetRightsizingLever.d.mts +20 -0
- package/dist/api/types/FleetRightsizingLever.d.ts +20 -0
- package/dist/api/types/FleetRightsizingLever.js +17 -0
- package/dist/api/types/FleetRightsizingLever.mjs +1 -0
- package/dist/api/types/FleetSummary.d.mts +5 -1
- package/dist/api/types/FleetSummary.d.ts +5 -1
- package/dist/api/types/FleetVolume.d.mts +1 -1
- package/dist/api/types/FleetVolume.d.ts +1 -1
- package/dist/api/types/ForecastData.d.mts +3 -3
- package/dist/api/types/ForecastData.d.ts +3 -3
- package/dist/api/types/HeldChange.d.mts +16 -0
- package/dist/api/types/HeldChange.d.ts +16 -0
- package/dist/api/types/HeldChange.js +13 -0
- package/dist/api/types/HeldChange.mjs +13 -0
- package/dist/api/types/HeldOutcome.d.mts +9 -0
- package/dist/api/types/HeldOutcome.d.ts +9 -0
- package/dist/api/types/HeldOutcome.js +17 -0
- package/dist/api/types/HeldOutcome.mjs +1 -0
- package/dist/api/types/Impact.d.mts +40 -0
- package/dist/api/types/Impact.d.ts +40 -0
- package/dist/api/types/Impact.js +36 -0
- package/dist/api/types/Impact.mjs +12 -0
- package/dist/api/types/ImpactBeforeNow.d.mts +5 -0
- package/dist/api/types/ImpactBeforeNow.d.ts +5 -0
- package/dist/api/types/ImpactBeforeNow.js +17 -0
- package/dist/api/types/ImpactBeforeNow.mjs +1 -0
- package/dist/api/types/ImpactChange.d.mts +47 -0
- package/dist/api/types/ImpactChange.d.ts +47 -0
- package/dist/api/types/ImpactChange.js +44 -0
- package/dist/api/types/ImpactChange.mjs +20 -0
- package/dist/api/types/ImpactChangeList.d.mts +5 -0
- package/dist/api/types/ImpactChangeList.d.ts +5 -0
- package/dist/api/types/ImpactChangeList.js +17 -0
- package/dist/api/types/ImpactChangeList.mjs +1 -0
- package/dist/api/types/ImpactChangeListResponse.d.mts +6 -0
- package/dist/api/types/ImpactChangeListResponse.d.ts +6 -0
- package/dist/api/types/ImpactChangeListResponse.js +17 -0
- package/dist/api/types/ImpactChangeListResponse.mjs +1 -0
- package/dist/api/types/ImpactChanges.d.mts +8 -0
- package/dist/api/types/ImpactChanges.d.ts +8 -0
- package/dist/api/types/ImpactChanges.js +17 -0
- package/dist/api/types/ImpactChanges.mjs +1 -0
- package/dist/api/types/ImpactCluster.d.mts +22 -0
- package/dist/api/types/ImpactCluster.d.ts +22 -0
- package/dist/api/types/ImpactCluster.js +35 -0
- package/dist/api/types/ImpactCluster.mjs +11 -0
- package/dist/api/types/ImpactClusterListResponse.d.mts +6 -0
- package/dist/api/types/ImpactClusterListResponse.d.ts +6 -0
- package/dist/api/types/ImpactClusterListResponse.js +17 -0
- package/dist/api/types/ImpactClusterListResponse.mjs +1 -0
- package/dist/api/types/ImpactClusters.d.mts +7 -0
- package/dist/api/types/ImpactClusters.d.ts +7 -0
- package/dist/api/types/ImpactClusters.js +17 -0
- package/dist/api/types/ImpactClusters.mjs +1 -0
- package/dist/api/types/ImpactCount.d.mts +16 -0
- package/dist/api/types/ImpactCount.d.ts +16 -0
- package/dist/api/types/ImpactCount.js +17 -0
- package/dist/api/types/ImpactCount.mjs +1 -0
- package/dist/api/types/ImpactDaySpan.d.mts +4 -0
- package/dist/api/types/ImpactDaySpan.d.ts +4 -0
- package/dist/api/types/ImpactDaySpan.js +17 -0
- package/dist/api/types/ImpactDaySpan.mjs +1 -0
- package/dist/api/types/ImpactDaysCompared.d.mts +4 -0
- package/dist/api/types/ImpactDaysCompared.d.ts +4 -0
- package/dist/api/types/ImpactDaysCompared.js +17 -0
- package/dist/api/types/ImpactDaysCompared.mjs +1 -0
- package/dist/api/types/ImpactExcluded.d.mts +14 -0
- package/dist/api/types/ImpactExcluded.d.ts +14 -0
- package/dist/api/types/ImpactExcluded.js +35 -0
- package/dist/api/types/ImpactExcluded.mjs +11 -0
- package/dist/api/types/ImpactMeasuredThrough.d.mts +6 -0
- package/dist/api/types/ImpactMeasuredThrough.d.ts +6 -0
- package/dist/api/types/ImpactMeasuredThrough.js +17 -0
- package/dist/api/types/ImpactMeasuredThrough.mjs +1 -0
- package/dist/api/types/ImpactMeasuring.d.mts +6 -0
- package/dist/api/types/ImpactMeasuring.d.ts +6 -0
- package/dist/api/types/ImpactMeasuring.js +17 -0
- package/dist/api/types/ImpactMeasuring.mjs +1 -0
- package/dist/api/types/ImpactNamespace.d.mts +11 -0
- package/dist/api/types/ImpactNamespace.d.ts +11 -0
- package/dist/api/types/ImpactNamespace.js +17 -0
- package/dist/api/types/ImpactNamespace.mjs +1 -0
- package/dist/api/types/ImpactNamespaceListResponse.d.mts +6 -0
- package/dist/api/types/ImpactNamespaceListResponse.d.ts +6 -0
- package/dist/api/types/ImpactNamespaceListResponse.js +17 -0
- package/dist/api/types/ImpactNamespaceListResponse.mjs +1 -0
- package/dist/api/types/ImpactNamespaces.d.mts +6 -0
- package/dist/api/types/ImpactNamespaces.d.ts +6 -0
- package/dist/api/types/ImpactNamespaces.js +17 -0
- package/dist/api/types/ImpactNamespaces.mjs +1 -0
- package/dist/api/types/ImpactPace.d.mts +6 -0
- package/dist/api/types/ImpactPace.d.ts +6 -0
- package/dist/api/types/ImpactPace.js +17 -0
- package/dist/api/types/ImpactPace.mjs +1 -0
- package/dist/api/types/ImpactPoint.d.mts +21 -0
- package/dist/api/types/ImpactPoint.d.ts +21 -0
- package/dist/api/types/ImpactPoint.js +17 -0
- package/dist/api/types/ImpactPoint.mjs +1 -0
- package/dist/api/types/ImpactRequests.d.mts +7 -0
- package/dist/api/types/ImpactRequests.d.ts +7 -0
- package/dist/api/types/ImpactRequests.js +17 -0
- package/dist/api/types/ImpactRequests.mjs +1 -0
- package/dist/api/types/ImpactRequestsMoved.d.mts +10 -0
- package/dist/api/types/ImpactRequestsMoved.d.ts +10 -0
- package/dist/api/types/ImpactRequestsMoved.js +17 -0
- package/dist/api/types/ImpactRequestsMoved.mjs +1 -0
- package/dist/api/types/ImpactResponse.d.mts +6 -0
- package/dist/api/types/ImpactResponse.d.ts +6 -0
- package/dist/api/types/ImpactResponse.js +17 -0
- package/dist/api/types/ImpactResponse.mjs +1 -0
- package/dist/api/types/ImpactResultWindows.d.mts +5 -0
- package/dist/api/types/ImpactResultWindows.d.ts +5 -0
- package/dist/api/types/ImpactResultWindows.js +17 -0
- package/dist/api/types/ImpactResultWindows.mjs +1 -0
- package/dist/api/types/ImpactRowTotals.d.mts +6 -0
- package/dist/api/types/ImpactRowTotals.d.ts +6 -0
- package/dist/api/types/ImpactRowTotals.js +17 -0
- package/dist/api/types/ImpactRowTotals.mjs +1 -0
- package/dist/api/types/ImpactSaved.d.mts +4 -0
- package/dist/api/types/ImpactSaved.d.ts +4 -0
- package/dist/api/types/ImpactSaved.js +17 -0
- package/dist/api/types/ImpactSaved.mjs +1 -0
- package/dist/api/types/ImpactScope.d.mts +9 -0
- package/dist/api/types/ImpactScope.d.ts +9 -0
- package/dist/api/types/ImpactScope.js +17 -0
- package/dist/api/types/ImpactScope.mjs +1 -0
- package/dist/api/types/ImpactSeries.d.mts +5 -0
- package/dist/api/types/ImpactSeries.d.ts +5 -0
- package/dist/api/types/ImpactSeries.js +17 -0
- package/dist/api/types/ImpactSeries.mjs +1 -0
- package/dist/api/types/ImpactSeriesResponse.d.mts +6 -0
- package/dist/api/types/ImpactSeriesResponse.d.ts +6 -0
- package/dist/api/types/ImpactSeriesResponse.js +17 -0
- package/dist/api/types/ImpactSeriesResponse.mjs +1 -0
- package/dist/api/types/ImpactWasNowCount.d.mts +4 -0
- package/dist/api/types/ImpactWasNowCount.d.ts +4 -0
- package/dist/api/types/ImpactWasNowCount.js +17 -0
- package/dist/api/types/ImpactWasNowCount.mjs +1 -0
- package/dist/api/types/ImpactWasNowUsd.d.mts +4 -0
- package/dist/api/types/ImpactWasNowUsd.d.ts +4 -0
- package/dist/api/types/ImpactWasNowUsd.js +17 -0
- package/dist/api/types/ImpactWasNowUsd.mjs +1 -0
- package/dist/api/types/ImpactWasWindow.d.mts +8 -0
- package/dist/api/types/ImpactWasWindow.d.ts +8 -0
- package/dist/api/types/ImpactWasWindow.js +17 -0
- package/dist/api/types/ImpactWasWindow.mjs +1 -0
- package/dist/api/types/ImpactWaste.d.mts +20 -0
- package/dist/api/types/ImpactWaste.d.ts +20 -0
- package/dist/api/types/ImpactWaste.js +17 -0
- package/dist/api/types/ImpactWaste.mjs +1 -0
- package/dist/api/types/ImpactWorkload.d.mts +27 -0
- package/dist/api/types/ImpactWorkload.d.ts +27 -0
- package/dist/api/types/ImpactWorkload.js +40 -0
- package/dist/api/types/ImpactWorkload.mjs +16 -0
- package/dist/api/types/ImpactWorkloadDetail.d.mts +34 -0
- package/dist/api/types/ImpactWorkloadDetail.d.ts +34 -0
- package/dist/api/types/ImpactWorkloadDetail.js +40 -0
- package/dist/api/types/ImpactWorkloadDetail.mjs +16 -0
- package/dist/api/types/ImpactWorkloadListResponse.d.mts +6 -0
- package/dist/api/types/ImpactWorkloadListResponse.d.ts +6 -0
- package/dist/api/types/ImpactWorkloadListResponse.js +17 -0
- package/dist/api/types/ImpactWorkloadListResponse.mjs +1 -0
- package/dist/api/types/ImpactWorkloadResponse.d.mts +6 -0
- package/dist/api/types/ImpactWorkloadResponse.d.ts +6 -0
- package/dist/api/types/ImpactWorkloadResponse.js +17 -0
- package/dist/api/types/ImpactWorkloadResponse.mjs +1 -0
- package/dist/api/types/ImpactWorkloads.d.mts +6 -0
- package/dist/api/types/ImpactWorkloads.d.ts +6 -0
- package/dist/api/types/ImpactWorkloads.js +17 -0
- package/dist/api/types/ImpactWorkloads.mjs +1 -0
- package/dist/api/types/Indicator.d.mts +16 -1
- package/dist/api/types/Indicator.d.ts +16 -1
- package/dist/api/types/Indicator.js +12 -0
- package/dist/api/types/Indicator.mjs +12 -0
- package/dist/api/types/IndicatorCount.d.mts +1 -0
- package/dist/api/types/IndicatorCount.d.ts +1 -0
- package/dist/api/types/IndicatorCount.js +1 -0
- package/dist/api/types/IndicatorCount.mjs +1 -0
- package/dist/api/types/NamespaceAutomation.d.mts +8 -0
- package/dist/api/types/NamespaceAutomation.d.ts +8 -0
- package/dist/api/types/NamespaceAutomation.js +5 -0
- package/dist/api/types/NamespaceAutomation.mjs +5 -0
- package/dist/api/types/NamespaceItem.d.mts +3 -1
- package/dist/api/types/NamespaceItem.d.ts +3 -1
- package/dist/api/types/NoReadyShare.d.mts +1 -1
- package/dist/api/types/NoReadyShare.d.ts +1 -1
- package/dist/api/types/ProviderBreakdownItem.d.mts +2 -0
- package/dist/api/types/ProviderBreakdownItem.d.ts +2 -0
- package/dist/api/types/RecommendationDetail.d.mts +2 -0
- package/dist/api/types/RecommendationDetail.d.ts +2 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -0
- package/dist/api/types/ReliabilityLens.d.ts +2 -0
- package/dist/api/types/ReliabilityThresholds.d.mts +23 -0
- package/dist/api/types/ReliabilityThresholds.d.ts +23 -0
- package/dist/api/types/ReliabilityThresholds.js +17 -0
- package/dist/api/types/ReliabilityThresholds.mjs +1 -0
- package/dist/api/types/RightsizedContainer.d.mts +2 -0
- package/dist/api/types/RightsizedContainer.d.ts +2 -0
- package/dist/api/types/RightsizingLever.d.mts +21 -0
- package/dist/api/types/RightsizingLever.d.ts +21 -0
- package/dist/api/types/RightsizingLever.js +17 -0
- package/dist/api/types/RightsizingLever.mjs +1 -0
- package/dist/api/types/SavingsBasis.d.mts +8 -0
- package/dist/api/types/SavingsBasis.d.ts +8 -0
- package/dist/api/types/SavingsBasis.js +17 -0
- package/dist/api/types/SavingsBasis.mjs +1 -0
- package/dist/api/types/SavingsCollecting.d.mts +6 -0
- package/dist/api/types/SavingsCollecting.d.ts +6 -0
- package/dist/api/types/SavingsCollecting.js +17 -0
- package/dist/api/types/SavingsCollecting.mjs +1 -0
- package/dist/api/types/SavingsItem.d.mts +8 -3
- package/dist/api/types/SavingsItem.d.ts +8 -3
- package/dist/api/types/SavingsMissing.d.mts +7 -1
- package/dist/api/types/SavingsMissing.d.ts +7 -1
- package/dist/api/types/SavingsNode.d.mts +13 -0
- package/dist/api/types/SavingsNode.d.ts +13 -0
- package/dist/api/types/SavingsNow.d.mts +12 -1
- package/dist/api/types/SavingsNow.d.ts +12 -1
- package/dist/api/types/SavingsNow.js +5 -0
- package/dist/api/types/SavingsNow.mjs +5 -0
- package/dist/api/types/SavingsSection.d.mts +4 -0
- package/dist/api/types/SavingsSection.d.ts +4 -0
- package/dist/api/types/SetWorkloadAutomationRequest.d.mts +2 -2
- package/dist/api/types/SetWorkloadAutomationRequest.d.ts +2 -2
- package/dist/api/types/UnpricedFindings.d.mts +1 -1
- package/dist/api/types/UnpricedFindings.d.ts +1 -1
- package/dist/api/types/VolumeItem.d.mts +1 -1
- package/dist/api/types/VolumeItem.d.ts +1 -1
- package/dist/api/types/WorkloadItem.d.mts +3 -1
- package/dist/api/types/WorkloadItem.d.ts +3 -1
- package/dist/api/types/WorkloadItem.js +2 -0
- package/dist/api/types/WorkloadItem.mjs +2 -0
- package/dist/api/types/WorkloadListItem.d.mts +3 -1
- package/dist/api/types/WorkloadListItem.d.ts +3 -1
- package/dist/api/types/WorkloadListItem.js +2 -0
- package/dist/api/types/WorkloadListItem.mjs +2 -0
- package/dist/api/types/index.d.mts +45 -0
- package/dist/api/types/index.d.ts +45 -0
- package/dist/api/types/index.js +90 -0
- package/dist/api/types/index.mjs +45 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var ImpactWorkloadDetail_exports = {};
|
|
20
|
+
__export(ImpactWorkloadDetail_exports, {
|
|
21
|
+
ImpactWorkloadDetail: () => ImpactWorkloadDetail
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(ImpactWorkloadDetail_exports);
|
|
24
|
+
var ImpactWorkloadDetail;
|
|
25
|
+
((ImpactWorkloadDetail2) => {
|
|
26
|
+
ImpactWorkloadDetail2.Result = {
|
|
27
|
+
Measuring: "measuring",
|
|
28
|
+
InProgress: "in_progress",
|
|
29
|
+
RolledBack: "rolled_back",
|
|
30
|
+
TooEarly: "too_early",
|
|
31
|
+
NeedsReview: "needs_review",
|
|
32
|
+
Improved: "improved",
|
|
33
|
+
Changed: "changed"
|
|
34
|
+
};
|
|
35
|
+
})(ImpactWorkloadDetail || (ImpactWorkloadDetail = {}));
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
ImpactWorkloadDetail
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=ImpactWorkloadDetail.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var ImpactWorkloadDetail;
|
|
2
|
+
((ImpactWorkloadDetail2) => {
|
|
3
|
+
ImpactWorkloadDetail2.Result = {
|
|
4
|
+
Measuring: "measuring",
|
|
5
|
+
InProgress: "in_progress",
|
|
6
|
+
RolledBack: "rolled_back",
|
|
7
|
+
TooEarly: "too_early",
|
|
8
|
+
NeedsReview: "needs_review",
|
|
9
|
+
Improved: "improved",
|
|
10
|
+
Changed: "changed"
|
|
11
|
+
};
|
|
12
|
+
})(ImpactWorkloadDetail || (ImpactWorkloadDetail = {}));
|
|
13
|
+
export {
|
|
14
|
+
ImpactWorkloadDetail
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ImpactWorkloadDetail.mjs.map
|
|
@@ -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 ImpactWorkloadListResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloadListResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloadListResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloadListResponse.mjs.map
|
|
@@ -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 ImpactWorkloadResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloadResponse_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloadResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloadResponse.mjs.map
|
|
@@ -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 ImpactWorkloads_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(ImpactWorkloads_exports);
|
|
17
|
+
//# sourceMappingURL=ImpactWorkloads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ImpactWorkloads.mjs.map
|
|
@@ -3,8 +3,10 @@ export interface Indicator {
|
|
|
3
3
|
severity: Indicator.Severity;
|
|
4
4
|
container?: (string | null) | undefined;
|
|
5
5
|
detail: string;
|
|
6
|
-
/** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
|
|
6
|
+
/** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (never_started, no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
|
|
7
7
|
since?: (string | null) | undefined;
|
|
8
|
+
/** Why no replica is ready, on never_started, no_ready_replica and crash_looping: the first stage that blocks the workload's pods, read from the Warning events of its pods and the terminations of its containers in the 2 hours before its latest batch, else since it had none ready. unschedulable (no node can take them), image_pull, config_missing (a secret, config map or key it needs), volume (a volume can't be mounted), sandbox (its nodes can't create the pod's sandbox), init_failing (an init container), crash (a container crashes or is killed out of memory), readiness_failing (its readiness or startup probe), or unknown when the cluster's agent sends pod events and none says why. `detail` states it with the fix. Null on every other indicator, and when the cluster's agent sends no pod events */
|
|
9
|
+
cause?: (Indicator.Cause | null) | undefined;
|
|
8
10
|
}
|
|
9
11
|
export declare namespace Indicator {
|
|
10
12
|
const Id: {
|
|
@@ -23,6 +25,7 @@ export declare namespace Indicator {
|
|
|
23
25
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
24
26
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
25
27
|
readonly Eviction: "eviction";
|
|
28
|
+
readonly NeverStarted: "never_started";
|
|
26
29
|
readonly NoReadyReplica: "no_ready_replica";
|
|
27
30
|
readonly CrashLooping: "crash_looping";
|
|
28
31
|
readonly PodsPending: "pods_pending";
|
|
@@ -38,4 +41,16 @@ export declare namespace Indicator {
|
|
|
38
41
|
readonly Info: "info";
|
|
39
42
|
};
|
|
40
43
|
type Severity = (typeof Severity)[keyof typeof Severity];
|
|
44
|
+
const Cause: {
|
|
45
|
+
readonly Unschedulable: "unschedulable";
|
|
46
|
+
readonly ImagePull: "image_pull";
|
|
47
|
+
readonly ConfigMissing: "config_missing";
|
|
48
|
+
readonly Volume: "volume";
|
|
49
|
+
readonly Sandbox: "sandbox";
|
|
50
|
+
readonly InitFailing: "init_failing";
|
|
51
|
+
readonly Crash: "crash";
|
|
52
|
+
readonly ReadinessFailing: "readiness_failing";
|
|
53
|
+
readonly Unknown: "unknown";
|
|
54
|
+
};
|
|
55
|
+
type Cause = (typeof Cause)[keyof typeof Cause];
|
|
41
56
|
}
|
|
@@ -3,8 +3,10 @@ export interface Indicator {
|
|
|
3
3
|
severity: Indicator.Severity;
|
|
4
4
|
container?: (string | null) | undefined;
|
|
5
5
|
detail: string;
|
|
6
|
-
/** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
|
|
6
|
+
/** The first moment its condition held in the window, in UTC: the first hour the hourly rows show it on the first day the window's days do (oom, restarts, cpu_throttling, eviction, the usage rules, hpa_at_max), the batch that first read no replica ready (never_started, no_ready_replica, crash_looping), the hour pods sat Pending, or the start of a trend. Null for a rule on the current configuration, and once that day's hourly rows are gone */
|
|
7
7
|
since?: (string | null) | undefined;
|
|
8
|
+
/** Why no replica is ready, on never_started, no_ready_replica and crash_looping: the first stage that blocks the workload's pods, read from the Warning events of its pods and the terminations of its containers in the 2 hours before its latest batch, else since it had none ready. unschedulable (no node can take them), image_pull, config_missing (a secret, config map or key it needs), volume (a volume can't be mounted), sandbox (its nodes can't create the pod's sandbox), init_failing (an init container), crash (a container crashes or is killed out of memory), readiness_failing (its readiness or startup probe), or unknown when the cluster's agent sends pod events and none says why. `detail` states it with the fix. Null on every other indicator, and when the cluster's agent sends no pod events */
|
|
9
|
+
cause?: (Indicator.Cause | null) | undefined;
|
|
8
10
|
}
|
|
9
11
|
export declare namespace Indicator {
|
|
10
12
|
const Id: {
|
|
@@ -23,6 +25,7 @@ export declare namespace Indicator {
|
|
|
23
25
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
24
26
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
25
27
|
readonly Eviction: "eviction";
|
|
28
|
+
readonly NeverStarted: "never_started";
|
|
26
29
|
readonly NoReadyReplica: "no_ready_replica";
|
|
27
30
|
readonly CrashLooping: "crash_looping";
|
|
28
31
|
readonly PodsPending: "pods_pending";
|
|
@@ -38,4 +41,16 @@ export declare namespace Indicator {
|
|
|
38
41
|
readonly Info: "info";
|
|
39
42
|
};
|
|
40
43
|
type Severity = (typeof Severity)[keyof typeof Severity];
|
|
44
|
+
const Cause: {
|
|
45
|
+
readonly Unschedulable: "unschedulable";
|
|
46
|
+
readonly ImagePull: "image_pull";
|
|
47
|
+
readonly ConfigMissing: "config_missing";
|
|
48
|
+
readonly Volume: "volume";
|
|
49
|
+
readonly Sandbox: "sandbox";
|
|
50
|
+
readonly InitFailing: "init_failing";
|
|
51
|
+
readonly Crash: "crash";
|
|
52
|
+
readonly ReadinessFailing: "readiness_failing";
|
|
53
|
+
readonly Unknown: "unknown";
|
|
54
|
+
};
|
|
55
|
+
type Cause = (typeof Cause)[keyof typeof Cause];
|
|
41
56
|
}
|
|
@@ -39,6 +39,7 @@ var Indicator;
|
|
|
39
39
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
40
40
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
41
41
|
Eviction: "eviction",
|
|
42
|
+
NeverStarted: "never_started",
|
|
42
43
|
NoReadyReplica: "no_ready_replica",
|
|
43
44
|
CrashLooping: "crash_looping",
|
|
44
45
|
PodsPending: "pods_pending",
|
|
@@ -52,6 +53,17 @@ var Indicator;
|
|
|
52
53
|
Low: "low",
|
|
53
54
|
Info: "info"
|
|
54
55
|
};
|
|
56
|
+
Indicator2.Cause = {
|
|
57
|
+
Unschedulable: "unschedulable",
|
|
58
|
+
ImagePull: "image_pull",
|
|
59
|
+
ConfigMissing: "config_missing",
|
|
60
|
+
Volume: "volume",
|
|
61
|
+
Sandbox: "sandbox",
|
|
62
|
+
InitFailing: "init_failing",
|
|
63
|
+
Crash: "crash",
|
|
64
|
+
ReadinessFailing: "readiness_failing",
|
|
65
|
+
Unknown: "unknown"
|
|
66
|
+
};
|
|
55
67
|
})(Indicator || (Indicator = {}));
|
|
56
68
|
// Annotate the CommonJS export names for ESM import in node:
|
|
57
69
|
0 && (module.exports = {
|
|
@@ -16,6 +16,7 @@ var Indicator;
|
|
|
16
16
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
17
17
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
18
18
|
Eviction: "eviction",
|
|
19
|
+
NeverStarted: "never_started",
|
|
19
20
|
NoReadyReplica: "no_ready_replica",
|
|
20
21
|
CrashLooping: "crash_looping",
|
|
21
22
|
PodsPending: "pods_pending",
|
|
@@ -29,6 +30,17 @@ var Indicator;
|
|
|
29
30
|
Low: "low",
|
|
30
31
|
Info: "info"
|
|
31
32
|
};
|
|
33
|
+
Indicator2.Cause = {
|
|
34
|
+
Unschedulable: "unschedulable",
|
|
35
|
+
ImagePull: "image_pull",
|
|
36
|
+
ConfigMissing: "config_missing",
|
|
37
|
+
Volume: "volume",
|
|
38
|
+
Sandbox: "sandbox",
|
|
39
|
+
InitFailing: "init_failing",
|
|
40
|
+
Crash: "crash",
|
|
41
|
+
ReadinessFailing: "readiness_failing",
|
|
42
|
+
Unknown: "unknown"
|
|
43
|
+
};
|
|
32
44
|
})(Indicator || (Indicator = {}));
|
|
33
45
|
export {
|
|
34
46
|
Indicator
|
|
@@ -22,6 +22,7 @@ export declare namespace IndicatorCount {
|
|
|
22
22
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
23
23
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
24
24
|
readonly Eviction: "eviction";
|
|
25
|
+
readonly NeverStarted: "never_started";
|
|
25
26
|
readonly NoReadyReplica: "no_ready_replica";
|
|
26
27
|
readonly CrashLooping: "crash_looping";
|
|
27
28
|
readonly PodsPending: "pods_pending";
|
|
@@ -22,6 +22,7 @@ export declare namespace IndicatorCount {
|
|
|
22
22
|
readonly OverProvisionedCpuRequest: "over_provisioned_cpu_request";
|
|
23
23
|
readonly OverProvisionedMemoryRequest: "over_provisioned_memory_request";
|
|
24
24
|
readonly Eviction: "eviction";
|
|
25
|
+
readonly NeverStarted: "never_started";
|
|
25
26
|
readonly NoReadyReplica: "no_ready_replica";
|
|
26
27
|
readonly CrashLooping: "crash_looping";
|
|
27
28
|
readonly PodsPending: "pods_pending";
|
|
@@ -39,6 +39,7 @@ var IndicatorCount;
|
|
|
39
39
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
40
40
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
41
41
|
Eviction: "eviction",
|
|
42
|
+
NeverStarted: "never_started",
|
|
42
43
|
NoReadyReplica: "no_ready_replica",
|
|
43
44
|
CrashLooping: "crash_looping",
|
|
44
45
|
PodsPending: "pods_pending",
|
|
@@ -16,6 +16,7 @@ var IndicatorCount;
|
|
|
16
16
|
OverProvisionedCpuRequest: "over_provisioned_cpu_request",
|
|
17
17
|
OverProvisionedMemoryRequest: "over_provisioned_memory_request",
|
|
18
18
|
Eviction: "eviction",
|
|
19
|
+
NeverStarted: "never_started",
|
|
19
20
|
NoReadyReplica: "no_ready_replica",
|
|
20
21
|
CrashLooping: "crash_looping",
|
|
21
22
|
PodsPending: "pods_pending",
|
|
@@ -9,6 +9,8 @@ export interface NamespaceAutomation {
|
|
|
9
9
|
resize_enabled: boolean;
|
|
10
10
|
/** The person who turned in-place resize on */
|
|
11
11
|
resize_enabled_by?: (string | null) | undefined;
|
|
12
|
+
/** Who turned in-place resize on in this namespace: object (a configuration object turned on a workload of it), dashboard, or off. Same rule as the answer to the component's sync, so it is off wherever the sync leaves the namespace out: automation paused, recommendations off, the levelfour.ai/automation=off label, another tool sizing it, or a takeover not finished. With the cluster's switch off, only an object counts. An object LevelFour can't read is left out, though the component still follows it. permitted says whether the component may act in the namespace. Null while the component is not reporting, and on every other route */
|
|
13
|
+
resize_in_force?: (NamespaceAutomation.ResizeInForce | null) | undefined;
|
|
12
14
|
automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
|
|
13
15
|
/** The person who turned auto-merge on */
|
|
14
16
|
automerge_enabled_by?: (string | null) | undefined;
|
|
@@ -58,6 +60,12 @@ export declare namespace NamespaceAutomation {
|
|
|
58
60
|
readonly Default: "default";
|
|
59
61
|
};
|
|
60
62
|
type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
|
|
63
|
+
const ResizeInForce: {
|
|
64
|
+
readonly Object: "object";
|
|
65
|
+
readonly Dashboard: "dashboard";
|
|
66
|
+
readonly Off: "off";
|
|
67
|
+
};
|
|
68
|
+
type ResizeInForce = (typeof ResizeInForce)[keyof typeof ResizeInForce];
|
|
61
69
|
type AutomergeClasses = AutomergeClasses.Item[];
|
|
62
70
|
namespace AutomergeClasses {
|
|
63
71
|
const Item: {
|
|
@@ -9,6 +9,8 @@ export interface NamespaceAutomation {
|
|
|
9
9
|
resize_enabled: boolean;
|
|
10
10
|
/** The person who turned in-place resize on */
|
|
11
11
|
resize_enabled_by?: (string | null) | undefined;
|
|
12
|
+
/** Who turned in-place resize on in this namespace: object (a configuration object turned on a workload of it), dashboard, or off. Same rule as the answer to the component's sync, so it is off wherever the sync leaves the namespace out: automation paused, recommendations off, the levelfour.ai/automation=off label, another tool sizing it, or a takeover not finished. With the cluster's switch off, only an object counts. An object LevelFour can't read is left out, though the component still follows it. permitted says whether the component may act in the namespace. Null while the component is not reporting, and on every other route */
|
|
13
|
+
resize_in_force?: (NamespaceAutomation.ResizeInForce | null) | undefined;
|
|
12
14
|
automerge_classes: NamespaceAutomation.AutomergeClasses.Item[];
|
|
13
15
|
/** The person who turned auto-merge on */
|
|
14
16
|
automerge_enabled_by?: (string | null) | undefined;
|
|
@@ -58,6 +60,12 @@ export declare namespace NamespaceAutomation {
|
|
|
58
60
|
readonly Default: "default";
|
|
59
61
|
};
|
|
60
62
|
type ScopeSource = (typeof ScopeSource)[keyof typeof ScopeSource];
|
|
63
|
+
const ResizeInForce: {
|
|
64
|
+
readonly Object: "object";
|
|
65
|
+
readonly Dashboard: "dashboard";
|
|
66
|
+
readonly Off: "off";
|
|
67
|
+
};
|
|
68
|
+
type ResizeInForce = (typeof ResizeInForce)[keyof typeof ResizeInForce];
|
|
61
69
|
type AutomergeClasses = AutomergeClasses.Item[];
|
|
62
70
|
namespace AutomergeClasses {
|
|
63
71
|
const Item: {
|
|
@@ -35,6 +35,11 @@ var NamespaceAutomation;
|
|
|
35
35
|
Object: "object",
|
|
36
36
|
Default: "default"
|
|
37
37
|
};
|
|
38
|
+
NamespaceAutomation2.ResizeInForce = {
|
|
39
|
+
Object: "object",
|
|
40
|
+
Dashboard: "dashboard",
|
|
41
|
+
Off: "off"
|
|
42
|
+
};
|
|
38
43
|
let AutomergeClasses;
|
|
39
44
|
((AutomergeClasses2) => {
|
|
40
45
|
AutomergeClasses2.Item = {
|
|
@@ -12,6 +12,11 @@ var NamespaceAutomation;
|
|
|
12
12
|
Object: "object",
|
|
13
13
|
Default: "default"
|
|
14
14
|
};
|
|
15
|
+
NamespaceAutomation2.ResizeInForce = {
|
|
16
|
+
Object: "object",
|
|
17
|
+
Dashboard: "dashboard",
|
|
18
|
+
Off: "off"
|
|
19
|
+
};
|
|
15
20
|
let AutomergeClasses;
|
|
16
21
|
((AutomergeClasses2) => {
|
|
17
22
|
AutomergeClasses2.Item = {
|
|
@@ -8,8 +8,10 @@ export interface NamespaceItem {
|
|
|
8
8
|
automation_step?: (NamespaceItem.AutomationStep | null) | undefined;
|
|
9
9
|
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
10
|
automation_blocked_by?: (NamespaceItem.AutomationBlockedBy | null) | undefined;
|
|
11
|
-
/** What the namespace'
|
|
11
|
+
/** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
|
|
12
12
|
available_savings_monthly?: (number | null) | undefined;
|
|
13
|
+
/** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
|
|
14
|
+
available_savings_monthly_net?: (number | null) | undefined;
|
|
13
15
|
name: string;
|
|
14
16
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
15
17
|
kind: NamespaceItem.Kind;
|
|
@@ -8,8 +8,10 @@ export interface NamespaceItem {
|
|
|
8
8
|
automation_step?: (NamespaceItem.AutomationStep | null) | undefined;
|
|
9
9
|
/** Why a blocked step cannot act: no automation component, a component that stopped reporting, the cluster's rightsizing off, another tool sizing the namespace, the levelfour.ai/automation=off label, the Helm install's namespaces leaving it out, or the approver gone; null unless blocked */
|
|
10
10
|
automation_blocked_by?: (NamespaceItem.AutomationBlockedBy | null) | undefined;
|
|
11
|
-
/** What the namespace'
|
|
11
|
+
/** What the namespace can save now a month: the sum of GET /savings' own items in it, a stopped workload at what its item is (the NodePool or node group it alone held included, its pods on a node that would go left out), its published recommendations and its orphaned claims. The nodes two or more stopped workloads hold and a NodePool's or node group's saving are their cluster's alone, so the namespaces add up to their cluster's available_savings_monthly less the Savings tab's nodes section */
|
|
12
12
|
available_savings_monthly?: (number | null) | undefined;
|
|
13
|
+
/** The same, net of the enterprise discount: GET /savings' monthly_net of the namespace's items */
|
|
14
|
+
available_savings_monthly_net?: (number | null) | undefined;
|
|
13
15
|
name: string;
|
|
14
16
|
/** idle is the nodes' unallocated capacity; node is the data transfer no workload sent */
|
|
15
17
|
kind: NamespaceItem.Kind;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface NoReadyShare {
|
|
2
|
-
/** Current workloads with replicas and none ready in two batches in a row (the no_ready_replica and crash_looping indicators) */
|
|
2
|
+
/** Current workloads with replicas and none ready in two batches in a row (the never_started, no_ready_replica and crash_looping indicators) */
|
|
3
3
|
workloads: number;
|
|
4
4
|
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
5
|
restarts: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface NoReadyShare {
|
|
2
|
-
/** Current workloads with replicas and none ready in two batches in a row (the no_ready_replica and crash_looping indicators) */
|
|
2
|
+
/** Current workloads with replicas and none ready in two batches in a row (the never_started, no_ready_replica and crash_looping indicators) */
|
|
3
3
|
workloads: number;
|
|
4
4
|
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
5
|
restarts: number;
|
|
@@ -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 */
|
|
@@ -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,21 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
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
|
+
}
|