I tried to load promethues rules file from a directory by below
configuration
rule_files:
- /etc/prometheus/rules/*.rules
but it gets a error as below
[image: D040B02F-B5D1-40A8-B65C-BF9E41190B66.png]
I find a Feature request in
https://github.com/prometheus/prometheus/issues/2176
someone said That feature is already supported 🙂 you can load rule files
via a file glob
<https://prometheus.io/docs/operating/configuration/#configuration-file>.
anyone can give a example?
--
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/f06c0d46-e883-459b-912f-5f48d9c785de%40googlegroups.com.