summaryrefslogtreecommitdiffstats
path: root/collectors/all.h
blob: 38241dfa982a81c10b6871aef96a07e6b070801d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_ALL_H
#define NETDATA_ALL_H 1

#include "daemon/common.h"

// netdata internal data collection plugins

#include "plugins.d/plugins_d.h"

// ----------------------------------------------------------------------------
// netdata chart priorities

// This is a work in progress - to scope is to collect here all chart priorities.
// These should be based on the CONTEXT of the charts + the chart id when needed
// - for each SECTION +1000 (or +X000 for big sections)
// - for each FAMILY  +100
// - for each CHART   +10

#define NETDATA_CHART_PRIO_SYSTEM_CPU                   100
#define NETDATA_CHART_PRIO_SYSTEM_LOAD                  100
#define NETDATA_CHART_PRIO_SYSTEM_IO                    150
#define NETDATA_CHART_PRIO_SYSTEM_PGPGIO                151
#define NETDATA_CHART_PRIO_SYSTEM_RAM                   200
#define NETDATA_CHART_PRIO_SYSTEM_NET                   500
#define NETDATA_CHART_PRIO_SYSTEM_IPV4                  500 // freebsd only
#define NETDATA_CHART_PRIO_SYSTEM_IP                    501
#define NETDATA_CHART_PRIO_SYSTEM_IPV6                  502
#define NETDATA_CHART_PRIO_SYSTEM_PROCESSES             600
#define NETDATA_CHART_PRIO_SYSTEM_PROCESS_STATES        601
#define NETDATA_CHART_PRIO_SYSTEM_FORKS                 700
#define NETDATA_CHART_PRIO_SYSTEM_ACTIVE_PROCESSES      750
#define NETDATA_CHART_PRIO_SYSTEM_CTXT                  800
#define NETDATA_CHART_PRIO_SYSTEM_IDLEJITTER            800
#define NETDATA_CHART_PRIO_SYSTEM_INTR                  900
#define NETDATA_CHART_PRIO_SYSTEM_SOFTIRQS              950
#define NETDATA_CHART_PRIO_SYSTEM_SOFTNET_STAT          955
#define NETDATA_CHART_PRIO_SYSTEM_INTERRUPTS           1000
#define NETDATA_CHART_PRIO_SYSTEM_DEV_INTR             1000 // freebsd only
#define NETDATA_CHART_PRIO_SYSTEM_SOFT_INTR            1100 // freebsd only
#define NETDATA_CHART_PRIO_SYSTEM_FILES_NR             1000
#define NETDATA_CHART_PRIO_SYSTEM_ENTROPY              1000
#define NETDATA_CHART_PRIO_SYSTEM_UPTIME               1000
#define NETDATA_CHART_PRIO_CLOCK_SYNC_STATE            1100
#define NETDATA_CHART_PRIO_CLOCK_STATUS                1105
#define NETDATA_CHART_PRIO_CLOCK_SYNC_OFFSET           1110
#define NETDATA_CHART_PRIO_SYSTEM_IPC_MSQ_QUEUES       1200 // freebsd only
#define NETDATA_CHART_PRIO_SYSTEM_IPC_MSQ_MESSAGES     1201
#define NETDATA_CHART_PRIO_SYSTEM_IPC_MSQ_SIZE         1202
#define NETDATA_CHART_PRIO_SYSTEM_IPC_SEMAPHORES       1203
#define NETDATA_CHART_PRIO_SYSTEM_IPC_SEM_ARRAYS       1204
#define NETDATA_CHART_PRIO_SYSTEM_IPC_SHARED_MEM_SEGS  1205
#define NETDATA_CHART_PRIO_SYSTEM_IPC_SHARED_MEM_SIZE  1206
#define NETDATA_CHART_PRIO_SYSTEM_IPC_SHARED_MEM_CALLS 1207
#define NETDATA_CHART_PRIO_SYSTEM_PACKETS              7001 // freebsd only


