master
h 40 lines 1.04 KB
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_COMMON_CONTEXTS_H
4 #define NETDATA_COMMON_CONTEXTS_H
5
6 #include "../../libnetdata/libnetdata.h"
7 #include "../../database/rrd.h"
8
9 #ifndef _COMMON_PLUGIN_NAME
10 #error You need to set _COMMON_PLUGIN_NAME before including common-contexts.h
11 #endif
12
13 #ifndef _COMMON_PLUGIN_MODULE_NAME
14 #error You need to set _COMMON_PLUGIN_MODULE_NAME before including common-contexts.h
15 #endif
16
17 #define _COMMON_CONFIG_SECTION "plugin:" _COMMON_PLUGIN_NAME ":" _COMMON_PLUGIN_MODULE_NAME
18
19 typedef void (*instance_labels_cb_t)(RRDSET *st, void *data);
20
21 #include "system-io.h"
22 #include "system-ram.h"
23 #include "system-interrupts.h"
24 #include "system-processes.h"
25 #include "system-ipc.h"
26 #include "mem-swap.h"
27 #include "mem-pgfaults.h"
28 #include "mem-available.h"
29 #include "disk-io.h"
30 #include "disk-ops.h"
31 #include "disk-qops.h"
32 #include "disk-util.h"
33 #include "disk-busy.h"
34 #include "disk-iotime.h"
35 #include "disk-await.h"
36 #include "disk-svctm.h"
37 #include "disk-avgsz.h"
38 #include "power-supply.h"
39
40 #endif //NETDATA_COMMON_CONTEXTS_H