Hello, I have a node exporter setup and installed in a Linux Ubuntu server and everything works fine. I've had to setup a few different custom SystemD services located in /etc/systemd/system/ and I'd like to know how I can whitelist them into the node_exporter.service which is also located in /etc/systemd/system
This is the configuration in there right now: [ *Service]User=node_exporterGroup=node_exporterType=simpleExecStart=/usr/local/bin/node_exporter \ --collector.textfile.directory /var/lib/node_exporter/textfile_collector \ --collector.filesystem.ignored-fs-types="^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$" \ --collector.filesystem.ignored-mount-points "^/mnt/folder_dump" \ --collector.systemd \ --collector.systemd.unit-whitelist="(apache2|ssh|rsyslog|nginx|nuxt).service"* Question is, how can I add a custom SystemD service called let's say, "nuxt_sitename-a.service" as well as "nuxt_sitename-b.service" etc... When I try to add it in the *--collector.systemd.unit-whitelist= *I don't see anything with that name in Prometheus query *node_systemd_unit_state *related to the nuxt_sitename-a/b but I do see all the other whitelist services like SSH, Apache etc.. Does anybody know how to get node exporter to see -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/42b52c82-589c-4b27-a8eb-63c4f5f2b48c%40googlegroups.com.

