@fjall/components-infrastructure 39.2.0 → 39.2.2
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.
|
@@ -85,16 +85,17 @@ export interface ClickHouseAlarmThresholds {
|
|
|
85
85
|
export type ClickHouseHostAlarmThresholds = Pick<ClickHouseAlarmThresholds, "cpuThreshold" | "diskWarnThreshold" | "backupHeartbeatWindowHours">;
|
|
86
86
|
export declare const BACKUP_HEARTBEAT_DEFAULT_WINDOW_HOURS = 26;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* the
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
88
|
+
* An ordering bound, not what CloudWatch can express. The heartbeat pages
|
|
89
|
+
* only while its arming gate reads OK, so its absence alarm must page before
|
|
90
|
+
* the gate can read ALARM again. The gate's 7 daily buckets span 168 hours.
|
|
91
|
+
* In `platform-use1` on 12 November 2026 CloudWatch ended those buckets at
|
|
92
|
+
* the latest hour, so the gate held OK for at least its span. An earlier
|
|
93
|
+
* reading assumed buckets aligned at UTC midnight, which would end that up to
|
|
94
|
+
* 23 hours sooner. The bound keeps that reading's margin, so no window it
|
|
95
|
+
* admitted changes meaning, and takes 2 hours more for the absence alarm to
|
|
96
|
+
* page. So a schedule sparser than about 5.8 days (141 h between backups
|
|
97
|
+
* plus the 2 h margin) can't be monitored by the heartbeat. Disable it with
|
|
98
|
+
* `false` instead.
|
|
98
99
|
*/
|
|
99
100
|
export declare const BACKUP_HEARTBEAT_MAX_WINDOW_HOURS = 143;
|
|
100
101
|
/**
|
|
@@ -9,16 +9,17 @@ import { CLICKHOUSE_BACKUP_VERIFY_FAILED_MARKER, CLICKHOUSE_BACKUP_VERIFY_SKIPPE
|
|
|
9
9
|
import { toPascalCase } from "../../../utils/capitaliseString.js";
|
|
10
10
|
export const BACKUP_HEARTBEAT_DEFAULT_WINDOW_HOURS = 26;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* the
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
12
|
+
* An ordering bound, not what CloudWatch can express. The heartbeat pages
|
|
13
|
+
* only while its arming gate reads OK, so its absence alarm must page before
|
|
14
|
+
* the gate can read ALARM again. The gate's 7 daily buckets span 168 hours.
|
|
15
|
+
* In `platform-use1` on 12 November 2026 CloudWatch ended those buckets at
|
|
16
|
+
* the latest hour, so the gate held OK for at least its span. An earlier
|
|
17
|
+
* reading assumed buckets aligned at UTC midnight, which would end that up to
|
|
18
|
+
* 23 hours sooner. The bound keeps that reading's margin, so no window it
|
|
19
|
+
* admitted changes meaning, and takes 2 hours more for the absence alarm to
|
|
20
|
+
* page. So a schedule sparser than about 5.8 days (141 h between backups
|
|
21
|
+
* plus the 2 h margin) can't be monitored by the heartbeat. Disable it with
|
|
22
|
+
* `false` instead.
|
|
22
23
|
*/
|
|
23
24
|
export const BACKUP_HEARTBEAT_MAX_WINDOW_HOURS = 143;
|
|
24
25
|
/** Arming memory of the heartbeat: 7 daily buckets — the 7-day CloudWatch
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/components-infrastructure",
|
|
3
|
-
"version": "39.2.
|
|
3
|
+
"version": "39.2.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/fjall-tech/fjall.git",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@aws-sdk/client-organizations": "^3.1098.0",
|
|
90
|
-
"@fjall/generator": "^39.2.
|
|
91
|
-
"@fjall/util": "^39.2.
|
|
90
|
+
"@fjall/generator": "^39.2.2",
|
|
91
|
+
"@fjall/util": "^39.2.2",
|
|
92
92
|
"constructs": "^10.7.2",
|
|
93
93
|
"zod": "^4.4.3"
|
|
94
94
|
},
|