diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-08-04 10:18:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 10:18:53 +0300 |
commit | 2fd2607475479bcb1e5d929f109ffd5537303bb7 (patch) | |
tree | af2d78ab77e0a7bcde089e28c67d59c01948e302 /health/health.h | |
parent | 5634e0fdd1c9241e3d31bd80dd3908b3ef4f10d7 (diff) |
Send chart context with alert events to the cloud (#13409)
* add chart context to alert events
* migrate health log tables to add chart_context
* send it via proto message
* add from v3 to v4
* free table
* free chart_context
Diffstat (limited to 'health/health.h')
-rw-r--r-- | health/health.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/health/health.h b/health/health.h index ef474e70bb..3e77c12a70 100644 --- a/health/health.h +++ b/health/health.h @@ -56,6 +56,7 @@ extern ALARM_ENTRY* health_create_alarm_entry( time_t when, const char *name, const char *chart, + const char *chart_context, const char *family, const char *classification, const char *component, @@ -63,8 +64,8 @@ extern ALARM_ENTRY* health_create_alarm_entry( const char *exec, const char *recipient, time_t duration, - NETDATA_DOUBLE old_value, - NETDATA_DOUBLE new_value, + NETDATA_DOUBLE old_value, + NETDATA_DOUBLE new_value, RRDCALC_STATUS old_status, RRDCALC_STATUS new_status, const char *source, |