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
|
@@ -2,7 +2,7 @@ import type * as LevelFour from "../index.mjs";
|
|
|
2
2
|
export interface SpendKpis {
|
|
3
3
|
/** This calendar month's complete days */
|
|
4
4
|
mtd_cost?: (number | null) | undefined;
|
|
5
|
-
/** Month to date plus the last seven complete days
|
|
5
|
+
/** Month to date plus, for each cluster, its pace for every day after the last one the bill priced: the average of the last seven complete days the bill priced and its agent watched in every hour. Null while a cluster the bill priced in the last week has fewer than three such days */
|
|
6
6
|
forecast_month_cost?: (number | null) | undefined;
|
|
7
7
|
/** The calendar month before */
|
|
8
8
|
last_month_cost?: (number | null) | undefined;
|
|
@@ -10,7 +10,7 @@ export interface SpendKpis {
|
|
|
10
10
|
avg_daily_cost?: (number | null) | undefined;
|
|
11
11
|
/** The same, over the previous window of equal length */
|
|
12
12
|
prev_avg_daily_cost?: (number | null) | undefined;
|
|
13
|
-
/**
|
|
13
|
+
/** A day at the forecast's pace, each cluster's added up; null as the forecast is */
|
|
14
14
|
projected_today_cost?: (number | null) | undefined;
|
|
15
15
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
16
16
|
mtd_cost_net?: (number | null) | undefined;
|
|
@@ -24,6 +24,17 @@ export interface SpendKpis {
|
|
|
24
24
|
prev_avg_daily_cost_net?: (number | null) | undefined;
|
|
25
25
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
26
26
|
projected_today_cost_net?: (number | null) | undefined;
|
|
27
|
+
/** Compute alone, without storage or data transfer, read and forecast as the figures above */
|
|
28
|
+
compute_month: LevelFour.ComputeMonth;
|
|
29
|
+
/** Set when no day these figures read (the window, the previous one, last month and this month so far) has a total, so each of them is null; values as on a day */
|
|
30
|
+
cost_unknown_reason?: (SpendKpis.CostUnknownReason | null) | undefined;
|
|
27
31
|
/** Provisioned for a fleet or a cluster (the node cost split), requested below it */
|
|
28
32
|
unit_cost: LevelFour.SpendUnitCost;
|
|
29
33
|
}
|
|
34
|
+
export declare namespace SpendKpis {
|
|
35
|
+
const CostUnknownReason: {
|
|
36
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
37
|
+
readonly NothingPriced: "nothing_priced";
|
|
38
|
+
};
|
|
39
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
40
|
+
}
|
|
@@ -2,7 +2,7 @@ import type * as LevelFour from "../index.js";
|
|
|
2
2
|
export interface SpendKpis {
|
|
3
3
|
/** This calendar month's complete days */
|
|
4
4
|
mtd_cost?: (number | null) | undefined;
|
|
5
|
-
/** Month to date plus the last seven complete days
|
|
5
|
+
/** Month to date plus, for each cluster, its pace for every day after the last one the bill priced: the average of the last seven complete days the bill priced and its agent watched in every hour. Null while a cluster the bill priced in the last week has fewer than three such days */
|
|
6
6
|
forecast_month_cost?: (number | null) | undefined;
|
|
7
7
|
/** The calendar month before */
|
|
8
8
|
last_month_cost?: (number | null) | undefined;
|
|
@@ -10,7 +10,7 @@ export interface SpendKpis {
|
|
|
10
10
|
avg_daily_cost?: (number | null) | undefined;
|
|
11
11
|
/** The same, over the previous window of equal length */
|
|
12
12
|
prev_avg_daily_cost?: (number | null) | undefined;
|
|
13
|
-
/**
|
|
13
|
+
/** A day at the forecast's pace, each cluster's added up; null as the forecast is */
|
|
14
14
|
projected_today_cost?: (number | null) | undefined;
|
|
15
15
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
16
16
|
mtd_cost_net?: (number | null) | undefined;
|
|
@@ -24,6 +24,17 @@ export interface SpendKpis {
|
|
|
24
24
|
prev_avg_daily_cost_net?: (number | null) | undefined;
|
|
25
25
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
26
26
|
projected_today_cost_net?: (number | null) | undefined;
|
|
27
|
+
/** Compute alone, without storage or data transfer, read and forecast as the figures above */
|
|
28
|
+
compute_month: LevelFour.ComputeMonth;
|
|
29
|
+
/** Set when no day these figures read (the window, the previous one, last month and this month so far) has a total, so each of them is null; values as on a day */
|
|
30
|
+
cost_unknown_reason?: (SpendKpis.CostUnknownReason | null) | undefined;
|
|
27
31
|
/** Provisioned for a fleet or a cluster (the node cost split), requested below it */
|
|
28
32
|
unit_cost: LevelFour.SpendUnitCost;
|
|
29
33
|
}
|
|
34
|
+
export declare namespace SpendKpis {
|
|
35
|
+
const CostUnknownReason: {
|
|
36
|
+
readonly ComputeUnpriced: "compute_unpriced";
|
|
37
|
+
readonly NothingPriced: "nothing_priced";
|
|
38
|
+
};
|
|
39
|
+
type CostUnknownReason = (typeof CostUnknownReason)[keyof typeof CostUnknownReason];
|
|
40
|
+
}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -13,5 +17,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
17
|
};
|
|
14
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
19
|
var SpendKpis_exports = {};
|
|
20
|
+
__export(SpendKpis_exports, {
|
|
21
|
+
SpendKpis: () => SpendKpis
|
|
22
|
+
});
|
|
16
23
|
module.exports = __toCommonJS(SpendKpis_exports);
|
|
24
|
+
var SpendKpis;
|
|
25
|
+
((SpendKpis2) => {
|
|
26
|
+
SpendKpis2.CostUnknownReason = {
|
|
27
|
+
ComputeUnpriced: "compute_unpriced",
|
|
28
|
+
NothingPriced: "nothing_priced"
|
|
29
|
+
};
|
|
30
|
+
})(SpendKpis || (SpendKpis = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
SpendKpis
|
|
34
|
+
});
|
|
17
35
|
//# sourceMappingURL=SpendKpis.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface SpendUnitCost {
|
|
2
2
|
cpu_per_vcpu_day?: (number | null) | undefined;
|
|
3
3
|
memory_per_gib_day?: (number | null) | undefined;
|
|
4
|
+
/** The claims' bill per GiB of their capacity a day, over the claims the bill priced and the agent reported every hour of that day, so the cost and the GiB cover the same hours */
|
|
4
5
|
storage_per_gib_day?: (number | null) | undefined;
|
|
5
6
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
6
7
|
cpu_per_vcpu_day_net?: (number | null) | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface SpendUnitCost {
|
|
2
2
|
cpu_per_vcpu_day?: (number | null) | undefined;
|
|
3
3
|
memory_per_gib_day?: (number | null) | undefined;
|
|
4
|
+
/** The claims' bill per GiB of their capacity a day, over the claims the bill priced and the agent reported every hour of that day, so the cost and the GiB cover the same hours */
|
|
4
5
|
storage_per_gib_day?: (number | null) | undefined;
|
|
5
6
|
/** The same after the enterprise discount and the commitments; a day rolled up before the net basis counts at its amortized cost */
|
|
6
7
|
cpu_per_vcpu_day_net?: (number | null) | undefined;
|
|
@@ -7,4 +7,8 @@ export interface SpotBalance {
|
|
|
7
7
|
/** Every pod in the pool tolerates interruption */
|
|
8
8
|
eligible?: boolean | undefined;
|
|
9
9
|
reason?: (string | null) | undefined;
|
|
10
|
+
/** Share of the pool's node-seconds on Spot over the window, by the nodes' capacity type */
|
|
11
|
+
spot_share?: (number | null) | undefined;
|
|
12
|
+
/** Every node of the pool ran on Spot over the window */
|
|
13
|
+
on_spot?: boolean | undefined;
|
|
10
14
|
}
|
|
@@ -7,4 +7,8 @@ export interface SpotBalance {
|
|
|
7
7
|
/** Every pod in the pool tolerates interruption */
|
|
8
8
|
eligible?: boolean | undefined;
|
|
9
9
|
reason?: (string | null) | undefined;
|
|
10
|
+
/** Share of the pool's node-seconds on Spot over the window, by the nodes' capacity type */
|
|
11
|
+
spot_share?: (number | null) | undefined;
|
|
12
|
+
/** Every node of the pool ran on Spot over the window */
|
|
13
|
+
on_spot?: boolean | undefined;
|
|
10
14
|
}
|
|
@@ -7,6 +7,8 @@ export interface StorageClassTotals {
|
|
|
7
7
|
provisioned_bytes?: (number | null) | undefined;
|
|
8
8
|
requested_bytes?: (number | null) | undefined;
|
|
9
9
|
used_bytes?: (number | null) | undefined;
|
|
10
|
+
/** The capacity of the claims the kubelet read */
|
|
11
|
+
measured_bytes?: (number | null) | undefined;
|
|
10
12
|
/** Over the window, removed claims included */
|
|
11
13
|
cost?: (number | null) | undefined;
|
|
12
14
|
/** Claims no running pod mounts */
|
|
@@ -7,6 +7,8 @@ export interface StorageClassTotals {
|
|
|
7
7
|
provisioned_bytes?: (number | null) | undefined;
|
|
8
8
|
requested_bytes?: (number | null) | undefined;
|
|
9
9
|
used_bytes?: (number | null) | undefined;
|
|
10
|
+
/** The capacity of the claims the kubelet read */
|
|
11
|
+
measured_bytes?: (number | null) | undefined;
|
|
10
12
|
/** Over the window, removed claims included */
|
|
11
13
|
cost?: (number | null) | undefined;
|
|
12
14
|
/** Claims no running pod mounts */
|
|
@@ -8,8 +8,11 @@ export interface StorageClassUsage {
|
|
|
8
8
|
capacity_bytes?: (number | null) | undefined;
|
|
9
9
|
/** What the claims asked for */
|
|
10
10
|
requested_bytes?: (number | null) | undefined;
|
|
11
|
+
/** What the kubelet read of the claims it has a reading for */
|
|
11
12
|
used_bytes?: (number | null) | undefined;
|
|
12
|
-
/**
|
|
13
|
+
/** The capacity of the claims the kubelet read: used_bytes is out of this, never out of claims whose use is unknown, such as one no pod mounts */
|
|
14
|
+
measured_capacity_bytes?: (number | null) | undefined;
|
|
15
|
+
/** What the bill charged the class's volumes over the window, removed claims included */
|
|
13
16
|
cost?: (number | null) | undefined;
|
|
14
17
|
/** Null until agent 0.3.0 reports the StorageClass */
|
|
15
18
|
provisioner?: (string | null) | undefined;
|
|
@@ -8,8 +8,11 @@ export interface StorageClassUsage {
|
|
|
8
8
|
capacity_bytes?: (number | null) | undefined;
|
|
9
9
|
/** What the claims asked for */
|
|
10
10
|
requested_bytes?: (number | null) | undefined;
|
|
11
|
+
/** What the kubelet read of the claims it has a reading for */
|
|
11
12
|
used_bytes?: (number | null) | undefined;
|
|
12
|
-
/**
|
|
13
|
+
/** The capacity of the claims the kubelet read: used_bytes is out of this, never out of claims whose use is unknown, such as one no pod mounts */
|
|
14
|
+
measured_capacity_bytes?: (number | null) | undefined;
|
|
15
|
+
/** What the bill charged the class's volumes over the window, removed claims included */
|
|
13
16
|
cost?: (number | null) | undefined;
|
|
14
17
|
/** Null until agent 0.3.0 reports the StorageClass */
|
|
15
18
|
provisioner?: (string | null) | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface TerraformIntegrationData {
|
|
2
|
+
/** The organization's standing IntegrationID for stacks applied with Terraform. Every AWS account a stack carrying it onboards connects to this organization, until the key is rotated. */
|
|
3
|
+
integration_id: string;
|
|
4
|
+
/** Value for the template's LevelFourHandshakeID parameter */
|
|
5
|
+
handshake_id: string;
|
|
6
|
+
/** Value for the template's PingbackTopicArn parameter */
|
|
7
|
+
pingback_topic_arn: string;
|
|
8
|
+
/** CloudFormation template that onboards one AWS account */
|
|
9
|
+
single_template_url: string;
|
|
10
|
+
/** CloudFormation StackSet wrapper template that onboards the accounts of an AWS Organization */
|
|
11
|
+
organization_template_url: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface TerraformIntegrationData {
|
|
2
|
+
/** The organization's standing IntegrationID for stacks applied with Terraform. Every AWS account a stack carrying it onboards connects to this organization, until the key is rotated. */
|
|
3
|
+
integration_id: string;
|
|
4
|
+
/** Value for the template's LevelFourHandshakeID parameter */
|
|
5
|
+
handshake_id: string;
|
|
6
|
+
/** Value for the template's PingbackTopicArn parameter */
|
|
7
|
+
pingback_topic_arn: string;
|
|
8
|
+
/** CloudFormation template that onboards one AWS account */
|
|
9
|
+
single_template_url: string;
|
|
10
|
+
/** CloudFormation StackSet wrapper template that onboards the accounts of an AWS Organization */
|
|
11
|
+
organization_template_url: string;
|
|
12
|
+
created_at: string;
|
|
13
|
+
}
|
|
@@ -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 TerraformIntegrationData_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(TerraformIntegrationData_exports);
|
|
17
|
+
//# sourceMappingURL=TerraformIntegrationData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=TerraformIntegrationData.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 TerraformIntegrationResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(TerraformIntegrationResponse_exports);
|
|
17
|
+
//# sourceMappingURL=TerraformIntegrationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=TerraformIntegrationResponse.mjs.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UnhealthyReason {
|
|
2
|
+
/** pdb_without_healthy_pods: every PodDisruptionBudget that stops the pod's eviction counts no healthy pod, one entry each. workload_never_ready: its Deployment or StatefulSet wants replicas and has none ready */
|
|
3
|
+
reason: UnhealthyReason.Reason;
|
|
4
|
+
/** One plain sentence naming the PodDisruptionBudget or the workload */
|
|
5
|
+
detail: string;
|
|
6
|
+
/** One plain sentence: what to change, on which object */
|
|
7
|
+
fix: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace UnhealthyReason {
|
|
10
|
+
/** pdb_without_healthy_pods: every PodDisruptionBudget that stops the pod's eviction counts no healthy pod, one entry each. workload_never_ready: its Deployment or StatefulSet wants replicas and has none ready */
|
|
11
|
+
const Reason: {
|
|
12
|
+
readonly PdbWithoutHealthyPods: "pdb_without_healthy_pods";
|
|
13
|
+
readonly WorkloadNeverReady: "workload_never_ready";
|
|
14
|
+
};
|
|
15
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UnhealthyReason {
|
|
2
|
+
/** pdb_without_healthy_pods: every PodDisruptionBudget that stops the pod's eviction counts no healthy pod, one entry each. workload_never_ready: its Deployment or StatefulSet wants replicas and has none ready */
|
|
3
|
+
reason: UnhealthyReason.Reason;
|
|
4
|
+
/** One plain sentence naming the PodDisruptionBudget or the workload */
|
|
5
|
+
detail: string;
|
|
6
|
+
/** One plain sentence: what to change, on which object */
|
|
7
|
+
fix: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace UnhealthyReason {
|
|
10
|
+
/** pdb_without_healthy_pods: every PodDisruptionBudget that stops the pod's eviction counts no healthy pod, one entry each. workload_never_ready: its Deployment or StatefulSet wants replicas and has none ready */
|
|
11
|
+
const Reason: {
|
|
12
|
+
readonly PdbWithoutHealthyPods: "pdb_without_healthy_pods";
|
|
13
|
+
readonly WorkloadNeverReady: "workload_never_ready";
|
|
14
|
+
};
|
|
15
|
+
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 UnhealthyReason_exports = {};
|
|
20
|
+
__export(UnhealthyReason_exports, {
|
|
21
|
+
UnhealthyReason: () => UnhealthyReason
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(UnhealthyReason_exports);
|
|
24
|
+
var UnhealthyReason;
|
|
25
|
+
((UnhealthyReason2) => {
|
|
26
|
+
UnhealthyReason2.Reason = {
|
|
27
|
+
PdbWithoutHealthyPods: "pdb_without_healthy_pods",
|
|
28
|
+
WorkloadNeverReady: "workload_never_ready"
|
|
29
|
+
};
|
|
30
|
+
})(UnhealthyReason || (UnhealthyReason = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
UnhealthyReason
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=UnhealthyReason.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var UnhealthyReason;
|
|
2
|
+
((UnhealthyReason2) => {
|
|
3
|
+
UnhealthyReason2.Reason = {
|
|
4
|
+
PdbWithoutHealthyPods: "pdb_without_healthy_pods",
|
|
5
|
+
WorkloadNeverReady: "workload_never_ready"
|
|
6
|
+
};
|
|
7
|
+
})(UnhealthyReason || (UnhealthyReason = {}));
|
|
8
|
+
export {
|
|
9
|
+
UnhealthyReason
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=UnhealthyReason.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface UnitCosts {
|
|
2
2
|
/** The nodes' cost split, per allocatable unit-hour */
|
|
3
3
|
provisioned?: (number | null) | undefined;
|
|
4
|
-
/** The containers' allocated cost, per requested unit-hour */
|
|
4
|
+
/** The containers' allocated cost, per requested unit-hour of the days the bill priced */
|
|
5
5
|
requested?: (number | null) | undefined;
|
|
6
6
|
/** The containers' allocated cost, per used unit-hour */
|
|
7
7
|
used?: (number | null) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface UnitCosts {
|
|
2
2
|
/** The nodes' cost split, per allocatable unit-hour */
|
|
3
3
|
provisioned?: (number | null) | undefined;
|
|
4
|
-
/** The containers' allocated cost, per requested unit-hour */
|
|
4
|
+
/** The containers' allocated cost, per requested unit-hour of the days the bill priced */
|
|
5
5
|
requested?: (number | null) | undefined;
|
|
6
6
|
/** The containers' allocated cost, per used unit-hour */
|
|
7
7
|
used?: (number | null) | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface UsageCoverage {
|
|
3
|
+
/** The nodes the agent counted at its last heartbeat */
|
|
4
|
+
nodes?: (number | null) | undefined;
|
|
5
|
+
/** The nodes whose kubelet the agent could not read usage from at its last heartbeat */
|
|
6
|
+
nodes_without_usage: number;
|
|
7
|
+
/** The kubelet collector's message at that heartbeat: how many nodes failed and why */
|
|
8
|
+
error?: (string | null) | undefined;
|
|
9
|
+
window: LevelFour.UsageCoverageWindow;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface UsageCoverage {
|
|
3
|
+
/** The nodes the agent counted at its last heartbeat */
|
|
4
|
+
nodes?: (number | null) | undefined;
|
|
5
|
+
/** The nodes whose kubelet the agent could not read usage from at its last heartbeat */
|
|
6
|
+
nodes_without_usage: number;
|
|
7
|
+
/** The kubelet collector's message at that heartbeat: how many nodes failed and why */
|
|
8
|
+
error?: (string | null) | undefined;
|
|
9
|
+
window: LevelFour.UsageCoverageWindow;
|
|
10
|
+
}
|
|
@@ -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 UsageCoverage_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UsageCoverage_exports);
|
|
17
|
+
//# sourceMappingURL=UsageCoverage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UsageCoverage.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 UsageCoverageResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UsageCoverageResponse_exports);
|
|
17
|
+
//# sourceMappingURL=UsageCoverageResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UsageCoverageResponse.mjs.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface UsageCoverageWindow {
|
|
2
|
+
/** The nodes the agent saw Ready for five minutes or more in an hour of the window */
|
|
3
|
+
nodes: number;
|
|
4
|
+
/** Of them, the nodes with such an hour that carried no usage sample: their pods' requests read as idle in the window's efficiency, used p95 and waste */
|
|
5
|
+
nodes_without_usage: number;
|
|
6
|
+
/** The share of those node-hours, by the seconds each node was up, that carried usage, 0 to 1 */
|
|
7
|
+
measured_share?: (number | null) | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface UsageCoverageWindow {
|
|
2
|
+
/** The nodes the agent saw Ready for five minutes or more in an hour of the window */
|
|
3
|
+
nodes: number;
|
|
4
|
+
/** Of them, the nodes with such an hour that carried no usage sample: their pods' requests read as idle in the window's efficiency, used p95 and waste */
|
|
5
|
+
nodes_without_usage: number;
|
|
6
|
+
/** The share of those node-hours, by the seconds each node was up, that carried usage, 0 to 1 */
|
|
7
|
+
measured_share?: (number | null) | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var UsageCoverageWindow_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UsageCoverageWindow_exports);
|
|
17
|
+
//# sourceMappingURL=UsageCoverageWindow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UsageCoverageWindow.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The provisioned and requested GiB of the claims the kubelet read, averaged as the figures beside them are.
|
|
3
|
+
* Used is out of these: a claim no pod mounts, or one with no reading, has use unknown, neither used nor wasted.
|
|
4
|
+
*/
|
|
5
|
+
export interface UseMeasured {
|
|
6
|
+
/** The fleet and a cluster only */
|
|
7
|
+
provisioned?: (number | null) | undefined;
|
|
8
|
+
requested?: (number | null) | undefined;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The provisioned and requested GiB of the claims the kubelet read, averaged as the figures beside them are.
|
|
3
|
+
* Used is out of these: a claim no pod mounts, or one with no reading, has use unknown, neither used nor wasted.
|
|
4
|
+
*/
|
|
5
|
+
export interface UseMeasured {
|
|
6
|
+
/** The fleet and a cluster only */
|
|
7
|
+
provisioned?: (number | null) | undefined;
|
|
8
|
+
requested?: (number | null) | undefined;
|
|
9
|
+
}
|
|
@@ -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 UseMeasured_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(UseMeasured_exports);
|
|
17
|
+
//# sourceMappingURL=UseMeasured.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=UseMeasured.mjs.map
|