// CPU per core

#define NETDATA_CHART_PRIO_CPU_PER_CORE               1000 // +1 per core
#define NETDATA_CHART_PRIO_CPU_TEMPERATURE            1050 // freebsd only
#define NETDATA_CHART_PRIO_CPUFREQ_SCALING_CUR_FREQ   5003 // freebsd only
#define NETDATA_CHART_PRIO_CPUIDLE                    6000

#define NETDATA_CHART_PRIO_CORE_THROTTLING            5001
#define NETDATA_CHART_PRIO_PACKAGE_THROTTLING         5002

// Interrupts per core

#define NETDATA_CHART_PRIO_INTERRUPTS_PER_CORE        1100 // +1 per core

// Memory Section - 1xxx

#define NETDATA_CHART_PRIO_MEM_SYSTEM_AVAILABLE       1010
#define NETDATA_CHART_PRIO_MEM_SYSTEM_OOM_KILL        1020
#define NETDATA_CHART_PRIO_MEM_SYSTEM_COMMITTED       1030
#define NETDATA_CHART_PRIO_MEM_SWAP                   1035
#define NETDATA_CHART_PRIO_MEM_SWAP_CALLS             1037
#define NETDATA_CHART_PRIO_MEM_SWAPIO                 1038
#define NETDATA_CHART_PRIO_MEM_ZSWAP                  1036
#define NETDATA_CHART_PRIO_MEM_ZSWAPIO                1037
#define NETDATA_CHART_PRIO_MEM_ZSWAP_COMPRESS_RATIO   1038
#define NETDATA_CHART_PRIO_MEM_ZSWAP_POOL_TOT_SIZE    1039
#define NETDATA_CHART_PRIO_MEM_ZSWAP_STORED_PAGE      1040
#define NETDATA_CHART_PRIO_MEM_ZSWAP_REJECTS          1041
#define NETDATA_CHART_PRIO_MEM_ZSWAP_POOL_LIM_HIT     1042
#define NETDATA_CHART_PRIO_MEM_ZSWAP_WRT_BACK_PAGES   1043
#define NETDATA_CHART_PRIO_MEM_ZSWAP_SAME_FILL_PAGE   1044
#define NETDATA_CHART_PRIO_MEM_ZSWAP_DUPP_ENTRY       1045
#define NETDATA_CHART_PRIO_MEM_SYSTEM_PGFAULTS        1050
#define NETDATA_CHART_PRIO_MEM_KERNEL                 1100
#define NETDATA_CHART_PRIO_MEM_SLAB                   1200
#define NETDATA_CHART_PRIO_MEM_RECLAIMING             1210
#define NETDATA_CHART_PRIO_MEM_HIGH_LOW               1211
#define NETDATA_CHART_PRIO_MEM_CMA                    1212
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES              1250
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_DETAILS      1251
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_FAULTS       1252
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_FILE         1253
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_ZERO         1254
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_KHUGEPAGED   1255
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_SPLITS       1256
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_SWAPOUT      1257
#define NETDATA_CHART_PRIO_MEM_HUGEPAGES_COMPACT      1258
#define NETDATA_CHART_PRIO_MEM_DIRECTMAP              1260
#define NETDATA_CHART_PRIO_MEM_KSM                    1300
#define NETDATA_CHART_PRIO_MEM_KSM_SAVINGS            1301
#define NETDATA_CHART_PRIO_MEM_KSM_RATIOS             1302
#define NETDATA_CHART_PRIO_MEM_KSM_COW                1303
#define NETDATA_CHART_PRIO_MEM_BALLOON                1350
#define NETDATA_CHART_PRIO_MEM_NUMA                   1400
#define NETDATA_CHART_PRIO_MEM_NUMA_NODES             1410
#define NETDATA_CHART_PRIO_MEM_PAGEFRAG               1450
#define NETDATA_CHART_PRIO_MEM_HW                     1500
#define NETDATA_CHART_PRIO_MEM_HW_ECC_CE              1550
#define NETDATA_CHART_PRIO_MEM_HW_ECC_UE              1560
#define NETDATA_CHART_PRIO_MEM_ZRAM                   1600
#define NETDATA_CHART_PRIO_MEM_ZRAM_SAVINGS           1601
#define NETDATA_CHART_PRIO_MEM_ZRAM_RATIO             1602
#define NETDATA_CHART_PRIO_MEM_ZRAM_EFFICIENCY        1603
#define NETDATA_CHART_PRIO_MEM_FRAGMENTATION          1700

