Update ebpf dashboard (#11547)
thiagoftsm committed
Sep 22, 2021 at 13:53 UTC
0405100ee97638015ff2ecdc88cdb94c6ce6acf1
5 files changed
+24
-10
collectors/ebpf.plugin/ebpf_apps.h
-1
@@ -14,7 +14,6 @@
14
#define NETDATA_APPS_FILE_GROUP "file_access"
15
#define NETDATA_APPS_PROCESS_GROUP "process (eBPF)"
16
#define NETDATA_APPS_NET_GROUP "net"
17
-#define NETDATA_APPS_CACHESTAT_GROUP "page cache (eBPF)"
17
18
#include "ebpf_process.h"
19
#include "ebpf_dcstat.h"
collectors/ebpf.plugin/ebpf_cachestat.c
+4
-4
@@ -293,7 +293,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr)
293
ebpf_create_charts_on_apps(NETDATA_CACHESTAT_HIT_RATIO_CHART,
294
"The ratio is calculated dividing the Hit pages per total cache accesses without counting dirties.",
295
EBPF_COMMON_DIMENSION_PERCENTAGE,
296
- NETDATA_APPS_CACHESTAT_GROUP,
296
+ NETDATA_CACHESTAT_SUBMENU,
297
NETDATA_EBPF_CHART_TYPE_LINE,
298
20090,
299
ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX],
@@ -302,7 +302,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr)
302
ebpf_create_charts_on_apps(NETDATA_CACHESTAT_DIRTY_CHART,
303
"Number of pages marked as dirty. When a page is called dirty, this means that the data stored inside the page needs to be written to devices.",
304
EBPF_CACHESTAT_DIMENSION_PAGE,
305
- NETDATA_APPS_CACHESTAT_GROUP,
305
+ NETDATA_CACHESTAT_SUBMENU,
306
NETDATA_EBPF_CHART_TYPE_STACKED,
307
20091,
308
ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX],
@@ -311,7 +311,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr)
311
ebpf_create_charts_on_apps(NETDATA_CACHESTAT_HIT_CHART,
312
"Number of cache access without counting dirty pages and page additions.",
313
EBPF_CACHESTAT_DIMENSION_HITS,
314
- NETDATA_APPS_CACHESTAT_GROUP,
314
+ NETDATA_CACHESTAT_SUBMENU,
315
NETDATA_EBPF_CHART_TYPE_STACKED,
316
20092,
317
ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX],
@@ -320,7 +320,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr)
320
ebpf_create_charts_on_apps(NETDATA_CACHESTAT_MISSES_CHART,
321
"Page caches added without counting dirty pages",
322
EBPF_CACHESTAT_DIMENSION_MISSES,
323
- NETDATA_APPS_CACHESTAT_GROUP,
323
+ NETDATA_CACHESTAT_SUBMENU,
324
NETDATA_EBPF_CHART_TYPE_STACKED,
325
20093,
326
ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX],
collectors/ebpf.plugin/ebpf_cachestat.h
+1
-1
@@ -12,7 +12,7 @@
12
#define NETDATA_CACHESTAT_HIT_CHART "cachestat_hits"
13
#define NETDATA_CACHESTAT_MISSES_CHART "cachestat_misses"
14
15
-#define NETDATA_CACHESTAT_SUBMENU "page cache (eBPF)"
15
+#define NETDATA_CACHESTAT_SUBMENU "page_cache"
16
17
#define EBPF_CACHESTAT_DIMENSION_PAGE "pages/s"
18
#define EBPF_CACHESTAT_DIMENSION_HITS "hits/s"
collectors/ebpf.plugin/ebpf_swap.h
+1
-1
@@ -12,7 +12,7 @@
12
#define NETDATA_MEM_SWAP_CHART "swapcalls"
13
#define NETDATA_MEM_SWAP_READ_CHART "swap_read_call"
14
#define NETDATA_MEM_SWAP_WRITE_CHART "swap_write_call"
15
-#define NETDATA_SWAP_SUBMENU "swap (eBPF)"
15
+#define NETDATA_SWAP_SUBMENU "swap"
16
17
// configuration file
18
#define NETDATA_DIRECTORY_SWAP_CONFIG_FILE "swap.conf"
web/gui/dashboard_info.js
+18
-3
@@ -816,9 +816,19 @@ netdataDashboard.submenu = {
816
info: 'Statistics of the peer variables for each peer configured in <code>/etc/ntp.conf</code> as shown by the readvar billboard <code>ntpq -c "rv <association>"</code>, while each peer is assigned a nonzero association ID as shown by <code>ntpq -c "apeers"</code>. The module periodically scans for new/changed peers (default: every 60s). <b>ntpd</b> selects the best possible peer from the available peers to synchronize the clock. A minimum of at least 3 peers is required to properly identify the best possible peer.'
817
},
818
819
+ 'mem.page_cache': {
820
+ title: 'page cache (eBPF)',
821
+ info: 'Monitor calls to functions used to manipulate <a href="https://en.wikipedia.org/wiki/Page_cache" target="_blank">Linux page cache</a>. When integration with apps is <a href="https://learn.netdata.cloud/guides/troubleshoot/monitor-debug-applications-ebpf" target="_blank">enabled</a>, Netdata also shows page cache manipulation per <a href="#menu_apps_submenu_page_cache">application</a>.'
822
+ },
823
+
824
+ 'apps.page_cache': {
825
+ title: 'page cache (eBPF)',
826
+ info: 'Netdata also gives a summary for these charts in <a href="#menu_mem_submenu_page_cache">Memory submenu</a>.'
827
+ },
828
+
829
'filesystem.vfs': {
830
title: 'vfs (eBPF)',
821
- info: 'Monitor calls for functions used to manipulate <a href="https://learn.netdata.cloud/docs/agent/collectors/ebpf.plugin#vfs" target="_blank">File Systems</a>. When integration with apps is <a href="https://learn.netdata.cloud/guides/troubleshoot/monitor-debug-applications-ebpf" target="_blank">enabled</a>, Netdata also shows Virtual File System per <a href="#menu_apps_submenu_vfs">application</a>.'
831
+ info: 'Monitor calls to functions used to manipulate <a href="https://learn.netdata.cloud/docs/agent/collectors/ebpf.plugin#vfs" target="_blank">File Systems</a>. When integration with apps is <a href="https://learn.netdata.cloud/guides/troubleshoot/monitor-debug-applications-ebpf" target="_blank">enabled</a>, Netdata also shows Virtual File System per <a href="#menu_apps_submenu_vfs">application</a>.'
832
},
833
834
'apps.vfs': {
@@ -847,11 +857,12 @@ netdataDashboard.submenu = {
857
},
858
859
'filesystem.file_access': {
850
- title: 'file access',
860
+ title: 'file access (eBPF)',
861
info: 'When integration with apps is <a href="https://learn.netdata.cloud/guides/troubleshoot/monitor-debug-applications-ebpf" target="_blank">enabled</a>, Netdata also shows file access per <a href="#menu_apps_submenu_file_access">application</a>.'
862
},
863
864
'apps.file_access': {
865
+ title: 'file access (eBPF)',
866
info: 'Netdata also gives a summary for this chart on <a href="#menu_filesystem_submenu_file_access">Filesystem submenu</a> (more details on <a href="https://learn.netdata.cloud/docs/agent/collectors/ebpf.plugin#file" target="_blank">eBPF plugin file chart section</a>).'
867
},
868
@@ -1069,6 +1080,10 @@ netdataDashboard.context = {
1080
info: 'System swap memory usage. Swap space is used when the amount of physical memory (RAM) is full. When the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space (usually a disk, a disk partition or a file).'
1081
},
1082
1083
+ 'system.swapcalls': {
1084
+ info: 'Monitor calls to functions <code>swap_readpage</code> and <code>swap_writepage</code>. When integration with apps is <a href="https://learn.netdata.cloud/guides/troubleshoot/monitor-debug-applications-ebpf" target="_blank">enabled</a>, Netdata also shows swap access per <a href="#menu_apps_submenu_swap">application</a>.'
1085
+ },
1086
+
1087
'system.ipc_semaphores': {
1088
info: 'Number of allocated System V IPC semaphores. '+
1089
'The system-wide limit on the number of semaphores in all semaphore sets is specified in <code>/proc/sys/kernel/sem</code> file (2nd field).'
@@ -3975,7 +3990,7 @@ netdataDashboard.context = {
3990
},
3991
3992
'apps.swap_read_call': {
3978
- info: 'The function <code>swap_readpage</code> is called when the kernel reads a page from swap memory.'
3993
+ info: 'The function <code>swap_readpage</code> is called when the kernel reads a page from swap memory. Netdata also gives a summary for these charts in <a href="#menu_system_submenu_swap">System overview</a>.'
3994
},
3995
3996
'apps.swap_write_call': {