summaryrefslogtreecommitdiffstats
path: root/logsmanagement/rrd_api/rrd_api_kernel.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /logsmanagement/rrd_api/rrd_api_kernel.h
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'logsmanagement/rrd_api/rrd_api_kernel.h')
-rw-r--r--logsmanagement/rrd_api/rrd_api_kernel.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/logsmanagement/rrd_api/rrd_api_kernel.h b/logsmanagement/rrd_api/rrd_api_kernel.h
deleted file mode 100644
index ccb4a7526..000000000
--- a/logsmanagement/rrd_api/rrd_api_kernel.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-/** @file rrd_api_kernel.h
- * @brief Incudes the structure and function definitions
- * for the kernel log charts.
- */
-
-#ifndef RRD_API_KERNEL_H_
-#define RRD_API_KERNEL_H_
-
-#include "daemon/common.h"
-
-struct File_info;
-
-typedef struct Chart_data_kernel chart_data_kernel_t;
-
-#include "../file_info.h"
-#include "../circular_buffer.h"
-
-#include "rrd_api.h"
-
-#include "rrd_api_systemd.h" // required for dim_sever_str[]
-
-struct Chart_data_kernel {
-
- time_t last_update;
-
- /* Number of collected log records */
- collected_number num_lines;
-
- /* Kernel metrics - Syslog Severity value */
- collected_number num_sever[SYSLOG_SEVER_ARR_SIZE];
-
- /* Kernel metrics - Subsystem */
- struct Chart_str cs_subsys;
- // Special case: Subsystem dimension and number are part of Kernel_metrics_t
-
- /* Kernel metrics - Device */
- struct Chart_str cs_device;
- // Special case: Device dimension and number are part of Kernel_metrics_t
-};
-
-void kernel_chart_init(struct File_info *p_file_info);
-void kernel_chart_update(struct File_info *p_file_info);
-
-#endif // RRD_API_KERNEL_H_