We have modified which cgroups to match as systemd services as follows cgroups to match as systemd services = /system.slice/system-h*.slice/*.service !/system.slice/*/*.service /system.slice/*.service and after restarting netdata, we do not see the expected services appear in netdata charts.
What I expected to happen
After restarting netdata, we expected to see services listed from the slice we added. We’re not sure if we needed to modify another of the netdata config lines to allow the above parameter to evaluate.
We’re not sure if we needed to modify another of the netdata config lines to allow the above parameter to evaluate.
Indeed, could the be case. First of all we need a cgroup get matched by enable by default cgroups matching (otherwise it is filtered out), then, to make it appear as systemd service, matched by cgroups to match as systemd services. @vlvkobal correct me if i am wrong.
No, you can’t exclude a systemd service from being monitored using enable by default cgroups matching. @simpki please show the full path to the service you want to add.
I’m not sure what to make of this. In this case, an application has chosen the /system.slice/system-h*.slice/*.service path, and the pattern match succeeds in the CLI.