Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restart XCollector after package upgrade (#65)
* Bumped up number of retries * Set timeout while sending data over http/s * Thread scheduling improvements Do not starve other collectors if one collector is pushing too much data Do not sleep when there is data to be data to be read/sent * mentric printer thread should exit if the main thread exits * Added flush method to stdout/stderr streams * Added support for flushBeforeExit option so that tests wait for all data Assertions are to be applied only after all data is received * Converted flushBeforeExit option to function to make pylint happy Pylint was failing with following error even though we had hasattr check E: 41,88: Module 'collectors.etc.udp_bridge_conf' has no 'flushBeforeExit' member (no-member) * Converted flushBeforeExit option to function to make pylint happy Pylint was failing with following error even though we had hasattr check E: 41,88: Module 'collectors.etc.udp_bridge_conf' has no 'flushBeforeExit' member (no-member) * Codacy love * Support an option to set yaml config folder Allow running collectors for diff tenants (different xcollector.yml files) from same installation folder * Removed debug traceback * Do not replace config files on upgrade by default By default we were replacing the config files on rpm update. This would overwrite the api-token and the service would not start without a manual intervention. Using the %config(noreplace) option now ... so the rpm upgrade experience is consistent with deb upgrade process. * Restart xcollector after package upgrade
- Loading branch information