|
|
@ -11,6 +11,14 @@
|
|
|
|
- prometheus-postgres-exporter
|
|
|
|
- prometheus-postgres-exporter
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Configure node-exporter
|
|
|
|
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
|
|
|
|
dest: /etc/default/prometheus-node-exporter
|
|
|
|
|
|
|
|
regexp: '^ARGS='
|
|
|
|
|
|
|
|
# Include filesystems under /mnt
|
|
|
|
|
|
|
|
line: ARGS='--collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|media|var/lib/docker/.+)($|/)"'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
|
|
|
|
# /usr/share/doc/prometheus-postgres-exporter/README.Debian
|
|
|
|
# /usr/share/doc/prometheus-postgres-exporter/README.Debian
|
|
|
|
- name: Configure postgres-exporter
|
|
|
|
- name: Configure postgres-exporter
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|