-
Notifications
You must be signed in to change notification settings - Fork 60
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
DockerEngine 20.10.10: KeyError: 'total_cache' #81
Comments
Same here :/ |
Just saw there is a pull request: |
dirty fix with limited/no testing for Docker version 20.10.12, build 20.10.12-0ubuntu4: change 'total_cache' to 'inactive_file' in line 523, result seems to be the same before:
after:
|
This looks good. Here some test-values from my System with "docker stats": 'memory_stats': { |
After updating from Debian buster(10) to bullseye(11) I am getting KeyError: 'total_cache'.
installed Docker : 5:20.10.10
3-0debian-busterinstalled check_docker: 2.2.2
Exception:
"check_docker", line 541, in check_memory adjusted_usage = inspection['memory_stats']['usage'] - inspection['memory_stats']['stats']['total_cache'] KeyError: 'total_cache' UNKNOWN: Exception raised during check': KeyError('total_cache')
inspection.json.gz
My current "fix" is to skip the adjusted_usage, and only use inspection['memory_stats']['usage']
The text was updated successfully, but these errors were encountered: