diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-07-12 11:24:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 11:24:16 +0300 |
commit | 38b38993a6547aa33a0591a7ce3e7461c197e893 (patch) | |
tree | 76d483877e6770f11f429d14a49f21af51503d39 /web/api/health | |
parent | b1bb7bd449af0567e2edabcefd325fffaea0a3fe (diff) |
Keep health log history in seconds (#15314)
* rebase
* changes queries to delete based on when
* readme changes
* no need to do migration
* wip, protect un-updated events from cleanup
* remove index on when_key
* fix query for claimed cleanup
* if set less than minimum, set minimum
* fix query
* correct config assign
Diffstat (limited to 'web/api/health')
-rw-r--r-- | web/api/health/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/api/health/README.md b/web/api/health/README.md index dd46854a1b..f820263b1e 100644 --- a/web/api/health/README.md +++ b/web/api/health/README.md @@ -28,12 +28,12 @@ This API call will return the alarms currently in WARNING or CRITICAL state. ### Event Log -The size of the alarm log is configured in `netdata.conf`. There are 2 settings: the rotation of the alarm log file and the in memory size of the alarm log. +The size of the alarm log is configured in `netdata.conf`. There are 2 settings: the event history kept in the DB (in seconds), and the in memory size of the alarm log. ``` [health] in memory max health log entries = 1000 - rotate log every lines = 2000 + health log history = 432000 ``` The API call retrieves all entries of the alarm log: |