Typically people use a configuration management software. For example Ansible is pretty nice.
https://github.com/cloudalchemy/ansible-prometheus On Tue, Mar 31, 2020 at 4:59 PM Ishvar B <[email protected]> wrote: > Hi, > > I have a prometheus set up which has too many (roughly 50 static configs) > and this number would increase as we have lot of vms still be scraped for > prometheus. The file is becoming huge , especially when some applications > require basic auth. is there any best practice to maintain the config file > as with such huge file some times changes would cause accidental errors. > > Thanks > Eswar > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/65a0249c-c27a-479d-9df0-b68e5102b883%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/65a0249c-c27a-479d-9df0-b68e5102b883%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmq2mPfNjvdXpvEpk2NHefJKNhb7uhofLxEQq6tz9PgBAg%40mail.gmail.com.

