influxdata / influxdata/kapacitor
Environment Interpolation
Open
new-feature
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
In influxdb & telegraf, you can substitute in environment variables with the `$VAR` syntax. This throws an error in kapacitor. My test case is changing this line in kapacitor.conf:
`bind-address = ":$PORT"`
Which then errors out on start (With the PORT env variable set)
Contributor guide
Research direction
Start with configuration loading for kapacitor.conf and reproduce the startup failure using bind-address = ":$PORT" with PORT set. Trace how the value is parsed, then verify that startup accepts the setting and uses the environment value for the bind address.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100