Good day gentlemen,
I have a foreign computer I already scrape with one primary ip address. On this computer, we use 2 distinct IP, visible depending on the internet status. It occurs the first address is down sometimes, so the second address is working. Is there any way to scrape the 2 addresses using some parameters in the yaml config file, something like:
scrape_configs:
- job_name: 'postgres-exporter'
scrape_interval: 30s
static_configs:
- targets: ['primary_ip:9187', 'secondary_ip:29160',]
labels:
job: 'postgres-exporter'...
Thanks in advance.