feat: create exporters module
Build / precommit (pull_request) Successful in 4m51s

- upgrade node_exporter, bring managed under exporters module
- upgrade postgres_exporter, bring managed under exporters module
- add flag to cleanup previous iterations of exporters from prometheus module
- fix issues with vmclusster: replication + dedup
This commit is contained in:
2025-07-26 19:48:07 +10:00
parent 0e64c9855a
commit 3053e262cc
15 changed files with 236 additions and 21 deletions
@@ -1,11 +0,0 @@
# profiles::metrics::default
#
# these exporters will be setup on all nodes
class profiles::metrics::default (
Boolean $node_exporter = true,
Boolean $systemd_exporter = false,
) {
if $node_exporter { include prometheus::node_exporter }
if $systemd_exporter { include prometheus::systemd_exporter }
}