@checkstack/healthcheck-backend 1.0.3 → 1.0.4
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/CHANGELOG.md +27 -0
- package/package.json +22 -22
- package/src/schema-utils.ts +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @checkstack/healthcheck-backend
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [42abfff]
|
|
8
|
+
- Updated dependencies [f6f9a5c]
|
|
9
|
+
- Updated dependencies [f6f9a5c]
|
|
10
|
+
- Updated dependencies [1ef2e79]
|
|
11
|
+
- Updated dependencies [aa89bc5]
|
|
12
|
+
- @checkstack/common@0.9.0
|
|
13
|
+
- @checkstack/satellite-backend@0.3.0
|
|
14
|
+
- @checkstack/gitops-common@0.3.0
|
|
15
|
+
- @checkstack/gitops-backend@0.3.0
|
|
16
|
+
- @checkstack/incident-common@1.1.0
|
|
17
|
+
- @checkstack/maintenance-common@1.1.0
|
|
18
|
+
- @checkstack/catalog-common@2.1.0
|
|
19
|
+
- @checkstack/catalog-backend@1.1.0
|
|
20
|
+
- @checkstack/queue-api@0.3.0
|
|
21
|
+
- @checkstack/cache-api@0.3.0
|
|
22
|
+
- @checkstack/backend-api@0.15.1
|
|
23
|
+
- @checkstack/command-backend@0.1.25
|
|
24
|
+
- @checkstack/healthcheck-common@1.0.2
|
|
25
|
+
- @checkstack/integration-backend@0.1.25
|
|
26
|
+
- @checkstack/notification-common@1.0.2
|
|
27
|
+
- @checkstack/signal-common@0.2.2
|
|
28
|
+
- @checkstack/cache-utils@0.2.5
|
|
29
|
+
|
|
3
30
|
## 1.0.3
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/healthcheck-backend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
"lint:code": "eslint . --max-warnings 0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@checkstack/backend-api": "0.
|
|
18
|
-
"@checkstack/cache-api": "0.2.
|
|
19
|
-
"@checkstack/cache-utils": "0.2.
|
|
20
|
-
"@checkstack/catalog-backend": "1.0.
|
|
21
|
-
"@checkstack/catalog-common": "2.0.
|
|
22
|
-
"@checkstack/command-backend": "0.1.
|
|
23
|
-
"@checkstack/common": "0.
|
|
24
|
-
"@checkstack/gitops-backend": "0.2.
|
|
25
|
-
"@checkstack/gitops-common": "0.2.
|
|
26
|
-
"@checkstack/healthcheck-common": "1.0.
|
|
27
|
-
"@checkstack/incident-common": "1.0.
|
|
28
|
-
"@checkstack/integration-backend": "0.1.
|
|
29
|
-
"@checkstack/maintenance-common": "1.0.
|
|
30
|
-
"@checkstack/notification-common": "1.0.
|
|
31
|
-
"@checkstack/queue-api": "0.2.
|
|
32
|
-
"@checkstack/satellite-backend": "0.2.
|
|
33
|
-
"@checkstack/signal-common": "0.2.
|
|
17
|
+
"@checkstack/backend-api": "0.15.0",
|
|
18
|
+
"@checkstack/cache-api": "0.2.4",
|
|
19
|
+
"@checkstack/cache-utils": "0.2.4",
|
|
20
|
+
"@checkstack/catalog-backend": "1.0.2",
|
|
21
|
+
"@checkstack/catalog-common": "2.0.1",
|
|
22
|
+
"@checkstack/command-backend": "0.1.24",
|
|
23
|
+
"@checkstack/common": "0.8.0",
|
|
24
|
+
"@checkstack/gitops-backend": "0.2.8",
|
|
25
|
+
"@checkstack/gitops-common": "0.2.2",
|
|
26
|
+
"@checkstack/healthcheck-common": "1.0.1",
|
|
27
|
+
"@checkstack/incident-common": "1.0.1",
|
|
28
|
+
"@checkstack/integration-backend": "0.1.24",
|
|
29
|
+
"@checkstack/maintenance-common": "1.0.1",
|
|
30
|
+
"@checkstack/notification-common": "1.0.1",
|
|
31
|
+
"@checkstack/queue-api": "0.2.18",
|
|
32
|
+
"@checkstack/satellite-backend": "0.2.21",
|
|
33
|
+
"@checkstack/signal-common": "0.2.1",
|
|
34
34
|
"@hono/zod-validator": "^0.7.6",
|
|
35
35
|
"drizzle-orm": "^0.45.0",
|
|
36
36
|
"hono": "^4.12.14",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@orpc/server": "^1.13.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@checkstack/drizzle-helper": "0.0.
|
|
43
|
-
"@checkstack/scripts": "0.
|
|
44
|
-
"@checkstack/test-utils-backend": "0.1.
|
|
45
|
-
"@checkstack/tsconfig": "0.0.
|
|
42
|
+
"@checkstack/drizzle-helper": "0.0.5",
|
|
43
|
+
"@checkstack/scripts": "0.3.0",
|
|
44
|
+
"@checkstack/test-utils-backend": "0.1.24",
|
|
45
|
+
"@checkstack/tsconfig": "0.0.7",
|
|
46
46
|
"@types/bun": "^1.0.0",
|
|
47
47
|
"@types/tdigest": "^0.1.5",
|
|
48
48
|
"date-fns": "^4.1.0",
|
package/src/schema-utils.ts
CHANGED
|
@@ -68,6 +68,14 @@ function addHealthResultMeta(
|
|
|
68
68
|
jsonField["x-anomaly-sensitivity"] = healthMeta["x-anomaly-sensitivity"];
|
|
69
69
|
if (healthMeta["x-anomaly-confirmation-window"] !== undefined)
|
|
70
70
|
jsonField["x-anomaly-confirmation-window"] = healthMeta["x-anomaly-confirmation-window"];
|
|
71
|
+
if (healthMeta["x-anomaly-drift-enabled"] !== undefined)
|
|
72
|
+
jsonField["x-anomaly-drift-enabled"] = healthMeta["x-anomaly-drift-enabled"];
|
|
73
|
+
if (healthMeta["x-anomaly-drift-threshold"] !== undefined)
|
|
74
|
+
jsonField["x-anomaly-drift-threshold"] = healthMeta["x-anomaly-drift-threshold"];
|
|
75
|
+
if (healthMeta["x-anomaly-min-absolute-delta"] !== undefined)
|
|
76
|
+
jsonField["x-anomaly-min-absolute-delta"] = healthMeta["x-anomaly-min-absolute-delta"];
|
|
77
|
+
if (healthMeta["x-anomaly-min-relative-delta"] !== undefined)
|
|
78
|
+
jsonField["x-anomaly-min-relative-delta"] = healthMeta["x-anomaly-min-relative-delta"];
|
|
71
79
|
}
|
|
72
80
|
|
|
73
81
|
// Recurse into nested objects and arrays
|