summaryrefslogtreecommitdiffstats
path: root/src/web/api/web_api_v1.h
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2024-03-18 13:35:28 +0200
committerGitHub <noreply@github.com>2024-03-18 13:35:28 +0200
commit45a1681ad384840a898e3b3e0009cd9f7ffefe03 (patch)
treea862b2af558e28714f49267d5b046df6236492cc /src/web/api/web_api_v1.h
parentd7a2499a4081cede800a3d66e9bc51842a989e2c (diff)
DYNCFG: alerts improvements (#17165)
* updated schema * move "match" inside "config" in the json representation of the alert * removed green and red from everywhere, but if they exist in the config file they are replaced with fixed numeric values * additional health fields * default permissions for systemd dyncfg; remove test from alerts * added the ability to define time grouping options * updated prototype * Add new fields to the database and store * Read newly stored values when fetching config (not exposed to JSON) * Render new values --------- Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'src/web/api/web_api_v1.h')
-rw-r--r--src/web/api/web_api_v1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/api/web_api_v1.h b/src/web/api/web_api_v1.h
index bf67ef752f..cf0efbd13c 100644
--- a/src/web/api/web_api_v1.h
+++ b/src/web/api/web_api_v1.h
@@ -15,6 +15,7 @@ void web_client_api_request_v2_contexts_alerts_status_to_buffer_json_array(BUFFE
RRDR_OPTIONS rrdr_options_parse(char *o);
RRDR_OPTIONS rrdr_options_parse_one(const char *o);
+void rrdr_options_to_buffer(BUFFER *wb, RRDR_OPTIONS options);
void rrdr_options_to_buffer_json_array(BUFFER *wb, const char *key, RRDR_OPTIONS options);
void web_client_api_request_v1_data_options_to_string(char *buf, size_t size, RRDR_OPTIONS options);