-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix logic for enabling ui metrics (#841)
* Fix logic for enabling ui metrics Previously ui metrics would be enabled when `global.metrics.enabled=false` and `ui.metrics.enabled=-`. Now that would cause UI metrics to be disabled which makes sense since "-" means inherit from `global.metrics.enabled`. The logic is now to enable ui metrics when: ``` ui.enabled && ( (global.metrics.enabled == true && ui.metrics.enabled == "-") || (ui.metrics.enabled == true) ) ```
- Loading branch information
Showing
4 changed files
with
34 additions
and
8 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