diff --git a/pkg/exporter/nettop/cache.go b/pkg/exporter/nettop/cache.go index dd61e7f5..b55410a3 100644 --- a/pkg/exporter/nettop/cache.go +++ b/pkg/exporter/nettop/cache.go @@ -382,7 +382,9 @@ func cacheNetTopology(ctx context.Context) error { var pids []int if podCgroupPath != "" { pids = tasksInsidePodCgroup(podCgroupPath) - log.Debugf("found %d pids under cgroup %s", len(pids), podCgroupPath) + if len(pids) == 0 { + log.Warnf("sandbox %s/%s: found 0 pids under cgroup %s", namespace, name, podCgroupPath) + } } status := sandboxStatus.Status