summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.h
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-01-18 21:32:50 +0200
committerGitHub <noreply@github.com>2023-01-18 21:32:50 +0200
commitc1908d3163185cf65a139edeb11a165a10eca1e9 (patch)
tree6fe69ef8cd5f5797253e0d583fe60d56c69ec3da /streaming/rrdpush.h
parent51565d55e92b6f814a09ca87d3c77a40acba576c (diff)
DBENGINE v2 - improvements part 5 (#14289)
* cleanup journal v2 mounts periodically * fix for last commit * re-enable loading page from disk when the arrangement of pages requires it * Remove unused statistics * Estimate diskspace when the current datafile is full and queue a rotate command (Currently it will not attempt to estimate end size for journals) Queue a command to check quota on startup per tier * apps.plugin now exposes RSS chart * shorter thread names to make debugging easier, since thread names can only be 15 characters * more thread names fixes * allow an apps_groups.conf target to be pid 0 or 1 Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'streaming/rrdpush.h')
-rw-r--r--streaming/rrdpush.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h
index 406fdcdcb2..c7f07ac7e5 100644
--- a/streaming/rrdpush.h
+++ b/streaming/rrdpush.h
@@ -306,6 +306,9 @@ void *rrdpush_sender_thread(void *ptr);
void rrdpush_send_host_labels(RRDHOST *host);
void rrdpush_claimed_id(RRDHOST *host);
+#define THREAD_TAG_STREAM_RECEIVER "RCVR" // "[host]" is appended
+#define THREAD_TAG_STREAM_SENDER "SNDR" // "[host]" is appended
+
int rrdpush_receiver_thread_spawn(struct web_client *w, char *url);
void rrdpush_sender_thread_stop(RRDHOST *host, const char *reason, bool wait);