From 925b4a88eb2e298c8582c93f3f229b964958b670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E7=A7=8B=E6=96=87?= Date: Thu, 13 Jul 2023 07:14:57 +0000 Subject: [PATCH] disable the collection of mount service. --- ansible/roles/exporter/templates/exporter-systemd.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/exporter/templates/exporter-systemd.service.j2 b/ansible/roles/exporter/templates/exporter-systemd.service.j2 index 81ff4ca6..65e5c6c1 100644 --- a/ansible/roles/exporter/templates/exporter-systemd.service.j2 +++ b/ansible/roles/exporter/templates/exporter-systemd.service.j2 @@ -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]