influxdata / influxdata/kapacitor

Support include directory for configuration files

Open
#966 1 comment 4 reactions 0 assignees View on GitHub
new-feature
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

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!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how Kapacitor currently loads configuration and compare it with Telegraf's include-directory implementation. Determine how files such as kapacitor.d/module1.conf should be discovered and merged, then verify that individually configured socket UDF modules are loaded with their socket and timeout settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.