Is it possible to automate the configuration of prometheus that when a new server is added, the config file of prometheus will be updated automatically?

Hi all,
Is it possible to automate the configuration of prometheus that when a new server is added, the config file of prometheus will be updated automatically?

That’s service discovery. If you are not on cloud, look up consul as service discovery and add entries from New server provisioning flow

Thank you <@U01E9N6J925>