This is actualized version of this PR - https://github.com/louislam/uptime-kuma/pull/6192 But with tests and an additional change that allows to only store responses **for failed HTTP requests**. Add response column to heartbeat table to store HTTP response data * Add monitor configuration options: saveResponse (default: false), saveErrorResponse (default: false) and responseMaxLength (default: 10240 bytes) * Response max length of 0 allows unlimited storage without truncation * Response data accessible in notification templates via heartbeatJSON.response * Add UI controls in monitor edit page with translations (EN) * Only saves response data when explicitly enabled to minimize database impact chore: Tests added fix: Missing response field |
||
|---|---|---|
| .. | ||
| backend-test | ||
| e2e | ||
| manual-test-grpc | ||
| manual-test-radius | ||
| manual-test-radius-tls | ||
| mock-testdb.js | ||
| prepare-test-server.js | ||
| test-backend.mjs | ||
| test-radius.dockerfile | ||