influxdata / kapacitor

Open source framework for processing, monitoring, and alerting on time series data
MIT License
2.32k stars 492 forks source link

Support include directory for configuration files #966

Open mquignon opened 8 years ago

mquignon commented 8 years ago

Hi! As you did with Telegraf, it would be great to add the possibility for using an include directory for configuration. This would enable socket UDF modules individually packaged as Docker containers for example.

Something like telegraf implementation sounds perfect for this use.

kapacitor.d/module1.conf would look like: [udf.functions.module1] socket = "/tmp/module1.sock" timeout = "10s"

Thanks a lot!

jonaz commented 8 years ago

Was just about to report this when i found this issue. This will also enable system configuration tools like ansible and puppet to edit just the files needed instead of having to generate a major config file.