// Disks

#define NETDATA_CHART_PRIO_DISK_IO                    2000
#define NETDATA_CHART_PRIO_DISK_OPS                   2010
#define NETDATA_CHART_PRIO_DISK_QOPS                  2015
#define NETDATA_CHART_PRIO_DISK_BACKLOG               2020
#define NETDATA_CHART_PRIO_DISK_BUSY                  2030
#define NETDATA_CHART_PRIO_DISK_UTIL                  2040
#define NETDATA_CHART_PRIO_DISK_AWAIT                 2050
#define NETDATA_CHART_PRIO_DISK_AVGSZ                 2060
#define NETDATA_CHART_PRIO_DISK_SVCTM                 2070
#define NETDATA_CHART_PRIO_DISK_MOPS                  2080
#define NETDATA_CHART_PRIO_DISK_IOTIME                2090
#define NETDATA_CHART_PRIO_DISK_LATENCY               2095
#define NETDATA_CHART_PRIO_BCACHE_CACHE_ALLOC         2120
#define NETDATA_CHART_PRIO_BCACHE_HIT_RATIO           2120
#define NETDATA_CHART_PRIO_BCACHE_RATES               2121
#define NETDATA_CHART_PRIO_BCACHE_SIZE                2122
#define NETDATA_CHART_PRIO_BCACHE_USAGE               2123
#define NETDATA_CHART_PRIO_BCACHE_OPS                 2124
#define NETDATA_CHART_PRIO_BCACHE_BYPASS              2125
#define NETDATA_CHART_PRIO_BCACHE_CACHE_READ_RACES    2126

#define NETDATA_CHART_PRIO_DISKSPACE_SPACE            2023
#define NETDATA_CHART_PRIO_DISKSPACE_INODES           2024

// MDSTAT

#define NETDATA_CHART_PRIO_MDSTAT_HEALTH              2100
#define NETDATA_CHART_PRIO_MDSTAT_FLUSH               2101
#define NETDATA_CHART_PRIO_MDSTAT_NONREDUNDANT        2105
#define NETDATA_CHART_PRIO_MDSTAT_DISKS               2106 // 5 charts per raid
#define NETDATA_CHART_PRIO_MDSTAT_MISMATCH            2107
#define NETDATA_CHART_PRIO_MDSTAT_OPERATION           2108
#define NETDATA_CHART_PRIO_MDSTAT_FINISH              2109
#define NETDATA_CHART_PRIO_MDSTAT_SPEED               2110

// Filesystem
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_CLEAN       2150
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_COUNT    2151
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_BYTES    2152
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_EBYTES   2153
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_FSYNC    2154
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_EFSYNC   2155
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_OPEN     2156
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_EOPEN    2157
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_CREATE   2158
#define NETDATA_CHART_PRIO_FILESYSTEM_VFS_IO_ECREATE  2159

#define NETDATA_CHART_PRIO_EBPF_FILESYSTEM_CHARTS     2160

// Mount Points
#define NETDATA_CHART_PRIO_EBPF_MOUNT_CHARTS          2190

// File descriptor
#define NETDATA_CHART_PRIO_EBPF_FD_CHARTS             2195


// NFS (server)

