mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
8920024323
We have been Puppet user for 10 years and we are users of https://github.com/camptocamp/prometheus-puppetdb-sd However, that file_sd implementation contains business logic and assumptions around e.g. the modules which you are using. This pull request adds a simple PuppetDB service discovery, which will enable more use cases than the upstream sd. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 lines
135 B
YAML
5 lines
135 B
YAML
scrape_configs:
|
|
- puppetdb_sd_configs:
|
|
- url: ftp://puppet
|
|
query: 'resources { type = "Package" and title = "httpd" }'
|