ansible
ansible copied to clipboard
enhancement(node_exporter): use systemd to create node_exporter_textfile_dir if it doesn't exist
We're currently using a directory inside tmpfs for textfile collectors to reduce possible unnecessary IO usage, and the directory will be removed after a reboot. This PR is to ensure that node_exporter_textfile_dir
exists when node-exporter is started.