@checkstack/healthcheck-tls-backend 0.2.14 → 0.2.15

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # @checkstack/healthcheck-tls-backend
2
2
 
3
+ ## 0.2.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 42abfff: Add practical-significance floors to anomaly detection.
8
+
9
+ Two new schema annotations — `x-anomaly-min-absolute-delta` and `x-anomaly-min-relative-delta` — let plugin authors and operators suppress alerts whose statistical deviation is large but practical impact is negligible. Both floors must clear in addition to the existing μ ± Nσ trigger; defaults are 0 (disabled) so existing behaviour is unchanged.
10
+
11
+ This is the fix for cases like a 6 ms latency baseline whose σ ≈ 1 ms causes routine 20 ms blips to fire as anomalies despite Δ=14 ms being operationally irrelevant. With `min-absolute-delta: 50` and `min-relative-delta: 0.5`, those blips stay silent while a 6 ms → 200 ms spike still fires.
12
+
13
+ Built-in plugins ship with sensible defaults applied to every per-run field: 50 ms + 50 % for ms-unit fields, 5 percentage points for `%`-unit fields, 1 + 25 % for counter fields, 1 GB + 5 % for disk fields, 50 MB + 10 % for memory fields, 1 day for TLS expiry, 0.5 + 25 % for load average, 1 + 5 % for Minecraft TPS. Operators can override per-system or per-field via the assignment UI.
14
+
15
+ - Updated dependencies [42abfff]
16
+ - @checkstack/common@0.9.0
17
+ - @checkstack/backend-api@0.15.1
18
+ - @checkstack/healthcheck-common@1.0.2
19
+
3
20
  ## 0.2.14
4
21
 
5
22
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/healthcheck-tls-backend",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "checkstack": {
@@ -22,7 +22,7 @@
22
22
  "@types/bun": "^1.0.0",
23
23
  "typescript": "^5.0.0",
24
24
  "@checkstack/tsconfig": "0.0.7",
25
- "@checkstack/scripts": "0.2.0"
25
+ "@checkstack/scripts": "0.3.0"
26
26
  },
27
27
  "description": "Checkstack healthcheck-tls-backend plugin",
28
28
  "author": {
@@ -61,6 +61,7 @@ const certificateResultSchema = healthResultSchema({
61
61
  "x-chart-unit": "days",
62
62
  "x-anomaly-enabled": true,
63
63
  "x-anomaly-direction": "higher-is-better",
64
+ "x-anomaly-min-absolute-delta": 1,
64
65
  }),
65
66
  valid: healthResultBoolean({
66
67
  "x-chart-type": "boolean",
package/src/strategy.ts CHANGED
@@ -84,6 +84,7 @@ const tlsResultSchema = healthResultSchema({
84
84
  "x-chart-unit": "days",
85
85
  "x-anomaly-enabled": true,
86
86
  "x-anomaly-direction": "higher-is-better",
87
+ "x-anomaly-min-absolute-delta": 1,
87
88
  }),
88
89
  error: healthResultString({
89
90
  "x-chart-type": "status",