diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-05-02 18:36:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 18:36:56 +0300 |
commit | d6b1756ea7c0dc28b338aff67800e932d8fe97ec (patch) | |
tree | c11bd6aac932001abe3d1b4b697c6cd90f1abcef /health/health.c | |
parent | 90c2fcb838dc711e6706713510b0d07916d94829 (diff) |
Reduce alert events sent to the cloud. (#12544)
* filter
* update filter
* queue removed directly
* more
* logging
* cleanup
* cleanup 2
* cleanup 3
* finalize instead of reset
Diffstat (limited to 'health/health.c')
-rw-r--r-- | health/health.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.c b/health/health.c index 5ac88fec71..e81c933303 100644 --- a/health/health.c +++ b/health/health.c @@ -804,7 +804,7 @@ void *health_main(void *ptr) { rc->value = NAN; #if defined(ENABLE_ACLK) && defined(ENABLE_NEW_CLOUD_PROTOCOL) if (netdata_cloud_setting && likely(!aclk_alert_reloaded)) - sql_queue_removed_alerts_to_aclk(host); + sql_queue_alarm_to_aclk(host, ae, 1); #endif } } |