Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
How to load alerting rules from directory
30 views
Skip to first unread message
Menglong li
unread,
Jun 4, 2020, 12:16:55 AM
6/4/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
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
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
.
anyone can give a example?
Menglong li
unread,
Jun 4, 2020, 3:11:28 AM
6/4/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
already solved
在 2020年6月4日星期四 UTC+8下午12:16:55,Menglong li写道:
Reply all
Reply to author
Forward
0 new messages