Update codeowners and cleanup .gitignore (#16946)
vkalintiris committed
Feb 6, 2024 at 18:34 UTC
2544e0a8002e216f1d966f0cf3001f6adf434de6
5 files changed
+6
-295
.github/CODEOWNERS
+1
-1
@@ -16,7 +16,7 @@ collectors/macos.plugin/ @thiagoftsm
16
collectors/python.d.plugin/ @ilyam8
17
collectors/cups.plugin/ @thiagoftsm
18
src/exporting/ @thiagoftsm
19
-daemon/ @thiagoftsm @vkalintiris
19
+src/daemon/ @thiagoftsm @vkalintiris
20
src/database/ @thiagoftsm @vkalintiris
21
docs/ @tkatsoulas @Ancairon
22
health/ @thiagoftsm @vkalintiris
.github/labeler.yml
+2
-2
@@ -51,7 +51,7 @@ area/daemon:
51
- any:
52
- changed-files:
53
- any-glob-to-any-file:
54
- - daemon/**
54
+ - src/daemon/**
55
56
area/database:
57
- any:
@@ -263,7 +263,7 @@ area/tests:
263
- changed-files:
264
- any-glob-to-any-file:
265
- tests/**
266
- - daemon/unit_test*
266
+ - src/daemon/unit_test*
267
- coverity-scan.sh
268
- cppcheck.sh
269
- netdata.cppcheck
.gitignore
+3
-68
@@ -21,75 +21,17 @@ Makefile.in
21
!collectors/log2journal/tests.d/*.log
22
*.pyc
23
24
-Makefile
25
-aclocal.m4
26
-autom4te.cache
27
-compile
28
-config.guess
29
-config.h
30
-config.status
31
-config.sub
32
-configure
33
-depcomp
34
-install-sh
35
-libtool
36
-ltmain.sh
37
-missing
38
-stamp-h1
24
netdata.spec
25
sha256sums.txt
26
42
-# netdata binaries
43
-netdata
44
-netdatacli
45
-systemd-cat-native
46
-log2journal
47
-!log2journal/
48
-!netdata/
27
upload/
28
artifacts/
29
52
-apps.plugin
53
-!apps.plugin/
54
-
55
-freeipmi.plugin
56
-!freeipmi.plugin/
57
-
58
-cups.plugin
59
-!cups.plugin/
60
-
61
-nfacct.plugin
62
-!nfacct.plugin/
63
-
64
-xenstat.plugin
65
-!xenstat.plugin/
66
-
67
-perf.plugin
68
-!perf.plugin/
69
-
70
-slabinfo.plugin
71
-!slabinfo.plugin/
72
-
73
-cgroup-network
74
-!cgroup-network/
75
-
76
-local-listeners
77
-!local-listeners/
78
-
30
ebpf.plugin
31
collectors/ebpf.plugin/reset_netdata_trace.sh
32
!ebpf.plugin/
33
collectors/ebpf.plugin/includes/
34
84
-debugfs.plugin
85
-!debugfs.plugin/
86
-
87
-systemd-journal.plugin
88
-!systemd-journal.plugin/
89
-
90
-logs-management.plugin
91
-!logs-management.plugin/
92
-
35
# protoc generated files
36
*.pb.cc
37
*.pb.h
@@ -144,9 +86,6 @@ system/systemd/netdata-updater.service
86
!system/systemd/netdata.service.in
87
!system/systemd/netdata.service.*.in
88
147
-daemon/anonymous-statistics.sh
148
-daemon/get-kubernetes-labels.sh
149
-
89
health/notifications/alarm-notify.sh
90
claim/netdata-claim.sh
91
collectors/cgroups.plugin/cgroup-name.sh
@@ -248,14 +187,10 @@ Session.*.vim
187
# Jupyter notebook checkpoints
188
.ipynb_checkpoints
189
251
-# m4 generated ksys
252
-database/engine/journalfile_v2.ksy
253
-database/engine/journalfile_v2_virtmemb.ksy
254
-
190
# gorilla benchmark & fuzz binaries
256
-libnetdata/gorilla/gorilla_benchmark
257
-libnetdata/gorilla/gorilla_fuzzer
258
-libnetdata/gorilla/fuzz-*.log
191
+src/libnetdata/gorilla/gorilla_benchmark
192
+src/libnetdata/gorilla/gorilla_fuzzer
193
+src/libnetdata/gorilla/fuzz-*.log
194
195
# ignore build/ directory (default dir for many IDEs/LSPs)
196
build/
src/database/engine/datafile.ksy
deleted
-74
@@ -1,74 +0,0 @@
1
-meta:
2
- id: netdata_datafile
3
- endian: le
4
-
5
-seq:
6
- - id: hdr
7
- type: header
8
- size: 4096
9
- - id: extents
10
- type: extent
11
- repeat: eos
12
-
13
-types:
14
- header:
15
- seq:
16
- - id: magic
17
- contents: "netdata-data-file"
18
- - id: reserved
19
- size: 15
20
- - id: version
21
- contents: "1.0"
22
- - id: reserved1
23
- size: 13
24
- - id: tier
25
- type: u1
26
- extent_page_descr:
27
- seq:
28
- - id: type
29
- type: u1
30
- enum: page_type
31
- - id: uuid
32
- size: 16
33
- - id: page_len
34
- type: u4
35
- - id: start_time_ut
36
- type: u8
37
- - id: end_time_ut
38
- type: u8
39
- enums:
40
- page_type:
41
- 0: metrics
42
- 1: tier
43
- extent_header:
44
- seq:
45
- - id: payload_length
46
- type: u4
47
- - id: compression_algorithm
48
- type: u1
49
- enum: compression_algos
50
- - id: number_of_pages
51
- type: u1
52
- - id: page_descriptors
53
- type: extent_page_descr
54
- repeat: expr
55
- repeat-expr: number_of_pages
56
- enums:
57
- compression_algos:
58
- 0: rrd_no_compression
59
- 1: rrd_lz4
60
- extent_trailer:
61
- seq:
62
- - id: crc32_checksum
63
- type: u4
64
- extent:
65
- seq:
66
- - id: header
67
- type: extent_header
68
- - id: payload
69
- size: header.payload_length
70
- - id: trailer
71
- type: extent_trailer
72
- - id: padding
73
- size: (((_io.pos + 4095) / 4096) * 4096) - _io.pos
74
- # the extent size is made to always be a multiple of 4096
src/database/engine/journalfile_v2.ksy.in
deleted
-150
@@ -1,150 +0,0 @@
1
-meta:
2
- id: journalfile_v2`'ifdef(`VIRT_MEMBERS',`_virtmemb')
3
- endian: le
4
- application: netdata
5
- file-extension: njfv2
6
- license: GPL-3.0-or-later
7
-
8
-seq:
9
- - id: journal_v2_header
10
- type: journal_v2_header
11
- size: 4096
12
- - id: extent_list
13
- type: journal_v2_extent_list
14
- repeat: expr
15
- repeat-expr: journal_v2_header.extent_count
16
- - id: extent_trailer
17
- type: journal_v2_block_trailer
18
- - id: metric_list
19
- type: journal_v2_metric_list
20
- repeat: expr
21
- repeat-expr: journal_v2_header.metric_count
22
- - id: metric_trailer
23
- type: journal_v2_block_trailer
24
- - id: page_blocs
25
- type: journal_v2_page_block
26
- repeat: expr
27
- repeat-expr: _root.journal_v2_header.metric_count
28
- - id: padding
29
- size: _root._io.size - _root._io.pos - 4
30
- - id: journal_file_trailer
31
- type: journal_v2_block_trailer
32
-
33
-types:
34
- journal_v2_metric_list:
35
- seq:
36
- - id: uuid
37
- size: 16
38
- - id: entries
39
- type: u4
40
- - id: page_offset
41
- type: u4
42
- - id: delta_start_s
43
- type: u4
44
- - id: delta_end_s
45
- type: u4
46
-ifdef(`VIRT_MEMBERS',
47
-` instances:
48
- page_block:
49
- type: journal_v2_page_block
50
- io: _root._io
51
- pos: page_offset
52
-')dnl
53
- journal_v2_page_hdr:
54
- seq:
55
- - id: crc
56
- type: u4
57
- - id: uuid_offset
58
- type: u4
59
- - id: entries
60
- type: u4
61
- - id: uuid
62
- size: 16
63
- journal_v2_page_list:
64
- seq:
65
- - id: delta_start_s
66
- type: u4
67
- - id: delta_end_s
68
- type: u4
69
- - id: extent_idx
70
- type: u4
71
- - id: update_every_s
72
- type: u4
73
- - id: page_len
74
- type: u2
75
- - id: type
76
- type: u1
77
- - id: reserved
78
- type: u1
79
-ifdef(`VIRT_MEMBERS',
80
-` instances:
81
- extent:
82
- io: _root._io
83
- type: journal_v2_extent_list
84
- pos: _root.journal_v2_header.extent_offset + (extent_idx * 16)
85
-')dnl
86
- journal_v2_header:
87
- seq:
88
- - id: magic
89
- contents: [ 0x19, 0x10, 0x22, 0x01 ] #0x01221019
90
- - id: reserved
91
- type: u4
92
- - id: start_time_ut
93
- type: u8
94
- - id: end_time_ut
95
- type: u8
96
- - id: extent_count
97
- type: u4
98
- - id: extent_offset
99
- type: u4
100
- - id: metric_count
101
- type: u4
102
- - id: metric_offset
103
- type: u4
104
- - id: page_count
105
- type: u4
106
- - id: page_offset
107
- type: u4
108
- - id: extent_trailer_offset
109
- type: u4
110
- - id: metric_trailer_offset
111
- type: u4
112
- - id: original_file_size
113
- type: u4
114
- - id: total_file_size
115
- type: u4
116
- - id: data
117
- type: u8
118
-ifdef(`VIRT_MEMBERS',
119
-` instances:
120
- trailer:
121
- io: _root._io
122
- type: journal_v2_block_trailer
123
- pos: _root._io.size - 4
124
-')dnl
125
- journal_v2_block_trailer:
126
- seq:
127
- - id: checksum
128
- type: u4
129
- journal_v2_extent_list:
130
- seq:
131
- - id: datafile_offset
132
- type: u8
133
- - id: datafile_size
134
- type: u4
135
- - id: file_idx
136
- type: u2
137
- - id: page_cnt
138
- type: u1
139
- - id: padding
140
- type: u1
141
- journal_v2_page_block:
142
- seq:
143
- - id: hdr
144
- type: journal_v2_page_hdr
145
- - id: page_list
146
- type: journal_v2_page_list
147
- repeat: expr
148
- repeat-expr: hdr.entries
149
- - id: block_trailer
150
- type: journal_v2_block_trailer