It's not a good idea to keep prometheus.yml and the rest of the scrape config files in the same path.
Create a sub directory under /etc/prometheus to keep the scrape config files. On Sun, Mar 1, 2020, 5:22 PM rs vas <[email protected]> wrote: > Hi, I would like to include all the rule files in prometheus.yml > configuration but with no luck: > > rule_files: > - "/etc/prometheus/*.yml" > > I am trying to follow the syntax from > https://prometheus.demo.do.prometheus.io/config can someone please help! > Getting error on prometheus start: > > Thanks! > > > > -- > 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/CAPs_Afg%3DHv%3Dz-45-f70aKw7JgLOcTYepbt4ipaG8dnmwZS3mtA%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAPs_Afg%3DHv%3Dz-45-f70aKw7JgLOcTYepbt4ipaG8dnmwZS3mtA%40mail.gmail.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/CAKimyZvn79RBD6zJv7JuZiHp8bCRFrFAYtjYevfEnP%2BzP-qfqA%40mail.gmail.com.

