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 |
||
|---|---|---|
| .. | ||
| api_key.js | ||
| docker_host.js | ||
| domain_expiry.js | ||
| group.js | ||
| heartbeat.js | ||
| incident.js | ||
| maintenance.js | ||
| monitor.js | ||
| proxy.js | ||
| remote_browser.js | ||
| status_page.js | ||
| tag.js | ||
| user.js | ||