graphite-beacon
graphite-beacon copied to clipboard
[question/feature request] does configuration includes allow wildcards?
Many applications nowadays allow including all config files in a directory. I think this would be a good way for me to organize alert configs. Can I do something like this?
"include": [ "./alerts/*.json" ]
Thanks!
+1 include_dir: ./conf.d
We use ansible with machines grouped into 'clusters', each cluster will have different metrics and thresholds, and it would be more convenient if the playbook for each cluster just had to drop a file into conf.d without touching the main configuration for any other cluster configuration.
I have a viable working solution in place using existing include methods, but it can require touching the main configuration file when I add/remove clusters so that their file gets included as well.