From 06175ca853a2753f5574e87ca6d649480aeddd4b Mon Sep 17 00:00:00 2001 From: Angel Viera Date: Sun, 26 Feb 2023 10:02:08 +0800 Subject: [PATCH] added systemd to node-exporter --- .devcontainer/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 1d0a4ac..c97add6 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -18,6 +18,8 @@ services: - '--web.console.libraries=/etc/prometheus/console_libraries' - '--web.console.templates=/etc/prometheus/consoles' - '--web.enable-lifecycle' + - '--collector.systemd --collector.processes' + # - '--storage.tsdb.retention.time=30d' ports: - 9090:9090