#define NETDATA_CHART_PRIO_NFSD_READCACHE             2200
#define NETDATA_CHART_PRIO_NFSD_FILEHANDLES           2201
#define NETDATA_CHART_PRIO_NFSD_IO                    2202
#define NETDATA_CHART_PRIO_NFSD_THREADS               2203
#define NETDATA_CHART_PRIO_NFSD_THREADS_FULLCNT       2204
#define NETDATA_CHART_PRIO_NFSD_THREADS_HISTOGRAM     2205
#define NETDATA_CHART_PRIO_NFSD_READAHEAD             2205
#define NETDATA_CHART_PRIO_NFSD_NET                   2207
#define NETDATA_CHART_PRIO_NFSD_RPC                   2208
#define NETDATA_CHART_PRIO_NFSD_PROC2                 2209
#define NETDATA_CHART_PRIO_NFSD_PROC3                 2210
#define NETDATA_CHART_PRIO_NFSD_PROC4                 2211
#define NETDATA_CHART_PRIO_NFSD_PROC4OPS              2212

// NFS (client)

#define NETDATA_CHART_PRIO_NFS_NET                    2307
#define NETDATA_CHART_PRIO_NFS_RPC                    2308
#define NETDATA_CHART_PRIO_NFS_PROC2                  2309
#define NETDATA_CHART_PRIO_NFS_PROC3                  2310
#define NETDATA_CHART_PRIO_NFS_PROC4                  2311

// BTRFS

#define NETDATA_CHART_PRIO_BTRFS_DISK                 2400
#define NETDATA_CHART_PRIO_BTRFS_DATA                 2401
#define NETDATA_CHART_PRIO_BTRFS_METADATA             2402
#define NETDATA_CHART_PRIO_BTRFS_SYSTEM               2403
#define NETDATA_CHART_PRIO_BTRFS_COMMITS              2404
#define NETDATA_CHART_PRIO_BTRFS_COMMITS_PERC_TIME    2405
#define NETDATA_CHART_PRIO_BTRFS_COMMIT_TIMINGS       2406
#define NETDATA_CHART_PRIO_BTRFS_ERRORS               2407

// ZFS

#define NETDATA_CHART_PRIO_ZFS_ARC_SIZE               2500
#define NETDATA_CHART_PRIO_ZFS_L2_SIZE                2500
#define NETDATA_CHART_PRIO_ZFS_READS                  2510
#define NETDATA_CHART_PRIO_ZFS_ACTUAL_HITS            2519
#define NETDATA_CHART_PRIO_ZFS_ARC_SIZE_BREAKDOWN     2520
#define NETDATA_CHART_PRIO_ZFS_IMPORTANT_OPS          2522
#define NETDATA_CHART_PRIO_ZFS_MEMORY_OPS             2523
#define NETDATA_CHART_PRIO_ZFS_IO                     2700
#define NETDATA_CHART_PRIO_ZFS_HITS                   2520
#define NETDATA_CHART_PRIO_ZFS_DHITS                  2530
#define NETDATA_CHART_PRIO_ZFS_DEMAND_DATA_HITS       2540
#define NETDATA_CHART_PRIO_ZFS_PREFETCH_DATA_HITS     2550
#define NETDATA_CHART_PRIO_ZFS_PHITS                  2560
#define NETDATA_CHART_PRIO_ZFS_MHITS                  2570
#define NETDATA_CHART_PRIO_ZFS_L2HITS                 2580
#define NETDATA_CHART_PRIO_ZFS_LIST_HITS              2600
#define NETDATA_CHART_PRIO_ZFS_HASH_ELEMENTS          2800
#define NETDATA_CHART_PRIO_ZFS_HASH_CHAINS            2810

#define NETDATA_CHART_PRIO_ZFS_POOL_STATE             2820

// HARDIRQS

#define NETDATA_CHART_PRIO_HARDIRQ_LATENCY            2900

// SOFTIRQs

