feat: create exporters module (#364)

- 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

Reviewed-on: #364
This commit was merged in pull request #364.
This commit is contained in:
2025-07-27 13:28:41 +10:00
parent 0e64c9855a
commit fd902c1437
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 }
}