For a particular job in Prometheus, it seems like the typical config is something like this:
static_configs:
- targets: ['localhost:9090']
But in the case where I want a dynamic list of hosts, what would be the approach there? I was looking at scrape_config
but that doesn't seem to accomplish what I'm after (unless I'm misreading?).
Thank you in advance!