-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agent): add /etc/telegraf/telegraf.d to default config locations
This will add /etc/telegraf/telegraf.d to the list of default configuration locations to load from. Currently, users need to specify an empty /etc/telegraf/telegraf.conf file and specify they want to include the configuraiton directory outside of the RPM and DEB. A common use case is for Docker where users want to upload an entire directory of configurations and run telegraf. Right now they have to add a custom launch command, when in reality we should include this directory by default. This also means that the --config option can be omitted from the CLI if a user is only using --config-directory. fixes: #5656 fixes: #5571
- Loading branch information
Showing
3 changed files
with
56 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters