diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c index 86c4b6da6b..1aa306a992 100644 --- a/collectors/apps.plugin/apps_plugin.c +++ b/collectors/apps.plugin/apps_plugin.c @@ -3896,7 +3896,7 @@ static void send_charts_updates_to_netdata(struct target *root, const char *type w->exposed = 1; fprintf(stdout, "CHART %s.%s_cpu_utilization '' '%s CPU utilization (100%% = 1 core)' 'percentage' cpu %s.cpu_utilization stacked 20001 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION user '' absolute 1 %llu\n", time_factor * RATES_DETAIL / 100LLU); fprintf(stdout, "DIMENSION system '' absolute 1 %llu\n", time_factor * RATES_DETAIL / 100LLU); @@ -3904,84 +3904,84 @@ static void send_charts_updates_to_netdata(struct target *root, const char *type #ifndef __FreeBSD__ if (enable_guest_charts) { fprintf(stdout, "CHART %s.%s_cpu_guest_utilization '' '%s CPU guest utlization (100%% = 1 core)' 'percentage' cpu %s.cpu_guest_utilization line 20005 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION guest '' absolute 1 %llu\n", time_factor * RATES_DETAIL / 100LLU); } fprintf(stdout, "CHART %s.%s_cpu_context_switches '' '%s CPU context switches' 'switches/s' cpu %s.cpu_context_switches stacked 20010 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION voluntary '' absolute 1 %llu\n", RATES_DETAIL); fprintf(stdout, "DIMENSION involuntary '' absolute 1 %llu\n", RATES_DETAIL); fprintf(stdout, "CHART %s.%s_mem_private_usage '' '%s memory usage without shared' 'MiB' mem %s.mem_private_usage area 20050 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION mem '' absolute %ld %ld\n", 1L, 1024L); #endif fprintf(stdout, "CHART %s.%s_mem_usage '' '%s memory RSS usage' 'MiB' mem %s.mem_usage area 20055 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION rss '' absolute %ld %ld\n", 1L, 1024L); fprintf(stdout, "CHART %s.%s_mem_page_faults '' '%s memory page faults' 'pgfaults/s' mem %s.mem_page_faults stacked 20060 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION major '' absolute 1 %llu\n", RATES_DETAIL); fprintf(stdout, "DIMENSION minor '' absolute 1 %llu\n", RATES_DETAIL); fprintf(stdout, "CHART %s.%s_vmem_usage '' '%s virtual memory size' 'MiB' mem %s.vmem_usage line 20065 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION vmem '' absolute %ld %ld\n", 1L, 1024L); #ifndef __FreeBSD__ fprintf(stdout, "CHART %s.%s_swap_usage '' '%s swap usage' 'MiB' mem %s.swap_usage area 20065 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION swap '' absolute %ld %ld\n", 1L, 1024L); #endif #ifndef __FreeBSD__ fprintf(stdout, "CHART %s.%s_disk_physical_io '' '%s disk physical IO' 'KiB/s' disk %s.disk_physical_io area 20100 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION reads '' absolute 1 %llu\n", 1024LLU * RATES_DETAIL); fprintf(stdout, "DIMENSION writes '' absolute -1 %llu\n", 1024LLU * RATES_DETAIL); fprintf(stdout, "CHART %s.%s_disk_logical_io '' '%s disk logical IO' 'KiB/s' disk %s.disk_logical_io area 20105 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION reads '' absolute 1 %llu\n", 1024LLU * RATES_DETAIL); fprintf(stdout, "DIMENSION writes '' absolute -1 %llu\n", 1024LLU * RATES_DETAIL); #else fprintf(stdout, "CHART %s.%s_disk_physical_io '' '%s disk physical IO' 'blocks/s' disk %s.disk_physical_block_io area 20100 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION reads '' absolute 1 %llu\n", RATES_DETAIL); fprintf(stdout, "DIMENSION writes '' absolute -1 %llu\n", RATES_DETAIL); #endif fprintf(stdout, "CHART %s.%s_processes '' '%s processes' 'processes' processes %s.processes line 20150 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION processes '' absolute 1 1\n"); fprintf(stdout, "CHART %s.%s_threads '' '%s threads' 'threads' processes %s.threads line 20155 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION threads '' absolute 1 1\n"); if (enable_file_charts) { fprintf(stdout, "CHART %s.%s_fds_open_limit '' '%s open file descriptors limit' '%%' fds %s.fds_open_limit line 20200 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION limit '' absolute 1 100\n"); fprintf(stdout, "CHART %s.%s_fds_open '' '%s open files descriptors' 'fds' fds %s.fds_open stacked 20210 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION files '' absolute 1 1\n"); fprintf(stdout, "DIMENSION sockets '' absolute 1 1\n"); @@ -3996,13 +3996,13 @@ static void send_charts_updates_to_netdata(struct target *root, const char *type #ifndef __FreeBSD__ fprintf(stdout, "CHART %s.%s_uptime '' '%s uptime' 'seconds' uptime %s.uptime line 20250 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION uptime '' absolute 1 1\n"); if (enable_detailed_uptime_charts) { fprintf(stdout, "CHART %s.%s_uptime_summary '' '%s uptime summary' 'seconds' uptime %s.uptime_summary area 20255 %d\n", type, w->clean_name, title, type, update_every); - fprintf(stdout, "CLABEL '%s' '%s' 0\n", lbl_name, w->name); + fprintf(stdout, "CLABEL '%s' '%s' 1\n", lbl_name, w->name); fprintf(stdout, "CLABEL_COMMIT\n"); fprintf(stdout, "DIMENSION min '' absolute 1 1\n"); fprintf(stdout, "DIMENSION avg '' absolute 1 1\n"); diff --git a/collectors/debugfs.plugin/sys_devices_virtual_powercap.c b/collectors/debugfs.plugin/sys_devices_virtual_powercap.c index f79b944a9b..ee261c27f6 100644 --- a/collectors/debugfs.plugin/sys_devices_virtual_powercap.c +++ b/collectors/debugfs.plugin/sys_devices_virtual_powercap.c @@ -151,7 +151,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u update_every); fprintf(stdout, - "CLABEL 'zone' '%s' 0\n" + "CLABEL 'zone' '%s' 1\n" "CLABEL_COMMIT\n", zone->name); @@ -171,7 +171,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u update_every); fprintf(stdout, - "CLABEL 'zone' '%s' 0\n" + "CLABEL 'zone' '%s' 1\n" "CLABEL_COMMIT\n", zone->name); diff --git a/collectors/ebpf.plugin/ebpf_cachestat.c b/collectors/ebpf.plugin/ebpf_cachestat.c index 24710ea5af..e13f27ea26 100644 --- a/collectors/ebpf.plugin/ebpf_cachestat.c +++ b/collectors/ebpf.plugin/ebpf_cachestat.c @@ -814,7 +814,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr) 20260, update_every, NETDATA_EBPF_MODULE_NAME_CACHESTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION ratio '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -830,7 +830,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr) 20261, update_every, NETDATA_EBPF_MODULE_NAME_CACHESTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION pages '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -845,7 +845,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr) 20262, update_every, NETDATA_EBPF_MODULE_NAME_CACHESTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION hits '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -860,7 +860,7 @@ void ebpf_cachestat_create_apps_charts(struct ebpf_module *em, void *ptr) 20263, update_every, NETDATA_EBPF_MODULE_NAME_CACHESTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION misses '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); w->charts_created |= 1<<EBPF_MODULE_CACHESTAT_IDX; diff --git a/collectors/ebpf.plugin/ebpf_dcstat.c b/collectors/ebpf.plugin/ebpf_dcstat.c index e967d6cc92..833177590d 100644 --- a/collectors/ebpf.plugin/ebpf_dcstat.c +++ b/collectors/ebpf.plugin/ebpf_dcstat.c @@ -521,7 +521,7 @@ void ebpf_dcstat_create_apps_charts(struct ebpf_module *em, void *ptr) 20265, update_every, NETDATA_EBPF_MODULE_NAME_DCSTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION ratio '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -536,7 +536,7 @@ void ebpf_dcstat_create_apps_charts(struct ebpf_module *em, void *ptr) 20266, update_every, NETDATA_EBPF_MODULE_NAME_DCSTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION files '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -551,7 +551,7 @@ void ebpf_dcstat_create_apps_charts(struct ebpf_module *em, void *ptr) 20267, update_every, NETDATA_EBPF_MODULE_NAME_DCSTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION files '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -566,7 +566,7 @@ void ebpf_dcstat_create_apps_charts(struct ebpf_module *em, void *ptr) 20268, update_every, NETDATA_EBPF_MODULE_NAME_DCSTAT); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION files '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); diff --git a/collectors/ebpf.plugin/ebpf_fd.c b/collectors/ebpf.plugin/ebpf_fd.c index 165e47529f..8c9fa7cc30 100644 --- a/collectors/ebpf.plugin/ebpf_fd.c +++ b/collectors/ebpf.plugin/ebpf_fd.c @@ -1189,7 +1189,7 @@ void ebpf_fd_create_apps_charts(struct ebpf_module *em, void *ptr) 20220, update_every, NETDATA_EBPF_MODULE_NAME_FD); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1205,7 +1205,7 @@ void ebpf_fd_create_apps_charts(struct ebpf_module *em, void *ptr) 20221, update_every, NETDATA_EBPF_MODULE_NAME_FD); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -1221,7 +1221,7 @@ void ebpf_fd_create_apps_charts(struct ebpf_module *em, void *ptr) 20222, update_every, NETDATA_EBPF_MODULE_NAME_FD); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1237,7 +1237,7 @@ void ebpf_fd_create_apps_charts(struct ebpf_module *em, void *ptr) 20223, update_every, NETDATA_EBPF_MODULE_NAME_FD); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } diff --git a/collectors/ebpf.plugin/ebpf_oomkill.c b/collectors/ebpf.plugin/ebpf_oomkill.c index e9afe85d45..2c34650c35 100644 --- a/collectors/ebpf.plugin/ebpf_oomkill.c +++ b/collectors/ebpf.plugin/ebpf_oomkill.c @@ -495,7 +495,7 @@ void ebpf_oomkill_create_apps_charts(struct ebpf_module *em, void *ptr) 20072, update_every, NETDATA_EBPF_MODULE_NAME_OOMKILL); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION kills '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); diff --git a/collectors/ebpf.plugin/ebpf_process.c b/collectors/ebpf.plugin/ebpf_process.c index 31b676cf6c..136815138e 100644 --- a/collectors/ebpf.plugin/ebpf_process.c +++ b/collectors/ebpf.plugin/ebpf_process.c @@ -437,7 +437,7 @@ void ebpf_process_create_apps_charts(struct ebpf_module *em, void *ptr) 20161, update_every, NETDATA_EBPF_MODULE_NAME_PROCESS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -452,7 +452,7 @@ void ebpf_process_create_apps_charts(struct ebpf_module *em, void *ptr) 20162, update_every, NETDATA_EBPF_MODULE_NAME_PROCESS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -467,7 +467,7 @@ void ebpf_process_create_apps_charts(struct ebpf_module *em, void *ptr) 20163, update_every, NETDATA_EBPF_MODULE_NAME_PROCESS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -482,7 +482,7 @@ void ebpf_process_create_apps_charts(struct ebpf_module *em, void *ptr) 20164, update_every, NETDATA_EBPF_MODULE_NAME_PROCESS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); @@ -498,7 +498,7 @@ void ebpf_process_create_apps_charts(struct ebpf_module *em, void *ptr) 20165, update_every, NETDATA_EBPF_MODULE_NAME_PROCESS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_ABSOLUTE_IDX]); } diff --git a/collectors/ebpf.plugin/ebpf_shm.c b/collectors/ebpf.plugin/ebpf_shm.c index 2377ad8d97..e0e751aa6f 100644 --- a/collectors/ebpf.plugin/ebpf_shm.c +++ b/collectors/ebpf.plugin/ebpf_shm.c @@ -1094,7 +1094,7 @@ void ebpf_shm_create_apps_charts(struct ebpf_module *em, void *ptr) 20191, update_every, NETDATA_EBPF_MODULE_NAME_SHM); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1109,7 +1109,7 @@ void ebpf_shm_create_apps_charts(struct ebpf_module *em, void *ptr) 20192, update_every, NETDATA_EBPF_MODULE_NAME_SHM); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1124,7 +1124,7 @@ void ebpf_shm_create_apps_charts(struct ebpf_module *em, void *ptr) 20193, update_every, NETDATA_EBPF_MODULE_NAME_SHM); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1139,7 +1139,7 @@ void ebpf_shm_create_apps_charts(struct ebpf_module *em, void *ptr) 20194, update_every, NETDATA_EBPF_MODULE_NAME_SHM); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); diff --git a/collectors/ebpf.plugin/ebpf_socket.c b/collectors/ebpf.plugin/ebpf_socket.c index 22ed102770..bbb5dca1b4 100644 --- a/collectors/ebpf.plugin/ebpf_socket.c +++ b/collectors/ebpf.plugin/ebpf_socket.c @@ -1267,7 +1267,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION connections '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1283,7 +1283,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION connections '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -1299,7 +1299,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION bandwidth '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1314,7 +1314,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION bandwidth '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1329,7 +1329,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1344,7 +1344,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1359,7 +1359,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1374,7 +1374,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -1389,7 +1389,7 @@ void ebpf_socket_create_apps_charts(struct ebpf_module *em, void *ptr) order, update_every, NETDATA_EBPF_MODULE_NAME_SOCKET); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); diff --git a/collectors/ebpf.plugin/ebpf_swap.c b/collectors/ebpf.plugin/ebpf_swap.c index 8964e80d5c..3c484539b9 100644 --- a/collectors/ebpf.plugin/ebpf_swap.c +++ b/collectors/ebpf.plugin/ebpf_swap.c @@ -855,7 +855,7 @@ void ebpf_swap_create_apps_charts(struct ebpf_module *em, void *ptr) 20070, update_every, NETDATA_EBPF_MODULE_NAME_SWAP); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -870,7 +870,7 @@ void ebpf_swap_create_apps_charts(struct ebpf_module *em, void *ptr) 20071, update_every, NETDATA_EBPF_MODULE_NAME_SWAP); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); diff --git a/collectors/ebpf.plugin/ebpf_vfs.c b/collectors/ebpf.plugin/ebpf_vfs.c index 47df4840b9..64a6c27774 100644 --- a/collectors/ebpf.plugin/ebpf_vfs.c +++ b/collectors/ebpf.plugin/ebpf_vfs.c @@ -2172,7 +2172,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2187,7 +2187,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2203,7 +2203,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -2219,7 +2219,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2235,7 +2235,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -2251,7 +2251,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION writes '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2266,7 +2266,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION reads '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2281,7 +2281,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2297,7 +2297,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -2313,7 +2313,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2329,7 +2329,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); } @@ -2345,7 +2345,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); @@ -2361,7 +2361,7 @@ void ebpf_vfs_create_apps_charts(struct ebpf_module *em, void *ptr) order++, update_every, NETDATA_EBPF_MODULE_NAME_VFS); - ebpf_create_chart_labels("app_group", w->name, 0); + ebpf_create_chart_labels("app_group", w->name, 1); ebpf_commit_label(); fprintf(stdout, "DIMENSION calls '' %s 1 1\n", ebpf_algorithms[NETDATA_EBPF_INCREMENTAL_IDX]); }