@oneuptime/cli 14.0.100 → 14.0.101
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/build/dist/Index.js +47 -6
- package/package.json +1 -1
package/build/dist/Index.js
CHANGED
|
@@ -154379,6 +154379,7 @@ var KubernetesResource = class extends DatabaseBaseModel {
|
|
|
154379
154379
|
this.spec = void 0;
|
|
154380
154380
|
this.containerCount = void 0;
|
|
154381
154381
|
this.status = void 0;
|
|
154382
|
+
this.healthSeverity = void 0;
|
|
154382
154383
|
this.controllerDeploymentName = void 0;
|
|
154383
154384
|
this.controllerCronJobName = void 0;
|
|
154384
154385
|
this.latestCpuPercent = void 0;
|
|
@@ -154757,6 +154758,25 @@ __decorateClass([
|
|
|
154757
154758
|
type: ColumnType_default.JSON
|
|
154758
154759
|
})
|
|
154759
154760
|
], KubernetesResource.prototype, "status", 2);
|
|
154761
|
+
__decorateClass([
|
|
154762
|
+
ColumnAccessControl_default({
|
|
154763
|
+
create: [],
|
|
154764
|
+
read: READ_PERMISSIONS,
|
|
154765
|
+
update: []
|
|
154766
|
+
}),
|
|
154767
|
+
TableColumn_default({
|
|
154768
|
+
required: false,
|
|
154769
|
+
type: TableColumnType_default.ShortText,
|
|
154770
|
+
canReadOnRelationQuery: true,
|
|
154771
|
+
title: "Health Severity",
|
|
154772
|
+
description: "Whether the object needed attention when last seen: critical or warning, empty when it did not."
|
|
154773
|
+
}),
|
|
154774
|
+
Column({
|
|
154775
|
+
nullable: true,
|
|
154776
|
+
type: ColumnType_default.ShortText,
|
|
154777
|
+
length: ColumnLength_default.ShortText
|
|
154778
|
+
})
|
|
154779
|
+
], KubernetesResource.prototype, "healthSeverity", 2);
|
|
154760
154780
|
__decorateClass([
|
|
154761
154781
|
ColumnAccessControl_default({
|
|
154762
154782
|
create: [],
|
|
@@ -155059,6 +155079,9 @@ KubernetesResource = __decorateClass([
|
|
|
155059
155079
|
Index(["projectId", "kubernetesClusterId", "kind", "namespaceKey", "name"], {
|
|
155060
155080
|
unique: true
|
|
155061
155081
|
}),
|
|
155082
|
+
Index(["kubernetesClusterId"], {
|
|
155083
|
+
where: '"healthSeverity" IS NOT NULL AND "deletedAt" IS NULL'
|
|
155084
|
+
}),
|
|
155062
155085
|
Entity({
|
|
155063
155086
|
name: "KubernetesResource"
|
|
155064
155087
|
})
|
|
@@ -497984,7 +498007,7 @@ var NetworkTrafficUsage = class extends AnalyticsBaseModel {
|
|
|
497984
498007
|
column({
|
|
497985
498008
|
key: "kind",
|
|
497986
498009
|
title: "Kind",
|
|
497987
|
-
description: "What the row totals: 'uplink' (one uplink of one appliance), 'application' (one application and destination of one network)
|
|
498010
|
+
description: "What the row totals: 'uplink' (one uplink of one appliance), 'application' (one application and destination of one network), 'client' (one client of one network) or 'uplinkHealth' (the loss and latency of one uplink of one appliance)",
|
|
497988
498011
|
type: TableColumnType_default2.Text,
|
|
497989
498012
|
isLowCardinality: true
|
|
497990
498013
|
}),
|
|
@@ -498005,21 +498028,21 @@ var NetworkTrafficUsage = class extends AnalyticsBaseModel {
|
|
|
498005
498028
|
column({
|
|
498006
498029
|
key: "deviceSerial",
|
|
498007
498030
|
title: "Device Serial",
|
|
498008
|
-
description: "Uplink rows: the appliance's serial number. Empty on other rows",
|
|
498031
|
+
description: "Uplink and uplink health rows: the appliance's serial number. Empty on other rows",
|
|
498009
498032
|
type: TableColumnType_default2.Text,
|
|
498010
498033
|
isLowCardinality: true
|
|
498011
498034
|
}),
|
|
498012
498035
|
column({
|
|
498013
498036
|
key: "deviceName",
|
|
498014
498037
|
title: "Device Name",
|
|
498015
|
-
description: "Uplink rows: the appliance's name in the controller. Empty on other rows",
|
|
498038
|
+
description: "Uplink and uplink health rows: the appliance's name in the controller. Empty on other rows",
|
|
498016
498039
|
type: TableColumnType_default2.Text,
|
|
498017
498040
|
isLowCardinality: true
|
|
498018
498041
|
}),
|
|
498019
498042
|
column({
|
|
498020
498043
|
key: "interfaceName",
|
|
498021
498044
|
title: "Interface Name",
|
|
498022
|
-
description: "Uplink rows: the uplink (wan1, wan2, wan3, cellular). Empty on other rows",
|
|
498045
|
+
description: "Uplink and uplink health rows: the uplink (wan1, wan2, wan3, cellular). Empty on other rows",
|
|
498023
498046
|
type: TableColumnType_default2.Text,
|
|
498024
498047
|
isLowCardinality: true
|
|
498025
498048
|
}),
|
|
@@ -498104,6 +498127,24 @@ var NetworkTrafficUsage = class extends AnalyticsBaseModel {
|
|
|
498104
498127
|
description: "Application rows: how many clients used the application. 0 on other rows",
|
|
498105
498128
|
type: TableColumnType_default2.Number
|
|
498106
498129
|
}),
|
|
498130
|
+
/*
|
|
498131
|
+
* Nullable: a row of any other kind measures neither, and an uplink
|
|
498132
|
+
* that is down can lose every packet with no latency to report.
|
|
498133
|
+
*/
|
|
498134
|
+
column({
|
|
498135
|
+
key: "lossPercent",
|
|
498136
|
+
title: "Loss Percent",
|
|
498137
|
+
description: "Uplink health rows: the average packet loss the controller measured over the window, 0 to 100. Empty on other rows",
|
|
498138
|
+
type: TableColumnType_default2.Decimal,
|
|
498139
|
+
required: false
|
|
498140
|
+
}),
|
|
498141
|
+
column({
|
|
498142
|
+
key: "latencyMs",
|
|
498143
|
+
title: "Latency",
|
|
498144
|
+
description: "Uplink health rows: the average latency the controller measured over the window, in milliseconds. Empty on other rows",
|
|
498145
|
+
type: TableColumnType_default2.Decimal,
|
|
498146
|
+
required: false
|
|
498147
|
+
}),
|
|
498107
498148
|
column({
|
|
498108
498149
|
key: "windowStartAt",
|
|
498109
498150
|
title: "Window Start",
|
|
@@ -498126,8 +498167,8 @@ var NetworkTrafficUsage = class extends AnalyticsBaseModel {
|
|
|
498126
498167
|
projections: [],
|
|
498127
498168
|
/*
|
|
498128
498169
|
* Every read is one kind over a time range of one project, so the key
|
|
498129
|
-
* leads with those: a page's
|
|
498130
|
-
*
|
|
498170
|
+
* leads with those: each of a page's reads touches only the parts of
|
|
498171
|
+
* its kind and its window.
|
|
498131
498172
|
*/
|
|
498132
498173
|
sortKeys: ["projectId", "kind", "windowStartAt"],
|
|
498133
498174
|
primaryKeys: ["projectId", "kind", "windowStartAt"],
|