#define NETDATA_CHART_PRIO_SOFTIRQS_PER_CORE          3000 // +1 per core

// IPFW (freebsd)

#define NETDATA_CHART_PRIO_IPFW_PACKETS               3001
#define NETDATA_CHART_PRIO_IPFW_BYTES                 3002
#define NETDATA_CHART_PRIO_IPFW_ACTIVE                3003
#define NETDATA_CHART_PRIO_IPFW_EXPIRED               3004
#define NETDATA_CHART_PRIO_IPFW_MEM                   3005


// IPVS

#define NETDATA_CHART_PRIO_IPVS_NET                   3100
#define NETDATA_CHART_PRIO_IPVS_SOCKETS               3101
#define NETDATA_CHART_PRIO_IPVS_PACKETS               3102

// Softnet

#define NETDATA_CHART_PRIO_SOFTNET_PER_CORE           4101 // +1 per core

// IP STACK

#define NETDATA_CHART_PRIO_IP_TCP_PACKETS             4200
#define NETDATA_CHART_PRIO_IP_TCP_ERRORS              4210
#define NETDATA_CHART_PRIO_IP_TCP_ESTABLISHED_CONNS   4220
#define NETDATA_CHART_PRIO_IP_TCP_OPENS               4220
#define NETDATA_CHART_PRIO_IP_TCP_HANDSHAKE           4230
#define NETDATA_CHART_PRIO_IP_TCP_CONNABORTS          4240
#define NETDATA_CHART_PRIO_IP_TCP_SYN_QUEUE           4250
#define NETDATA_CHART_PRIO_IP_TCP_ACCEPT_QUEUE        4260
#define NETDATA_CHART_PRIO_IP_TCP_REORDERS            4270
#define NETDATA_CHART_PRIO_IP_TCP_OFO                 4280
#define NETDATA_CHART_PRIO_IP_TCP_SYNCOOKIES          4290
#define NETDATA_CHART_PRIO_IP_TCP_MEM_PRESSURE        4300
#define NETDATA_CHART_PRIO_IP_SOCKETS                 4310

// IPv4

#define NETDATA_CHART_PRIO_IPV4_PACKETS               5000
#define NETDATA_CHART_PRIO_IPV4_ERRORS                5050
#define NETDATA_CHART_PRIO_IPV4_BCAST                 5100
#define NETDATA_CHART_PRIO_IPV4_BCAST_PACKETS         5105
#define NETDATA_CHART_PRIO_IPV4_MCAST                 5150
#define NETDATA_CHART_PRIO_IPV4_MCAST_PACKETS         5155
#define NETDATA_CHART_PRIO_IPV4_TCP_SOCKETS           5180
#define NETDATA_CHART_PRIO_IPV4_TCP_SOCKETS_MEM       5185
#define NETDATA_CHART_PRIO_IPV4_ICMP_PACKETS          5200
#define NETDATA_CHART_PRIO_IPV4_ICMP_MESSAGES         5205
#define NETDATA_CHART_PRIO_IPV4_ICMP_ERRORS           5210
#define NETDATA_CHART_PRIO_IPV4_UDP_PACKETS           5250
#define NETDATA_CHART_PRIO_IPV4_UDP_ERRORS            5255
#define NETDATA_CHART_PRIO_IPV4_UDP_SOCKETS           5260
#define NETDATA_CHART_PRIO_IPV4_UDP_SOCKETS_MEM       5265
#define NETDATA_CHART_PRIO_IPV4_UDPLITE_PACKETS       5300
#define NETDATA_CHART_PRIO_IPV4_UDPLITE_ERRORS        5305
#define NETDATA_CHART_PRIO_IPV4_UDPLITE_SOCKETS       5310
#define NETDATA_CHART_PRIO_IPV4_ECN                   5350
#define NETDATA_CHART_PRIO_IPV4_FRAGMENTS_IN          5400
#define NETDATA_CHART_PRIO_IPV4_FRAGMENTS_OUT         5405
#define NETDATA_CHART_PRIO_IPV4_FRAGMENTS_SOCKETS     5410
#define NETDATA_CHART_PRIO_IPV4_FRAGMENTS_SOCKETS_MEM 5415
#define NETDATA_CHART_PRIO_IPV4_RAW                   5450

