summaryrefslogtreecommitdiffstats
path: root/daemon/global_statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/global_statistics.h')
-rw-r--r--daemon/global_statistics.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/daemon/global_statistics.h b/daemon/global_statistics.h
new file mode 100644
index 000000000..9dd7db51a
--- /dev/null
+++ b/daemon/global_statistics.h
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_GLOBAL_STATISTICS_H
+#define NETDATA_GLOBAL_STATISTICS_H 1
+
+#include "common.h"
+
+// ----------------------------------------------------------------------------
+// global statistics
+
+extern void rrdr_query_completed(uint64_t db_points_read, uint64_t result_points_generated);
+
+extern void finished_web_request_statistics(uint64_t dt,
+ uint64_t bytes_received,
+ uint64_t bytes_sent,
+ uint64_t content_size,
+ uint64_t compressed_content_size);
+
+extern uint64_t web_client_connected(void);
+extern void web_client_disconnected(void);
+extern void global_statistics_charts(void);
+
+#endif /* NETDATA_GLOBAL_STATISTICS_H */