-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4992] Add application.conf setting to dump output of cluster_health.py
Summary: Currently, the output of cluster_health.py is not written to the terminal. This diff adds the flag "yb.health.logOutput" that can be set using runtimeConfig API to determine whether it should log the output of cluster_health.py script or not. To change the value of "yb.health.logOutput", you should send a PUT request to "[Platform URL]/api/customers/[customer UUID]/runtime_config/[universe UUID]/key/yb.health.logOutput". The body should have either "true" or "false" in plain text. Please note that as API call to runtime_config imposes that you must set "Content-Type" to "text/plain" in the request's header too. Test Plan: The flag was set and reset manually and I made sure that it dumps the output of cluster_health.py to the terminal when the flag is true and does not dump it when the flag is false. Reviewers: sanketh Reviewed By: sanketh Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D11787
- Loading branch information
1 parent
7eec117
commit 36a9ed7
Showing
6 changed files
with
44 additions
and
19 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
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