Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRecursively search for alert rule files #3954
Comments
This comment has been minimized.
This comment has been minimized.
|
rule_files is a lost of files, not directories. You can use a glob in the filename though (but not the directories). |
brian-brazil
closed this
Mar 14, 2018
brian-brazil
added
the
kind/question
label
Mar 14, 2018
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil in this case I expect to be able to to specific something like:
But golang's file globs doesn't support that. That's my issue, I don't know the actual list of directories that contain these files. |
This comment has been minimized.
This comment has been minimized.
|
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
This comment has been minimized.
This comment has been minimized.
|
I've started thread https://groups.google.com/forum/#!topic/prometheus-users/ExJbj-pX-es . |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
arnisoph commentedMar 13, 2018
•
edited
I tried to specify a directory in the main config, which obviously isn't supported. I don't know the actual list of directories that contain these files but I know the structure (see tree below).
The following doesn't work because prometheus expects file paths only:
The following doesn't work because golang's file globs doesn't support that:
Example file tree: