-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] fix config bools, skip image stats option
Fixes #1342. We should always cast boolean options from the config with the `_is_affirmative` tool, otherwise you're exposed to oddities like bool('false') == True. This introduces a new option `collect_images_stats` that is enabled by default and skips the collection of metrics `docker.images.available` and `docker.images.intermediate` that sometimes is very slow through docker API if you have a lot of intermediate layer images.
- Loading branch information
1 parent
5701eaf
commit 0e862f5
Showing
2 changed files
with
11 additions
and
4 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