From 7e9a2cbb0ba29a8144d30d20be43178faa0a7668 Mon Sep 17 00:00:00 2001 From: Emmanuel Vasilakis Date: Mon, 25 Oct 2021 11:32:22 +0300 Subject: Stream chart labels (#11675) * stream chart labels * update stream protocol to 4 * only send CLABEL_COMMIT when there are labels * mark host as UNUSED * log error for stray CLABEL_COMMIT * remove commented define --- streaming/receiver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'streaming/receiver.c') diff --git a/streaming/receiver.c b/streaming/receiver.c index 6771387920..bb7dca77c1 100644 --- a/streaming/receiver.c +++ b/streaming/receiver.c @@ -221,6 +221,8 @@ size_t streaming_parser(struct receiver_state *rpt, struct plugind *cd, FILE *fp parser->plugins_action->overwrite_action = &pluginsd_overwrite_action; parser->plugins_action->chart_action = &pluginsd_chart_action; parser->plugins_action->set_action = &pluginsd_set_action; + parser->plugins_action->clabel_commit_action = &pluginsd_clabel_commit_action; + parser->plugins_action->clabel_action = &pluginsd_clabel_action; user->parser = parser; -- cgit v1.2.3