Show the number of processes/threads for empty apps groups (#11834)
Vladimir Kobal committed
Feb 17, 2022 at 13:49 UTC
cc165dd6d836cd75631d261311bdb668f0f80185
1 file changed
+2
-2
collectors/apps.plugin/apps_plugin.c
+2
-2
@@ -3470,14 +3470,14 @@ static void send_collected_data_to_netdata(struct target *root, const char *type
3470
3471
send_BEGIN(type, "threads", dt);
3472
for (w = root; w ; w = w->next) {
3473
- if(unlikely(w->exposed && w->processes))
3473
+ if(unlikely(w->exposed))
3474
send_SET(w->name, w->num_threads);
3475
}
3476
send_END();
3477
3478
send_BEGIN(type, "processes", dt);
3479
for (w = root; w ; w = w->next) {
3480
- if(unlikely(w->exposed && w->processes))
3480
+ if(unlikely(w->exposed))
3481
send_SET(w->name, w->processes);
3482
}
3483
send_END();