levelfour 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/accounts/client/Client.d.mts +34 -0
- package/dist/api/resources/accounts/client/Client.d.ts +34 -0
- package/dist/api/resources/accounts/client/Client.js +204 -0
- package/dist/api/resources/accounts/client/Client.mjs +204 -0
- package/dist/api/types/AutomationAction.d.mts +1 -0
- package/dist/api/types/AutomationAction.d.ts +1 -0
- package/dist/api/types/AutomationAction.js +2 -1
- package/dist/api/types/AutomationAction.mjs +2 -1
- package/dist/api/types/AzureSubscriptionItem.d.mts +2 -0
- package/dist/api/types/AzureSubscriptionItem.d.ts +2 -0
- package/dist/api/types/BlockerTotals.d.mts +31 -1
- package/dist/api/types/BlockerTotals.d.ts +31 -1
- package/dist/api/types/ClaimBillRate.d.mts +15 -0
- package/dist/api/types/ClaimBillRate.d.ts +15 -0
- package/dist/api/types/ClaimBillRate.js +17 -0
- package/dist/api/types/ClaimBillRate.mjs +1 -0
- package/dist/api/types/ClusterFilterOptions.d.mts +1 -0
- package/dist/api/types/ClusterFilterOptions.d.ts +1 -0
- package/dist/api/types/ClusterFilterOptions.js +1 -0
- package/dist/api/types/ClusterFilterOptions.mjs +1 -0
- package/dist/api/types/ClusterHealth.d.mts +1 -1
- package/dist/api/types/ClusterHealth.d.ts +1 -1
- package/dist/api/types/ClusterItem.d.mts +18 -5
- package/dist/api/types/ClusterItem.d.ts +18 -5
- package/dist/api/types/ClusterItem.js +6 -0
- package/dist/api/types/ClusterItem.mjs +6 -0
- package/dist/api/types/ClusterSummary.d.mts +17 -1
- package/dist/api/types/ClusterSummary.d.ts +17 -1
- package/dist/api/types/ClusterSummary.js +5 -0
- package/dist/api/types/ClusterSummary.mjs +5 -0
- package/dist/api/types/ClusterUsageDay.d.mts +1 -1
- package/dist/api/types/ClusterUsageDay.d.ts +1 -1
- package/dist/api/types/ComputeMonth.d.mts +3 -2
- package/dist/api/types/ComputeMonth.d.ts +3 -2
- package/dist/api/types/ConsolidationBlocker.d.mts +32 -0
- package/dist/api/types/ConsolidationBlocker.d.ts +32 -0
- package/dist/api/types/ConsolidationBlocker.js +15 -0
- package/dist/api/types/ConsolidationBlocker.mjs +15 -0
- package/dist/api/types/ContainerDetail.d.mts +4 -0
- package/dist/api/types/ContainerDetail.d.ts +4 -0
- package/dist/api/types/ContainerJvmDay.d.mts +20 -0
- package/dist/api/types/ContainerJvmDay.d.ts +20 -0
- package/dist/api/types/ContainerJvmDay.js +17 -0
- package/dist/api/types/ContainerJvmDay.mjs +1 -0
- package/dist/api/types/ContainerJvmMeasured.d.mts +50 -0
- package/dist/api/types/ContainerJvmMeasured.d.ts +50 -0
- package/dist/api/types/ContainerJvmMeasured.js +41 -0
- package/dist/api/types/ContainerJvmMeasured.mjs +17 -0
- package/dist/api/types/CostSeries.d.mts +3 -2
- package/dist/api/types/CostSeries.d.ts +3 -2
- package/dist/api/types/CostSeries.js +2 -1
- package/dist/api/types/CostSeries.mjs +2 -1
- package/dist/api/types/DestinationTraffic.d.mts +17 -0
- package/dist/api/types/DestinationTraffic.d.ts +17 -0
- package/dist/api/types/DestinationTraffic.js +38 -0
- package/dist/api/types/DestinationTraffic.mjs +14 -0
- package/dist/api/types/Efficiency.d.mts +6 -0
- package/dist/api/types/Efficiency.d.ts +6 -0
- package/dist/api/types/EfficiencyPoint.d.mts +1 -0
- package/dist/api/types/EfficiencyPoint.d.ts +1 -0
- package/dist/api/types/FleetNamespace.d.mts +7 -0
- package/dist/api/types/FleetNamespace.d.ts +7 -0
- package/dist/api/types/FleetNamespace.js +4 -0
- package/dist/api/types/FleetNamespace.mjs +4 -0
- package/dist/api/types/FleetNodePool.d.mts +13 -5
- package/dist/api/types/FleetNodePool.d.ts +13 -5
- package/dist/api/types/FleetStorage.d.mts +3 -0
- package/dist/api/types/FleetStorage.d.ts +3 -0
- package/dist/api/types/FleetSummary.d.mts +13 -1
- package/dist/api/types/FleetSummary.d.ts +13 -1
- package/dist/api/types/FleetSummary.js +5 -0
- package/dist/api/types/FleetSummary.mjs +5 -0
- package/dist/api/types/FleetVolume.d.mts +23 -1
- package/dist/api/types/FleetVolume.d.ts +23 -1
- package/dist/api/types/FleetVolume.js +22 -0
- package/dist/api/types/FleetVolume.mjs +14 -0
- package/dist/api/types/FleetWorkload.d.mts +9 -0
- package/dist/api/types/FleetWorkload.d.ts +9 -0
- package/dist/api/types/FleetWorkload.js +4 -0
- package/dist/api/types/FleetWorkload.mjs +4 -0
- package/dist/api/types/FleetWorkloadFacets.d.mts +5 -0
- package/dist/api/types/FleetWorkloadFacets.d.ts +5 -0
- package/dist/api/types/FleetWorkloadFacets.js +17 -0
- package/dist/api/types/FleetWorkloadFacets.mjs +1 -0
- package/dist/api/types/FleetWorkloadListData.d.mts +1 -0
- package/dist/api/types/FleetWorkloadListData.d.ts +1 -0
- package/dist/api/types/HeldResources.d.mts +23 -0
- package/dist/api/types/HeldResources.d.ts +23 -0
- package/dist/api/types/HeldResources.js +39 -0
- package/dist/api/types/HeldResources.mjs +15 -0
- package/dist/api/types/Indicator.d.mts +4 -0
- package/dist/api/types/Indicator.d.ts +4 -0
- package/dist/api/types/Indicator.js +4 -0
- package/dist/api/types/Indicator.mjs +4 -0
- package/dist/api/types/IndicatorCount.d.mts +4 -0
- package/dist/api/types/IndicatorCount.d.ts +4 -0
- package/dist/api/types/IndicatorCount.js +4 -0
- package/dist/api/types/IndicatorCount.mjs +4 -0
- package/dist/api/types/JvmFlags.d.mts +38 -0
- package/dist/api/types/JvmFlags.d.ts +38 -0
- package/dist/api/types/JvmFlags.js +41 -0
- package/dist/api/types/JvmFlags.mjs +17 -0
- package/dist/api/types/JvmMeasured.d.mts +52 -0
- package/dist/api/types/JvmMeasured.d.ts +52 -0
- package/dist/api/types/JvmMeasured.js +41 -0
- package/dist/api/types/JvmMeasured.mjs +17 -0
- package/dist/api/types/JvmReaderHealth.d.mts +8 -0
- package/dist/api/types/JvmReaderHealth.d.ts +8 -0
- package/dist/api/types/JvmReaderHealth.js +17 -0
- package/dist/api/types/JvmReaderHealth.mjs +1 -0
- package/dist/api/types/JvmReaderNodeHealth.d.mts +21 -0
- package/dist/api/types/JvmReaderNodeHealth.d.ts +21 -0
- package/dist/api/types/JvmReaderNodeHealth.js +37 -0
- package/dist/api/types/JvmReaderNodeHealth.mjs +13 -0
- package/dist/api/types/JvmReaderResponse.d.mts +6 -0
- package/dist/api/types/JvmReaderResponse.d.ts +6 -0
- package/dist/api/types/JvmReaderResponse.js +17 -0
- package/dist/api/types/JvmReaderResponse.mjs +1 -0
- package/dist/api/types/KarpenterPool.d.mts +2 -0
- package/dist/api/types/KarpenterPool.d.ts +2 -0
- package/dist/api/types/KubernetesDataAvailability.d.mts +4 -0
- package/dist/api/types/KubernetesDataAvailability.d.ts +4 -0
- package/dist/api/types/NamespaceAutomation.d.mts +3 -0
- package/dist/api/types/NamespaceAutomation.d.ts +3 -0
- package/dist/api/types/NamespaceItem.d.mts +7 -0
- package/dist/api/types/NamespaceItem.d.ts +7 -0
- package/dist/api/types/NamespaceItem.js +4 -0
- package/dist/api/types/NamespaceItem.mjs +4 -0
- package/dist/api/types/NamespaceReliability.d.mts +4 -1
- package/dist/api/types/NamespaceReliability.d.ts +4 -1
- package/dist/api/types/NetworkLens.d.mts +2 -0
- package/dist/api/types/NetworkLens.d.ts +2 -0
- package/dist/api/types/NetworkTotals.d.mts +5 -1
- package/dist/api/types/NetworkTotals.d.ts +5 -1
- package/dist/api/types/NoReadyShare.d.mts +12 -0
- package/dist/api/types/NoReadyShare.d.ts +12 -0
- package/dist/api/types/NoReadyShare.js +17 -0
- package/dist/api/types/NoReadyShare.mjs +1 -0
- package/dist/api/types/NodeDetail.d.mts +2 -0
- package/dist/api/types/NodeDetail.d.ts +2 -0
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeItem.d.mts +3 -1
- package/dist/api/types/NodeItem.d.ts +3 -1
- package/dist/api/types/NodeMonthlyPrice.d.mts +24 -0
- package/dist/api/types/NodeMonthlyPrice.d.ts +24 -0
- package/dist/api/types/NodeMonthlyPrice.js +35 -0
- package/dist/api/types/NodeMonthlyPrice.mjs +11 -0
- package/dist/api/types/NodePoolDay.d.mts +1 -1
- package/dist/api/types/NodePoolDay.d.ts +1 -1
- package/dist/api/types/NodePoolUsage.d.mts +13 -5
- package/dist/api/types/NodePoolUsage.d.ts +13 -5
- package/dist/api/types/OtherRightsizer.d.mts +14 -0
- package/dist/api/types/OtherRightsizer.d.ts +14 -0
- package/dist/api/types/OtherRightsizer.js +35 -0
- package/dist/api/types/OtherRightsizer.mjs +11 -0
- package/dist/api/types/PendingShare.d.mts +6 -0
- package/dist/api/types/PendingShare.d.ts +6 -0
- package/dist/api/types/PendingShare.js +17 -0
- package/dist/api/types/PendingShare.mjs +1 -0
- package/dist/api/types/PodCounts.d.mts +2 -2
- package/dist/api/types/PodCounts.d.ts +2 -2
- package/dist/api/types/PodsHour.d.mts +3 -1
- package/dist/api/types/PodsHour.d.ts +3 -1
- package/dist/api/types/PurchaseTypeShare.d.mts +1 -1
- package/dist/api/types/PurchaseTypeShare.d.ts +1 -1
- package/dist/api/types/ReliabilityCounts.d.mts +3 -0
- package/dist/api/types/ReliabilityCounts.d.ts +3 -0
- package/dist/api/types/ReliabilityDay.d.mts +8 -5
- package/dist/api/types/ReliabilityDay.d.ts +8 -5
- package/dist/api/types/ReliabilityEventDay.d.mts +4 -3
- package/dist/api/types/ReliabilityEventDay.d.ts +4 -3
- package/dist/api/types/ReliabilityFacetCount.d.mts +17 -0
- package/dist/api/types/ReliabilityFacetCount.d.ts +17 -0
- package/dist/api/types/ReliabilityFacetCount.js +41 -0
- package/dist/api/types/ReliabilityFacetCount.mjs +17 -0
- package/dist/api/types/ReliabilityLens.d.mts +2 -1
- package/dist/api/types/ReliabilityLens.d.ts +2 -1
- package/dist/api/types/ReliabilityTotals.d.mts +12 -3
- package/dist/api/types/ReliabilityTotals.d.ts +12 -3
- package/dist/api/types/RequestsAverage.d.mts +3 -1
- package/dist/api/types/RequestsAverage.d.ts +3 -1
- package/dist/api/types/ResourceEfficiency.d.mts +7 -1
- package/dist/api/types/ResourceEfficiency.d.ts +7 -1
- package/dist/api/types/RightsizedContainer.d.mts +19 -5
- package/dist/api/types/RightsizedContainer.d.ts +19 -5
- package/dist/api/types/RightsizedContainer.js +10 -1
- package/dist/api/types/RightsizedContainer.mjs +10 -1
- package/dist/api/types/SizingEvidence.d.mts +30 -0
- package/dist/api/types/SizingEvidence.d.ts +30 -0
- package/dist/api/types/SizingEvidence.js +40 -0
- package/dist/api/types/SizingEvidence.mjs +16 -0
- package/dist/api/types/SpendDay.d.mts +17 -2
- package/dist/api/types/SpendDay.d.ts +17 -2
- package/dist/api/types/SpendDay.js +18 -0
- package/dist/api/types/SpendDay.mjs +10 -0
- package/dist/api/types/SpendKpis.d.mts +13 -2
- package/dist/api/types/SpendKpis.d.ts +13 -2
- package/dist/api/types/SpendKpis.js +18 -0
- package/dist/api/types/SpendKpis.mjs +10 -0
- package/dist/api/types/SpendUnitCost.d.mts +1 -0
- package/dist/api/types/SpendUnitCost.d.ts +1 -0
- package/dist/api/types/SpotBalance.d.mts +4 -0
- package/dist/api/types/SpotBalance.d.ts +4 -0
- package/dist/api/types/StatusCount.d.mts +1 -0
- package/dist/api/types/StatusCount.d.ts +1 -0
- package/dist/api/types/StatusCount.js +1 -0
- package/dist/api/types/StatusCount.mjs +1 -0
- package/dist/api/types/StorageClassTotals.d.mts +2 -0
- package/dist/api/types/StorageClassTotals.d.ts +2 -0
- package/dist/api/types/StorageClassUsage.d.mts +4 -1
- package/dist/api/types/StorageClassUsage.d.ts +4 -1
- package/dist/api/types/TerraformIntegrationData.d.mts +13 -0
- package/dist/api/types/TerraformIntegrationData.d.ts +13 -0
- package/dist/api/types/TerraformIntegrationData.js +17 -0
- package/dist/api/types/TerraformIntegrationData.mjs +1 -0
- package/dist/api/types/TerraformIntegrationResponse.d.mts +6 -0
- package/dist/api/types/TerraformIntegrationResponse.d.ts +6 -0
- package/dist/api/types/TerraformIntegrationResponse.js +17 -0
- package/dist/api/types/TerraformIntegrationResponse.mjs +1 -0
- package/dist/api/types/UnhealthyReason.d.mts +16 -0
- package/dist/api/types/UnhealthyReason.d.ts +16 -0
- package/dist/api/types/UnhealthyReason.js +35 -0
- package/dist/api/types/UnhealthyReason.mjs +11 -0
- package/dist/api/types/UnitCosts.d.mts +1 -1
- package/dist/api/types/UnitCosts.d.ts +1 -1
- package/dist/api/types/UsageCoverage.d.mts +10 -0
- package/dist/api/types/UsageCoverage.d.ts +10 -0
- package/dist/api/types/UsageCoverage.js +17 -0
- package/dist/api/types/UsageCoverage.mjs +1 -0
- package/dist/api/types/UsageCoverageResponse.d.mts +6 -0
- package/dist/api/types/UsageCoverageResponse.d.ts +6 -0
- package/dist/api/types/UsageCoverageResponse.js +17 -0
- package/dist/api/types/UsageCoverageResponse.mjs +1 -0
- package/dist/api/types/UsageCoverageWindow.d.mts +8 -0
- package/dist/api/types/UsageCoverageWindow.d.ts +8 -0
- package/dist/api/types/UsageCoverageWindow.js +17 -0
- package/dist/api/types/UsageCoverageWindow.mjs +1 -0
- package/dist/api/types/UseMeasured.d.mts +9 -0
- package/dist/api/types/UseMeasured.d.ts +9 -0
- package/dist/api/types/UseMeasured.js +17 -0
- package/dist/api/types/UseMeasured.mjs +1 -0
- package/dist/api/types/UtilizationTarget.d.mts +34 -4
- package/dist/api/types/UtilizationTarget.d.ts +34 -4
- package/dist/api/types/UtilizationTarget.js +14 -1
- package/dist/api/types/UtilizationTarget.mjs +14 -1
- package/dist/api/types/VolumeItem.d.mts +23 -1
- package/dist/api/types/VolumeItem.d.ts +23 -1
- package/dist/api/types/VolumeItem.js +22 -0
- package/dist/api/types/VolumeItem.mjs +14 -0
- package/dist/api/types/Waste.d.mts +6 -2
- package/dist/api/types/Waste.d.ts +6 -2
- package/dist/api/types/WasteDay.d.mts +2 -0
- package/dist/api/types/WasteDay.d.ts +2 -0
- package/dist/api/types/WasteTotal.d.mts +4 -2
- package/dist/api/types/WasteTotal.d.ts +4 -2
- package/dist/api/types/WorkloadDay.d.mts +7 -0
- package/dist/api/types/WorkloadDay.d.ts +7 -0
- package/dist/api/types/WorkloadDetail.d.mts +8 -0
- package/dist/api/types/WorkloadDetail.d.ts +8 -0
- package/dist/api/types/WorkloadFacets.d.mts +4 -0
- package/dist/api/types/WorkloadFacets.d.ts +4 -0
- package/dist/api/types/WorkloadItem.d.mts +38 -0
- package/dist/api/types/WorkloadItem.d.ts +38 -0
- package/dist/api/types/WorkloadItem.js +20 -0
- package/dist/api/types/WorkloadItem.mjs +20 -0
- package/dist/api/types/WorkloadJvm.d.mts +15 -0
- package/dist/api/types/WorkloadJvm.d.ts +15 -0
- package/dist/api/types/WorkloadJvm.js +17 -0
- package/dist/api/types/WorkloadJvm.mjs +1 -0
- package/dist/api/types/WorkloadListData.d.mts +1 -1
- package/dist/api/types/WorkloadListData.d.ts +1 -1
- package/dist/api/types/WorkloadListItem.d.mts +132 -0
- package/dist/api/types/WorkloadListItem.d.ts +132 -0
- package/dist/api/types/WorkloadListItem.js +62 -0
- package/dist/api/types/WorkloadListItem.mjs +38 -0
- package/dist/api/types/index.d.mts +26 -0
- package/dist/api/types/index.d.ts +26 -0
- package/dist/api/types/index.js +52 -0
- package/dist/api/types/index.mjs +26 -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,41 @@
|
|
|
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 JvmFlags_exports = {};
|
|
20
|
+
__export(JvmFlags_exports, {
|
|
21
|
+
JvmFlags: () => JvmFlags
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(JvmFlags_exports);
|
|
24
|
+
var JvmFlags;
|
|
25
|
+
((JvmFlags2) => {
|
|
26
|
+
JvmFlags2.RequestedCollector = {
|
|
27
|
+
Serial: "serial",
|
|
28
|
+
Parallel: "parallel",
|
|
29
|
+
Cms: "cms",
|
|
30
|
+
G1: "g1",
|
|
31
|
+
Zgc: "zgc",
|
|
32
|
+
Shenandoah: "shenandoah",
|
|
33
|
+
Epsilon: "epsilon",
|
|
34
|
+
Unknown: "unknown"
|
|
35
|
+
};
|
|
36
|
+
})(JvmFlags || (JvmFlags = {}));
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
JvmFlags
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=JvmFlags.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var JvmFlags;
|
|
2
|
+
((JvmFlags2) => {
|
|
3
|
+
JvmFlags2.RequestedCollector = {
|
|
4
|
+
Serial: "serial",
|
|
5
|
+
Parallel: "parallel",
|
|
6
|
+
Cms: "cms",
|
|
7
|
+
G1: "g1",
|
|
8
|
+
Zgc: "zgc",
|
|
9
|
+
Shenandoah: "shenandoah",
|
|
10
|
+
Epsilon: "epsilon",
|
|
11
|
+
Unknown: "unknown"
|
|
12
|
+
};
|
|
13
|
+
})(JvmFlags || (JvmFlags = {}));
|
|
14
|
+
export {
|
|
15
|
+
JvmFlags
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=JvmFlags.mjs.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* What the opt-in JVM reader measured inside the container's JVMs over the window. Sizes are the most any one pod
|
|
4
|
+
* reached in any hour, several JVMs of one container adding up.
|
|
5
|
+
*/
|
|
6
|
+
export interface JvmMeasured {
|
|
7
|
+
/** Hours of the window the reader measured the container in */
|
|
8
|
+
hours: number;
|
|
9
|
+
/** Seconds it measured the container over those hours */
|
|
10
|
+
sampled_seconds: number;
|
|
11
|
+
/** The most JVMs counted in the container in one hour */
|
|
12
|
+
jvms: number;
|
|
13
|
+
/** The heap the JVMs may grow to, from their own counters */
|
|
14
|
+
heap_max_bytes: number;
|
|
15
|
+
/** An upper bound on the live set: each JVM's least heap in use (young and old) in an hour, the JVMs of one container added up. The live set is never above it. Null when no hour had one */
|
|
16
|
+
live_set_max_bytes?: (number | null) | undefined;
|
|
17
|
+
/** The most heap in use: each JVM's most heap in use (young and old) in an hour, the JVMs of one container added up. For a chart, not for sizing: some collectors move their used counters only at a collection. Null when no hour had one */
|
|
18
|
+
heap_used_max_bytes?: (number | null) | undefined;
|
|
19
|
+
/** The heap the JVMs had committed */
|
|
20
|
+
committed_max_bytes: number;
|
|
21
|
+
/** Resident memory beside the heap: metaspace, code, thread stacks, direct buffers, C heap. Anonymous and shared resident memory less the committed heap; anonymous only for ZGC, whose heap is shared */
|
|
22
|
+
outside_heap_max_bytes: number;
|
|
23
|
+
metaspace_max_bytes: number;
|
|
24
|
+
/** The largest share of a span of five minutes or more one JVM spent in collection pauses, 0 to 1. Null for ZGC and Shenandoah, and before a JVM ran five minutes */
|
|
25
|
+
gc_share_max?: (number | null) | undefined;
|
|
26
|
+
/** Seconds spent in collection pauses over the window. Null when no pause was counted, always for ZGC and Shenandoah */
|
|
27
|
+
gc_seconds?: (number | null) | undefined;
|
|
28
|
+
/** The latest hour measured, which the fields below are read from */
|
|
29
|
+
latest_hour: string;
|
|
30
|
+
/** Null in an hour no JVM counted */
|
|
31
|
+
collector?: (JvmMeasured.Collector | null) | undefined;
|
|
32
|
+
/** 21 for JDK 21.0.13 */
|
|
33
|
+
jdk_feature?: (number | null) | undefined;
|
|
34
|
+
/** 13 for JDK 21.0.13 */
|
|
35
|
+
jdk_update?: (number | null) | undefined;
|
|
36
|
+
flags: LevelFour.JvmFlags;
|
|
37
|
+
/** The JVMs whose counters could not be read, by reason */
|
|
38
|
+
missed: Record<string, number>;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace JvmMeasured {
|
|
41
|
+
const Collector: {
|
|
42
|
+
readonly Serial: "serial";
|
|
43
|
+
readonly Parallel: "parallel";
|
|
44
|
+
readonly Cms: "cms";
|
|
45
|
+
readonly G1: "g1";
|
|
46
|
+
readonly Zgc: "zgc";
|
|
47
|
+
readonly Shenandoah: "shenandoah";
|
|
48
|
+
readonly Epsilon: "epsilon";
|
|
49
|
+
readonly Unknown: "unknown";
|
|
50
|
+
};
|
|
51
|
+
type Collector = (typeof Collector)[keyof typeof Collector];
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* What the opt-in JVM reader measured inside the container's JVMs over the window. Sizes are the most any one pod
|
|
4
|
+
* reached in any hour, several JVMs of one container adding up.
|
|
5
|
+
*/
|
|
6
|
+
export interface JvmMeasured {
|
|
7
|
+
/** Hours of the window the reader measured the container in */
|
|
8
|
+
hours: number;
|
|
9
|
+
/** Seconds it measured the container over those hours */
|
|
10
|
+
sampled_seconds: number;
|
|
11
|
+
/** The most JVMs counted in the container in one hour */
|
|
12
|
+
jvms: number;
|
|
13
|
+
/** The heap the JVMs may grow to, from their own counters */
|
|
14
|
+
heap_max_bytes: number;
|
|
15
|
+
/** An upper bound on the live set: each JVM's least heap in use (young and old) in an hour, the JVMs of one container added up. The live set is never above it. Null when no hour had one */
|
|
16
|
+
live_set_max_bytes?: (number | null) | undefined;
|
|
17
|
+
/** The most heap in use: each JVM's most heap in use (young and old) in an hour, the JVMs of one container added up. For a chart, not for sizing: some collectors move their used counters only at a collection. Null when no hour had one */
|
|
18
|
+
heap_used_max_bytes?: (number | null) | undefined;
|
|
19
|
+
/** The heap the JVMs had committed */
|
|
20
|
+
committed_max_bytes: number;
|
|
21
|
+
/** Resident memory beside the heap: metaspace, code, thread stacks, direct buffers, C heap. Anonymous and shared resident memory less the committed heap; anonymous only for ZGC, whose heap is shared */
|
|
22
|
+
outside_heap_max_bytes: number;
|
|
23
|
+
metaspace_max_bytes: number;
|
|
24
|
+
/** The largest share of a span of five minutes or more one JVM spent in collection pauses, 0 to 1. Null for ZGC and Shenandoah, and before a JVM ran five minutes */
|
|
25
|
+
gc_share_max?: (number | null) | undefined;
|
|
26
|
+
/** Seconds spent in collection pauses over the window. Null when no pause was counted, always for ZGC and Shenandoah */
|
|
27
|
+
gc_seconds?: (number | null) | undefined;
|
|
28
|
+
/** The latest hour measured, which the fields below are read from */
|
|
29
|
+
latest_hour: string;
|
|
30
|
+
/** Null in an hour no JVM counted */
|
|
31
|
+
collector?: (JvmMeasured.Collector | null) | undefined;
|
|
32
|
+
/** 21 for JDK 21.0.13 */
|
|
33
|
+
jdk_feature?: (number | null) | undefined;
|
|
34
|
+
/** 13 for JDK 21.0.13 */
|
|
35
|
+
jdk_update?: (number | null) | undefined;
|
|
36
|
+
flags: LevelFour.JvmFlags;
|
|
37
|
+
/** The JVMs whose counters could not be read, by reason */
|
|
38
|
+
missed: Record<string, number>;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace JvmMeasured {
|
|
41
|
+
const Collector: {
|
|
42
|
+
readonly Serial: "serial";
|
|
43
|
+
readonly Parallel: "parallel";
|
|
44
|
+
readonly Cms: "cms";
|
|
45
|
+
readonly G1: "g1";
|
|
46
|
+
readonly Zgc: "zgc";
|
|
47
|
+
readonly Shenandoah: "shenandoah";
|
|
48
|
+
readonly Epsilon: "epsilon";
|
|
49
|
+
readonly Unknown: "unknown";
|
|
50
|
+
};
|
|
51
|
+
type Collector = (typeof Collector)[keyof typeof Collector];
|
|
52
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 JvmMeasured_exports = {};
|
|
20
|
+
__export(JvmMeasured_exports, {
|
|
21
|
+
JvmMeasured: () => JvmMeasured
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(JvmMeasured_exports);
|
|
24
|
+
var JvmMeasured;
|
|
25
|
+
((JvmMeasured2) => {
|
|
26
|
+
JvmMeasured2.Collector = {
|
|
27
|
+
Serial: "serial",
|
|
28
|
+
Parallel: "parallel",
|
|
29
|
+
Cms: "cms",
|
|
30
|
+
G1: "g1",
|
|
31
|
+
Zgc: "zgc",
|
|
32
|
+
Shenandoah: "shenandoah",
|
|
33
|
+
Epsilon: "epsilon",
|
|
34
|
+
Unknown: "unknown"
|
|
35
|
+
};
|
|
36
|
+
})(JvmMeasured || (JvmMeasured = {}));
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
JvmMeasured
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=JvmMeasured.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var JvmMeasured;
|
|
2
|
+
((JvmMeasured2) => {
|
|
3
|
+
JvmMeasured2.Collector = {
|
|
4
|
+
Serial: "serial",
|
|
5
|
+
Parallel: "parallel",
|
|
6
|
+
Cms: "cms",
|
|
7
|
+
G1: "g1",
|
|
8
|
+
Zgc: "zgc",
|
|
9
|
+
Shenandoah: "shenandoah",
|
|
10
|
+
Epsilon: "epsilon",
|
|
11
|
+
Unknown: "unknown"
|
|
12
|
+
};
|
|
13
|
+
})(JvmMeasured || (JvmMeasured = {}));
|
|
14
|
+
export {
|
|
15
|
+
JvmMeasured
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=JvmMeasured.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface JvmReaderHealth {
|
|
3
|
+
cluster_id: string;
|
|
4
|
+
/** The end of the latest window the reader reported in; null before it reported in any */
|
|
5
|
+
window_end: string | null;
|
|
6
|
+
/** Each node as that window reported it, by name */
|
|
7
|
+
nodes: LevelFour.JvmReaderNodeHealth[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface JvmReaderHealth {
|
|
3
|
+
cluster_id: string;
|
|
4
|
+
/** The end of the latest window the reader reported in; null before it reported in any */
|
|
5
|
+
window_end: string | null;
|
|
6
|
+
/** Each node as that window reported it, by name */
|
|
7
|
+
nodes: LevelFour.JvmReaderNodeHealth[];
|
|
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 JvmReaderHealth_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(JvmReaderHealth_exports);
|
|
17
|
+
//# sourceMappingURL=JvmReaderHealth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=JvmReaderHealth.mjs.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface JvmReaderNodeHealth {
|
|
2
|
+
node: string;
|
|
3
|
+
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer */
|
|
4
|
+
state: JvmReaderNodeHealth.State;
|
|
5
|
+
/** The JVMs it saw in its last sample of the window */
|
|
6
|
+
jvms: number;
|
|
7
|
+
/** The JVMs it saw that it could not tie to a container */
|
|
8
|
+
unmapped: number;
|
|
9
|
+
/** The JVMs whose counters it could not read, by reason */
|
|
10
|
+
missed: Record<string, number>;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace JvmReaderNodeHealth {
|
|
13
|
+
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer */
|
|
14
|
+
const State: {
|
|
15
|
+
readonly Ok: "ok";
|
|
16
|
+
readonly NoReader: "no_reader";
|
|
17
|
+
readonly Pending: "pending";
|
|
18
|
+
readonly Unreachable: "unreachable";
|
|
19
|
+
};
|
|
20
|
+
type State = (typeof State)[keyof typeof State];
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface JvmReaderNodeHealth {
|
|
2
|
+
node: string;
|
|
3
|
+
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer */
|
|
4
|
+
state: JvmReaderNodeHealth.State;
|
|
5
|
+
/** The JVMs it saw in its last sample of the window */
|
|
6
|
+
jvms: number;
|
|
7
|
+
/** The JVMs it saw that it could not tie to a container */
|
|
8
|
+
unmapped: number;
|
|
9
|
+
/** The JVMs whose counters it could not read, by reason */
|
|
10
|
+
missed: Record<string, number>;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace JvmReaderNodeHealth {
|
|
13
|
+
/** ok; no_reader when none runs on the node; pending when its pod has not started; unreachable when it did not answer */
|
|
14
|
+
const State: {
|
|
15
|
+
readonly Ok: "ok";
|
|
16
|
+
readonly NoReader: "no_reader";
|
|
17
|
+
readonly Pending: "pending";
|
|
18
|
+
readonly Unreachable: "unreachable";
|
|
19
|
+
};
|
|
20
|
+
type State = (typeof State)[keyof typeof State];
|
|
21
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 JvmReaderNodeHealth_exports = {};
|
|
20
|
+
__export(JvmReaderNodeHealth_exports, {
|
|
21
|
+
JvmReaderNodeHealth: () => JvmReaderNodeHealth
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(JvmReaderNodeHealth_exports);
|
|
24
|
+
var JvmReaderNodeHealth;
|
|
25
|
+
((JvmReaderNodeHealth2) => {
|
|
26
|
+
JvmReaderNodeHealth2.State = {
|
|
27
|
+
Ok: "ok",
|
|
28
|
+
NoReader: "no_reader",
|
|
29
|
+
Pending: "pending",
|
|
30
|
+
Unreachable: "unreachable"
|
|
31
|
+
};
|
|
32
|
+
})(JvmReaderNodeHealth || (JvmReaderNodeHealth = {}));
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
JvmReaderNodeHealth
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=JvmReaderNodeHealth.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var JvmReaderNodeHealth;
|
|
2
|
+
((JvmReaderNodeHealth2) => {
|
|
3
|
+
JvmReaderNodeHealth2.State = {
|
|
4
|
+
Ok: "ok",
|
|
5
|
+
NoReader: "no_reader",
|
|
6
|
+
Pending: "pending",
|
|
7
|
+
Unreachable: "unreachable"
|
|
8
|
+
};
|
|
9
|
+
})(JvmReaderNodeHealth || (JvmReaderNodeHealth = {}));
|
|
10
|
+
export {
|
|
11
|
+
JvmReaderNodeHealth
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=JvmReaderNodeHealth.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 JvmReaderResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(JvmReaderResponse_exports);
|
|
17
|
+
//# sourceMappingURL=JvmReaderResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=JvmReaderResponse.mjs.map
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export interface KarpenterPool {
|
|
2
|
+
/** An EKS Auto Mode NodePool, whose Karpenter AWS runs */
|
|
3
|
+
auto_mode?: boolean | undefined;
|
|
2
4
|
consolidation_policy?: (string | null) | undefined;
|
|
3
5
|
limits?: Record<string, string> | undefined;
|
|
4
6
|
/** The current nodes' capacity over each limit */
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export interface KarpenterPool {
|
|
2
|
+
/** An EKS Auto Mode NodePool, whose Karpenter AWS runs */
|
|
3
|
+
auto_mode?: boolean | undefined;
|
|
2
4
|
consolidation_policy?: (string | null) | undefined;
|
|
3
5
|
limits?: Record<string, string> | undefined;
|
|
4
6
|
/** The current nodes' capacity over each limit */
|
|
@@ -9,4 +9,8 @@ export interface KubernetesDataAvailability {
|
|
|
9
9
|
volumes: boolean;
|
|
10
10
|
/** YYYY-MM-DD, the first day a connected cluster's nodes have a cost, or the one cluster_id names; null until one does */
|
|
11
11
|
first_day?: (string | null) | undefined;
|
|
12
|
+
/** When the agent first watched a connected cluster, the fleet's earliest or the one cluster_id names; null until an agent reports */
|
|
13
|
+
first_watched_at?: (string | null) | undefined;
|
|
14
|
+
/** Every hour the agent watched since first_watched_at, as the seconds its windows cover over 3600; for several clusters, each hour counts the longest any of them was watched */
|
|
15
|
+
hours_watched_total?: number | undefined;
|
|
12
16
|
}
|
|
@@ -9,4 +9,8 @@ export interface KubernetesDataAvailability {
|
|
|
9
9
|
volumes: boolean;
|
|
10
10
|
/** YYYY-MM-DD, the first day a connected cluster's nodes have a cost, or the one cluster_id names; null until one does */
|
|
11
11
|
first_day?: (string | null) | undefined;
|
|
12
|
+
/** When the agent first watched a connected cluster, the fleet's earliest or the one cluster_id names; null until an agent reports */
|
|
13
|
+
first_watched_at?: (string | null) | undefined;
|
|
14
|
+
/** Every hour the agent watched since first_watched_at, as the seconds its windows cover over 3600; for several clusters, each hour counts the longest any of them was watched */
|
|
15
|
+
hours_watched_total?: number | undefined;
|
|
12
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
1
2
|
export interface NamespaceAutomation {
|
|
2
3
|
namespace: string;
|
|
3
4
|
/** Automation acts only where recommendations are on */
|
|
@@ -24,6 +25,8 @@ export interface NamespaceAutomation {
|
|
|
24
25
|
turned_on_at?: (string | null) | undefined;
|
|
25
26
|
/** It carries levelfour.ai/automation=off, so the component never acts there whatever is set here */
|
|
26
27
|
blocked_by_label: boolean;
|
|
28
|
+
/** The tools besides LevelFour sizing its workloads, so the component never acts there whatever is set here; empty when none does */
|
|
29
|
+
other_rightsizers: LevelFour.OtherRightsizer[];
|
|
27
30
|
}
|
|
28
31
|
export declare namespace NamespaceAutomation {
|
|
29
32
|
/** Automation acts only where recommendations are on */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
1
2
|
export interface NamespaceAutomation {
|
|
2
3
|
namespace: string;
|
|
3
4
|
/** Automation acts only where recommendations are on */
|
|
@@ -24,6 +25,8 @@ export interface NamespaceAutomation {
|
|
|
24
25
|
turned_on_at?: (string | null) | undefined;
|
|
25
26
|
/** It carries levelfour.ai/automation=off, so the component never acts there whatever is set here */
|
|
26
27
|
blocked_by_label: boolean;
|
|
28
|
+
/** The tools besides LevelFour sizing its workloads, so the component never acts there whatever is set here; empty when none does */
|
|
29
|
+
other_rightsizers: LevelFour.OtherRightsizer[];
|
|
27
30
|
}
|
|
28
31
|
export declare namespace NamespaceAutomation {
|
|
29
32
|
/** Automation acts only where recommendations are on */
|
|
@@ -8,6 +8,8 @@ export interface NamespaceItem {
|
|
|
8
8
|
created_at?: (string | null) | undefined;
|
|
9
9
|
/** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
|
|
10
10
|
cost?: (number | null) | undefined;
|
|
11
|
+
/** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
|
|
12
|
+
cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
|
|
11
13
|
cost_share?: (number | null) | undefined;
|
|
12
14
|
/** Against the previous window of equal length, before any idle is shared */
|
|
13
15
|
cost_change_pct?: (number | null) | undefined;
|
|
@@ -57,6 +59,11 @@ export declare namespace NamespaceItem {
|
|
|
57
59
|
readonly Node: "node";
|
|
58
60
|
};
|
|
59
61
|
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
62
|
+
const CostUnknownReason: {
|
|
63
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
64
|
+
readonly NothingPriced: "nothing_priced";
|
|
65
|
+
};
|
|
66
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
60
67
|
const Recommendations: {
|
|
61
68
|
readonly Enabled: "enabled";
|
|
62
69
|
readonly Disabled: "disabled";
|
|
@@ -8,6 +8,8 @@ export interface NamespaceItem {
|
|
|
8
8
|
created_at?: (string | null) | undefined;
|
|
9
9
|
/** Containers, volumes and data transfer; with include_idle, each day's container cost grows by that day's node idle over everything the cluster's containers cost that day */
|
|
10
10
|
cost?: (number | null) | undefined;
|
|
11
|
+
/** Why the cost total beside it is null, and null when it is not. compute_unpriced: its own containers, or its cluster's nodes, ran and the bill has priced none of them, yet or at all, as the cluster's bill_status tells; its storage and data transfer alone are no total. nothing_priced: its cluster's nodes are priced, or did not run, and nothing of it carries a priced cost */
|
|
12
|
+
cost_unknown_reason?: (NamespaceItem.CostUnknownReason | null) | undefined;
|
|
11
13
|
cost_share?: (number | null) | undefined;
|
|
12
14
|
/** Against the previous window of equal length, before any idle is shared */
|
|
13
15
|
cost_change_pct?: (number | null) | undefined;
|
|
@@ -57,6 +59,11 @@ export declare namespace NamespaceItem {
|
|
|
57
59
|
readonly Node: "node";
|
|
58
60
|
};
|
|
59
61
|
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
62
|
+
const CostUnknownReason: {
|
|
63
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
64
|
+
readonly NothingPriced: "nothing_priced";
|
|
65
|
+
};
|
|
66
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
60
67
|
const Recommendations: {
|
|
61
68
|
readonly Enabled: "enabled";
|
|
62
69
|
readonly Disabled: "disabled";
|
|
@@ -29,6 +29,10 @@ var NamespaceItem;
|
|
|
29
29
|
System: "system",
|
|
30
30
|
Node: "node"
|
|
31
31
|
};
|
|
32
|
+
NamespaceItem2.CostUnknownReason = {
|
|
33
|
+
ComputeUnpriced: "compute_unpriced",
|
|
34
|
+
NothingPriced: "nothing_priced"
|
|
35
|
+
};
|
|
32
36
|
NamespaceItem2.Recommendations = {
|
|
33
37
|
Enabled: "enabled",
|
|
34
38
|
Disabled: "disabled",
|
|
@@ -6,6 +6,10 @@ var NamespaceItem;
|
|
|
6
6
|
System: "system",
|
|
7
7
|
Node: "node"
|
|
8
8
|
};
|
|
9
|
+
NamespaceItem2.CostUnknownReason = {
|
|
10
|
+
ComputeUnpriced: "compute_unpriced",
|
|
11
|
+
NothingPriced: "nothing_priced"
|
|
12
|
+
};
|
|
9
13
|
NamespaceItem2.Recommendations = {
|
|
10
14
|
Enabled: "enabled",
|
|
11
15
|
Disabled: "disabled",
|
|
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
|
|
|
3
3
|
restarts?: (number | null) | undefined;
|
|
4
4
|
/** Container-hours throttled a quarter of the time or more */
|
|
5
5
|
throttled_hours?: (number | null) | undefined;
|
|
6
|
+
/** Pods the kubelet evicted for node pressure */
|
|
6
7
|
evictions?: (number | null) | undefined;
|
|
8
|
+
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
|
|
9
|
+
drained_pods?: (number | null) | undefined;
|
|
7
10
|
pending_seconds?: (number | null) | undefined;
|
|
8
|
-
/** Current workloads
|
|
11
|
+
/** Current workloads at high risk: an OOM kill, an eviction or no ready replica. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
|
|
9
12
|
at_risk?: number | undefined;
|
|
10
13
|
}
|
|
@@ -3,8 +3,11 @@ export interface NamespaceReliability {
|
|
|
3
3
|
restarts?: (number | null) | undefined;
|
|
4
4
|
/** Container-hours throttled a quarter of the time or more */
|
|
5
5
|
throttled_hours?: (number | null) | undefined;
|
|
6
|
+
/** Pods the kubelet evicted for node pressure */
|
|
6
7
|
evictions?: (number | null) | undefined;
|
|
8
|
+
/** At most the pods moved off a node that a Spot interruption, an instance event or a Karpenter disruption (consolidation, drift, expiry) removed. They leave through the Eviction API, so evictions does not count them. Per removal, each workload counts the most of its pods that ran on the node at once in the hour the removal began, a pod that left the node earlier in that hour included. DaemonSet and static pods go with their node and are not counted, nor is a removal that began while the agent was not watching. A day is measured from agent 0.6.2 on, when every watched hour a removal's pods are read from carries the pods' peaks. Null unless the row's cluster measured every day of the window it reported */
|
|
9
|
+
drained_pods?: (number | null) | undefined;
|
|
7
10
|
pending_seconds?: (number | null) | undefined;
|
|
8
|
-
/** Current workloads
|
|
11
|
+
/** Current workloads at high risk: an OOM kill, an eviction or no ready replica. Medium and low never count. An ephemeral one, a pull-request environment, counts only with include_ephemeral */
|
|
9
12
|
at_risk?: number | undefined;
|
|
10
13
|
}
|
|
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.mjs";
|
|
|
2
2
|
export interface NetworkLens {
|
|
3
3
|
totals: LevelFour.NetworkTotals;
|
|
4
4
|
by_category: LevelFour.CategoryTransfer[];
|
|
5
|
+
/** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
|
|
6
|
+
by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
|
|
5
7
|
days: LevelFour.NetworkDay[];
|
|
6
8
|
}
|
|
@@ -2,5 +2,7 @@ import type * as LevelFour from "../index.js";
|
|
|
2
2
|
export interface NetworkLens {
|
|
3
3
|
totals: LevelFour.NetworkTotals;
|
|
4
4
|
by_category: LevelFour.CategoryTransfer[];
|
|
5
|
+
/** Where the pods' bytes went, every destination in a fixed order, adding up to tx_bytes unless the flows counted more; null until the opt-in netflow component measured a flow in the window */
|
|
6
|
+
by_destination?: (LevelFour.DestinationTraffic[] | null) | undefined;
|
|
5
7
|
days: LevelFour.NetworkDay[];
|
|
6
8
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export interface NetworkTotals {
|
|
2
|
+
/** Bytes the pods received, hostNetwork pods left out */
|
|
2
3
|
rx_bytes?: (number | null) | undefined;
|
|
4
|
+
/** Bytes the pods sent, hostNetwork pods left out */
|
|
3
5
|
tx_bytes?: (number | null) | undefined;
|
|
4
6
|
cost?: (number | null) | undefined;
|
|
5
|
-
/**
|
|
7
|
+
/** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
|
|
8
|
+
billed_bytes?: (number | null) | undefined;
|
|
9
|
+
/** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
|
|
6
10
|
cost_per_gb?: (number | null) | undefined;
|
|
7
11
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export interface NetworkTotals {
|
|
2
|
+
/** Bytes the pods received, hostNetwork pods left out */
|
|
2
3
|
rx_bytes?: (number | null) | undefined;
|
|
4
|
+
/** Bytes the pods sent, hostNetwork pods left out */
|
|
3
5
|
tx_bytes?: (number | null) | undefined;
|
|
4
6
|
cost?: (number | null) | undefined;
|
|
5
|
-
/**
|
|
7
|
+
/** Bytes the bill charged for, sent and received, in the categories it gives bytes for */
|
|
8
|
+
billed_bytes?: (number | null) | undefined;
|
|
9
|
+
/** The cost of the categories the bill gives bytes for, per GiB of billed_bytes */
|
|
6
10
|
cost_per_gb?: (number | null) | undefined;
|
|
7
11
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface NoReadyShare {
|
|
2
|
+
/** Current workloads with replicas and none ready (the no_ready_replica indicator) */
|
|
3
|
+
workloads: number;
|
|
4
|
+
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** How many of them restarted in the window */
|
|
7
|
+
restart_workloads: number;
|
|
8
|
+
/** Their OOM kills in the window */
|
|
9
|
+
oom_kills: number;
|
|
10
|
+
/** How many of them were OOM killed in the window */
|
|
11
|
+
oom_workloads: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface NoReadyShare {
|
|
2
|
+
/** Current workloads with replicas and none ready (the no_ready_replica indicator) */
|
|
3
|
+
workloads: number;
|
|
4
|
+
/** Their restarts in the window: a crash loop restarts every few minutes */
|
|
5
|
+
restarts: number;
|
|
6
|
+
/** How many of them restarted in the window */
|
|
7
|
+
restart_workloads: number;
|
|
8
|
+
/** Their OOM kills in the window */
|
|
9
|
+
oom_kills: number;
|
|
10
|
+
/** How many of them were OOM killed in the window */
|
|
11
|
+
oom_workloads: number;
|
|
12
|
+
}
|