// IPv6
#define NETDATA_CHART_PRIO_IPV6_PACKETS               6000
#define NETDATA_CHART_PRIO_IPV6_ERRORS                6005
#define NETDATA_CHART_PRIO_IPV6_BCAST                 6050
#define NETDATA_CHART_PRIO_IPV6_MCAST                 6100
#define NETDATA_CHART_PRIO_IPV6_MCAST_PACKETS         6105
#define NETDATA_CHART_PRIO_IPV6_TCP_SOCKETS           6140
#define NETDATA_CHART_PRIO_IPV6_ICMP                  6150
#define NETDATA_CHART_PRIO_IPV6_ICMP_REDIR            6155
#define NETDATA_CHART_PRIO_IPV6_ICMP_ERRORS           6160
#define NETDATA_CHART_PRIO_IPV6_ICMP_ECHOS            6165
#define NETDATA_CHART_PRIO_IPV6_ICMP_GROUPMEMB        6170
#define NETDATA_CHART_PRIO_IPV6_ICMP_ROUTER           6180
#define NETDATA_CHART_PRIO_IPV6_ICMP_NEIGHBOR         6185
#define NETDATA_CHART_PRIO_IPV6_ICMP_LDV2             6190
#define NETDATA_CHART_PRIO_IPV6_ICMP_TYPES            6195
#define NETDATA_CHART_PRIO_IPV6_UDP                   6200
#define NETDATA_CHART_PRIO_IPV6_UDP_PACKETS           6205
#define NETDATA_CHART_PRIO_IPV6_UDP_ERRORS            6210
#define NETDATA_CHART_PRIO_IPV6_UDP_SOCKETS           6215
#define NETDATA_CHART_PRIO_IPV6_UDPLITE               6250
#define NETDATA_CHART_PRIO_IPV6_UDPLITE_PACKETS       6255
#define NETDATA_CHART_PRIO_IPV6_UDPLITE_ERRORS        6260
#define NETDATA_CHART_PRIO_IPV6_UDPLITE_SOCKETS       6265
#define NETDATA_CHART_PRIO_IPV6_ECT                   6300
#define NETDATA_CHART_PRIO_IPV6_FRAGSIN               6350
#define NETDATA_CHART_PRIO_IPV6_FRAGSOUT              6355
#define NETDATA_CHART_PRIO_IPV6_FRAGMENTS_SOCKETS     6360
#define NETDATA_CHART_PRIO_IPV6_RAW_SOCKETS           6400

// Network interfaces

#define NETDATA_CHART_PRIO_FIRST_NET_IFACE            7000 // 6 charts per interface
#define NETDATA_CHART_PRIO_FIRST_NET_PACKETS          7001
#define NETDATA_CHART_PRIO_FIRST_NET_ERRORS           7002
#define NETDATA_CHART_PRIO_FIRST_NET_DROPS            7003
#define NETDATA_CHART_PRIO_FIRST_NET_EVENTS           7006
#define NETDATA_CHART_PRIO_CGROUP_NET_IFACE          43000

// SCTP

#define NETDATA_CHART_PRIO_SCTP                       7000

// QoS

#define NETDATA_CHART_PRIO_TC_QOS                     7000
#define NETDATA_CHART_PRIO_TC_QOS_PACKETS             7010
#define NETDATA_CHART_PRIO_TC_QOS_DROPPED             7020
#define NETDATA_CHART_PRIO_TC_QOS_TOKENS              7030
#define NETDATA_CHART_PRIO_TC_QOS_CTOKENS             7040

