@cryptotaxi247 / netdata-1 / commits / d416099ff

Update eBPF documentation (#10982)

thiagoftsm committed Apr 15, 2021 at 18:18 UTC d416099ffb8ad1d15cf77aa6b4a40e5f3b855ee3
6 files changed +8 -8
collectors/apps.plugin/README.md
+1 -1
@@ -160,7 +160,7 @@ There are a few command line options you can pass to `apps.plugin`. The list of
160 ### Integration with eBPF
161
162 If you don't see charts under the **eBPF syscall** or **eBPF net** sections, you should edit your
163 -[`ebpf.conf`](/collectors/ebpf.plugin/README.md#ebpf-programs) file to ensure the eBPF program is enabled.
163 +[`ebpf.d.conf`](/collectors/ebpf.plugin/README.md#ebpf-programs) file to ensure the eBPF program is enabled.
164
165 Also see our [guide on troubleshooting apps with eBPF
166 metrics](/docs/guides/troubleshoot/monitor-debug-applications-ebpf.md) for ideas on how to interpret these charts in a
collectors/ebpf.plugin/README.md
+2 -2
@@ -123,11 +123,11 @@ To enable the collector, scroll down to the `[plugins]` section ensure the relev
123 ebpf = yes
124 ```
125
126 -You can also configure the eBPF collector's behavior by editing `ebpf.conf`.
126 +You can also configure the eBPF collector's behavior by editing `ebpf.d.conf`.
127
128 ```bash
129 cd /etc/netdata/ # Replace with your Netdata configuration directory, if not /etc/netdata/
130 -./edit-config ebpf.conf
130 +./edit-config ebpf.d.conf
131 ```
132
133 ### `[global]`
collectors/ebpf.plugin/ebpf.c
+1 -1
@@ -1037,7 +1037,7 @@ static void parse_args(int argc, char **argv)
1037
1038 if (load_collector_config(ebpf_user_config_dir, &disable_apps)) {
1039 info(
1040 - "Does not have a configuration file inside `%s/ebpf.conf. It will try to load stock file.",
1040 + "Does not have a configuration file inside `%s/ebpf.d.conf. It will try to load stock file.",
1041 ebpf_user_config_dir);
1042 if (load_collector_config(ebpf_stock_config_dir, &disable_apps)) {
1043 info("Does not have a stock file. It is starting with default options.");
docs/configure/nodes.md
+2 -2
@@ -40,7 +40,7 @@ exist.
40 - `edit-config` is a shell script used for [editing configuration files](#use-edit-config-to-edit-configuration-files).
41 - Various configuration files ending in `.conf` for [configuring plugins or
42 collectors](/docs/collect/enable-configure.md#enable-a-collector-or-its-orchestrator) behave. Examples: `go.d.conf`,
43 - `python.d.conf`, and `ebpf.conf`.
43 + `python.d.conf`, and `ebpf.d.conf`.
44 - Various directories ending in `.d`, which contain other configuration files, each ending in `.conf`, for [configuring
45 specific collectors](/docs/collect/enable-configure.md#configure-a-collector).
46 - `apps_groups.conf` is a configuration file for changing how applications/processes are grouped when viewing the
@@ -112,7 +112,7 @@ You can edit any Netdata configuration file using `edit-config`. A few examples:
112
113 ```bash
114 ./edit-config apps_groups.conf
115 -./edit-config ebpf.conf
115 +./edit-config ebpf.d.conf
116 ./edit-config health.d/load.conf
117 ./edit-config go.d/prometheus.conf
118 ```
docs/guides/troubleshoot/monitor-debug-applications-ebpf.md
+1 -1
@@ -91,7 +91,7 @@ Let's turn on the `return` mode for more granularity when debugging Firefox's be
91
92 ```bash
93 cd /etc/netdata # Replace this path with your Netdata config directory
94 -sudo ./edit-config ebpf.conf
94 +sudo ./edit-config ebpf.d.conf
95 ```
96
97 Replace `entry` with `return`:
netdata-installer.sh
+1 -1
@@ -1613,7 +1613,7 @@ remove_old_ebpf() {
1613
1614 if [ -f "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" ]; then
1615 echo >&2 "Renaming eBPF configuration file."
1616 - mv "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" "${NETDATA_PREFIX}/etc/netdata/ebpf.conf"
1616 + mv "${NETDATA_PREFIX}/etc/netdata/ebpf_process.conf" "${NETDATA_PREFIX}/etc/netdata/ebpf.d.conf"
1617 fi
1618
1619 # Added to remove eBPF programs with name pattern: NAME_VERSION.SUBVERSION.PATCH