Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read command-line options' defaults from /etc/tcollector.json if present #433

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

itamarst
Copy link
Contributor

Motivation:

  • The etc/config.py file is typically installed as something you can't edit. For example, if you're using RPMs, upgrading to next release via RPM will overwrite local changes.
  • Insofar as you can edit it, you're editing code.

By supporting a configuration file (/etc/tcollector.json) it's easier to have host-specific customization that isn't destroyed by upgrades.

@itamarst
Copy link
Contributor Author

Hey, any chance someone (e.g. @johann8384) could take a look at these and other PRs? Thanks!

@johann8384 johann8384 merged commit 1322657 into OpenTSDB:master Sep 17, 2020
@johann8384 johann8384 added this to the 1.3.3 milestone Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants