Prometheus has a "file discovery" that can accept a list of targets as JSON or YAML.
https://prometheus.io/docs/guides/file-sd/ On Thu, Jun 23, 2022 at 5:47 PM surendra matta <[email protected]> wrote: > Hi Everyone, > > I am new to Prometheus and we doing POC in our organization using > Prometheus + Blackbox + AlertManager. > > Our scenarios : > > We need to monitor more than a 50 websites 24/7 in Prod and QA, sometime > w will add the new websites too. > > As of now , i have all my website names in a text file and my question is > how define this text file in Prometheus targets , please let us me whether > it is possible or not ? or if we have any other alternative method to test > the bulk URL's using black box . > > Thanks in advance. > > Regards, > Venkat > > > > > > -- > 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/e5237457-86ff-46c5-94a5-9f1b3d302ce4n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/e5237457-86ff-46c5-94a5-9f1b3d302ce4n%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/CABbyFmqFR5t9WcB3yB3Vxv%2BXZ4-aBjkdZ3CauYkcqLpYSk9JBg%40mail.gmail.com.

