summaryrefslogtreecommitdiffstats
path: root/exporting
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-08-16 10:33:08 +0300
committerGitHub <noreply@github.com>2022-08-16 10:33:08 +0300
commit708efb41bdf952c84b60326d40c07cc69e58d19c (patch)
tree119af9c39fe3dfc6126ef1359ef95d10e86b955b /exporting
parent62ca74b0a4f5db5ae31d02cb6cbde8d322174249 (diff)
Support chart labels in alerts (#13290)
* chart labels for alerts * proper termination * use strchr * change if statement * change label variable. add docs * change doc * assign buf to temp * use new dictionary functions * reduce variable scope * reduce line length * make sure rrdcalc updates labels after inserted * reduce var scope * add rrdcalc.c for cmocka tests * Revert "add rrdcalc.c for cmocka tests" This reverts commit 5fe122adcf7abcbe6d67fa2ebd7c4ff8620cf9c8. * Fix cmocka unit tests * valgrind errors Co-authored-by: Vladimir Kobal <vlad@prokk.net>
Diffstat (limited to 'exporting')
-rw-r--r--exporting/tests/netdata_doubles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/exporting/tests/netdata_doubles.c b/exporting/tests/netdata_doubles.c
index ee36e887a2..86707e16e3 100644
--- a/exporting/tests/netdata_doubles.c
+++ b/exporting/tests/netdata_doubles.c
@@ -255,3 +255,7 @@ void sql_store_chart_label(uuid_t *chart_uuid, int source_type, char *label, cha
(void)label;
(void)value;
}
+
+void rrdcalc_update_rrdlabels(RRDSET *st) {
+ (void)st;
+}