summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.h
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2023-07-12 11:24:16 +0300
committerGitHub <noreply@github.com>2023-07-12 11:24:16 +0300
commit38b38993a6547aa33a0591a7ce3e7461c197e893 (patch)
tree76d483877e6770f11f429d14a49f21af51503d39 /streaming/rrdpush.h
parentb1bb7bd449af0567e2edabcefd325fffaea0a3fe (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 'streaming/rrdpush.h')
-rw-r--r--streaming/rrdpush.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h
index 6781f1cfe3..73bd438c9d 100644
--- a/streaming/rrdpush.h
+++ b/streaming/rrdpush.h
@@ -400,6 +400,7 @@ struct receiver_state {
int update_every;
int health_enabled; // CONFIG_BOOLEAN_YES, CONFIG_BOOLEAN_NO, CONFIG_BOOLEAN_AUTO
time_t alarms_delay;
+ uint32_t alarms_history;
int rrdpush_enabled;
char *rrdpush_api_key; // DONT FREE - it is allocated in appconfig
char *rrdpush_send_charts_matching; // DONT FREE - it is allocated in appconfig