// Infiniband
#define NETDATA_CHART_PRIO_INFINIBAND                 7100

// Netfilter

#define NETDATA_CHART_PRIO_NETFILTER_SOCKETS          8700
#define NETDATA_CHART_PRIO_NETFILTER_NEW              8701
#define NETDATA_CHART_PRIO_NETFILTER_CHANGES          8702
#define NETDATA_CHART_PRIO_NETFILTER_EXPECT           8703
#define NETDATA_CHART_PRIO_NETFILTER_ERRORS           8705
#define NETDATA_CHART_PRIO_NETFILTER_SEARCH           8710

// SYNPROXY

#define NETDATA_CHART_PRIO_SYNPROXY_SYN_RECEIVED      8751
#define NETDATA_CHART_PRIO_SYNPROXY_COOKIES           8752
#define NETDATA_CHART_PRIO_SYNPROXY_CONN_OPEN         8753
#define NETDATA_CHART_PRIO_SYNPROXY_ENTRIES           8754

// Linux Power Supply

#define NETDATA_CHART_PRIO_POWER_SUPPLY_CAPACITY      9500 // 4 charts per power supply
#define NETDATA_CHART_PRIO_POWER_SUPPLY_CHARGE        9501
#define NETDATA_CHART_PRIO_POWER_SUPPLY_ENERGY        9502
#define NETDATA_CHART_PRIO_POWER_SUPPLY_VOLTAGE       9503

// Linux powercap

#define NETDATA_CHART_PRIO_POWERCAP                   9600

// Wireless

#define NETDATA_CHART_PRIO_WIRELESS_IFACE	          7110

// CGROUPS

#define NETDATA_CHART_PRIO_CGROUPS_SYSTEMD           19000 // many charts
#define NETDATA_CHART_PRIO_CGROUPS_CONTAINERS        40000 // many charts

// STATSD

#define NETDATA_CHART_PRIO_STATSD_PRIVATE            90000 // many charts

// Logs Management

#define NETDATA_CHART_PRIO_LOGS_BASE                 95000 // many charts
#define NETDATA_CHART_PRIO_LOGS_STATS_BASE           160000 // logsmanagement stats in "Netdata Monitoring"

// PCI

#define NETDATA_CHART_PRIO_PCI_AER                  100000

// AMD GPUs

#define NETDATA_CHART_PRIO_DRM_AMDGPU                 39000

// NETDATA ML CHARTS

// [ml] charts
#define ML_CHART_PRIO_DIMENSIONS                      39181
#define ML_CHART_PRIO_ANOMALY_RATE                    39182
#define ML_CHART_PRIO_TYPE_ANOMALY_RATE               39183
#define ML_CHART_PRIO_DETECTOR_EVENTS                 39184

// [netdata.ml] charts
#define NETDATA_ML_CHART_RUNNING                      890001
#define NETDATA_ML_CHART_PRIO_MACHINE_LEARNING_STATUS 890002
#define NETDATA_ML_CHART_PRIO_METRIC_TYPES            890003
#define NETDATA_ML_CHART_PRIO_TRAINING_STATUS         890004

#define NETDATA_ML_CHART_PRIO_PREDICTION_USAGE        890005
#define NETDATA_ML_CHART_PRIO_TRAINING_USAGE          890006

#define NETDATA_ML_CHART_PRIO_QUEUE_STATS             890007
#define NETDATA_ML_CHART_PRIO_TRAINING_TIME_STATS     890008
#define NETDATA_ML_CHART_PRIO_TRAINING_RESULTS        890009

#define NETDATA_ML_CHART_FAMILY "machine learning"
#define NETDATA_ML_PLUGIN "ml.plugin"
#define NETDATA_ML_MODULE_TRAINING "training"
#define NETDATA_ML_MODULE_DETECTION "detection"
#define NETDATA_ML_MODULE_PREDICTION "prediction"


#endif //NETDATA_ALL_H