@checkstack/healthcheck-http-backend 0.1.7 → 0.2.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/CHANGELOG.md +29 -0
- package/package.json +1 -1
- package/src/request-collector.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @checkstack/healthcheck-http-backend
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- db1f56f: Add ephemeral field stripping to reduce database storage for health checks
|
|
8
|
+
|
|
9
|
+
- Added `x-ephemeral` metadata flag to `HealthResultMeta` for marking fields that should not be persisted
|
|
10
|
+
- All health result factory functions (`healthResultString`, `healthResultNumber`, `healthResultBoolean`, `healthResultArray`, `healthResultJSONPath`) now accept `x-ephemeral`
|
|
11
|
+
- Added `stripEphemeralFields()` utility to remove ephemeral fields before database storage
|
|
12
|
+
- Integrated ephemeral field stripping into `queue-executor.ts` for all collector results
|
|
13
|
+
- HTTP Request collector now explicitly marks `body` as ephemeral
|
|
14
|
+
|
|
15
|
+
This significantly reduces database storage for health checks with large response bodies, while still allowing assertions to run against the full response at execution time.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [ac3a4cf]
|
|
20
|
+
- Updated dependencies [db1f56f]
|
|
21
|
+
- @checkstack/healthcheck-common@0.5.0
|
|
22
|
+
- @checkstack/common@0.6.0
|
|
23
|
+
- @checkstack/backend-api@0.5.1
|
|
24
|
+
|
|
25
|
+
## 0.1.8
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [66a3963]
|
|
30
|
+
- @checkstack/backend-api@0.5.0
|
|
31
|
+
|
|
3
32
|
## 0.1.7
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/package.json
CHANGED
package/src/request-collector.ts
CHANGED
|
@@ -62,7 +62,7 @@ const requestResultSchema = healthResultSchema({
|
|
|
62
62
|
"x-chart-label": "Response Time",
|
|
63
63
|
"x-chart-unit": "ms",
|
|
64
64
|
}),
|
|
65
|
-
body: healthResultJSONPath({}),
|
|
65
|
+
body: healthResultJSONPath({ "x-ephemeral": true }),
|
|
66
66
|
bodyLength: healthResultNumber({
|
|
67
67
|
"x-chart-type": "counter",
|
|
68
68
|
"x-chart-label": "Body Length",
|