feat: setup metrics agents

- set puppet::puppetdb_api class to export puppetdb
- set infra::dns::server class to export bind
- set all to export node and systemd metrics
This commit is contained in:
2023-11-17 22:59:26 +11:00
parent da2e59a6ed
commit a21b7ffc96
7 changed files with 30 additions and 3 deletions
@@ -13,4 +13,9 @@ class profiles::puppet::puppetdb_api (
contain ::puppetdb::server
class { 'prometheus::puppetdb_exporter':
puppetdb_url => "http://${listen_address}:8080/pdb/query",
export_scrape_job => true,
}
}