The config file could get quite unweildy with a lot of jobs in it.
It'd be good to have support for something like a conf.d so that jobs could be specified in individual files (that'd be better for revision tracking with git too)
We set the base directory to be conf.d so includes only need to include filename or glob
# This config file makes use of include to split config out to files in the
# conf.d directory
quiet: false
# Define the InfluxDB instances which can be communicated with
#
# For 1.x with auth the token should be of the form
# user:password
#
influxes: !include influx-*.yaml
# Define downsampling jobs
downsamples: !include job-*.yaml
Activity
05-Feb-23 15:08
assigned to @btasker
05-Feb-23 15:26
mentioned in commit 71ba531442f30e4d093c7d0c73361a069c1a70f0
Message
Implement ability to use !include within YAML to split config across multiple YAML files utilities/python_influxdb_downsample#8
05-Feb-23 15:26
mentioned in commit f930583dfd66304c707bfb2d7bacc699ecfc2123
Message
docs: update README for utilities/python_influxdb_downsample#8
05-Feb-23 15:26
I've added support via pyyaml-include.
We set the base directory to be
conf.d
so includes only need to include filename or glob