disable the collection of mount service.

This commit is contained in:
陆秋文
2023-07-13 07:14:57 +00:00
parent 38541f4433
commit 925b4a88eb

View File

@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/opt/tsg/exporter/systemd_exporter --web.disable-exporter-metrics --collector.unit-blacklist=.*\.socket|systemd-fsck@.*\.service|-\.slice
ExecStart=/opt/tsg/exporter/systemd_exporter --web.disable-exporter-metrics --collector.unit-blacklist=.*\.socket|systemd-fsck@.*\.service|-\.slice|-\.mount
Restart=always
[Install]