summaryrefslogtreecommitdiffstats
path: root/health/health.h
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-06-22 01:16:57 +0300
committerGitHub <noreply@github.com>2023-06-22 01:16:57 +0300
commitf3efdba1a0cff9b8d5a2df7149824dba2b59b653 (patch)
tree79315d2a3037931627a831737b0d5acb55e6e08b /health/health.h
parent8e8531d402b4038c12dfb73431559082787ebaa8 (diff)
New alerts endpoint (#15232)
* alerts / alerts_log v2 * Add global_id to ae Populate entries with global id * Remove transition id from template Change history to instances * Link ae to rc in all cases Code cleanup
Diffstat (limited to 'health/health.h')
-rw-r--r--health/health.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/health/health.h b/health/health.h
index c36aabac7e..8b967c197b 100644
--- a/health/health.h
+++ b/health/health.h
@@ -40,6 +40,8 @@ void health_reload(void);
void health_aggregate_alarms(RRDHOST *host, BUFFER *wb, BUFFER* context, RRDCALC_STATUS status);
void health_alarms2json(RRDHOST *host, BUFFER *wb, int all);
+void health_alert2json(RRDHOST *host, BUFFER *wb, ALERT_OPTIONS all, Pvoid_t JudyHS, time_t after, time_t before, uint32_t top);
+void health_alert2json_conf(RRDHOST *host, BUFFER *wb, ALERT_OPTIONS all);
void health_alarms_values2json(RRDHOST *host, BUFFER *wb, int all);
void health_api_v1_chart_variables2json(RRDSET *st, BUFFER *buf);