@cryptotaxi247 / netdata-1 / commits / 2ee2e38ec

apps.plugin: fix for plugin sending unnecessary data in freebsd (#12446)

Suraj Neupane committed Mar 17, 2022 at 18:18 UTC 2ee2e38ec16bd969618c5874ee1bcc8e332fa81d
1 file changed +3
collectors/apps.plugin/apps_plugin.c
+3
@@ -4247,7 +4247,10 @@ int main(int argc, char **argv) {
4247 normalize_utilization(apps_groups_root_target);
4248
4249 send_resource_usage_to_netdata(dt);
4250 +
4251 +#ifndef __FreeBSD__
4252 send_proc_states_count(dt);
4253 +#endif
4254
4255 // this is smart enough to show only newly added apps, when needed
4256 send_charts_updates_to_netdata(apps_groups_root_target, "apps", "Apps");