graphite-beacon icon indicating copy to clipboard operation
graphite-beacon copied to clipboard

[question/feature request] does configuration includes allow wildcards?

Open blysik opened this issue 9 years ago • 1 comments

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!

blysik avatar Aug 13 '15 17:08 blysik

+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.

greg-peterson avatar Jun 01 '16 15:06 greg-peterson