Skip to content
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

[docker] add optional disk metrics #2405

Merged
merged 1 commit into from
Apr 7, 2016
Merged

Conversation

hkaj
Copy link
Member

@hkaj hkaj commented Apr 4, 2016

In cases where the docker volume is not mounted the disk check can't collect metrics about the volume usage. It happens in the ECS optimized AMI for example: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html

Collecting these metrics using docker info makes sense in this case and is also useful in others.

@hkaj hkaj added the wontfix label Apr 4, 2016
@olivielpeau olivielpeau added this to the 5.8.0 milestone Apr 4, 2016
@@ -32,6 +33,13 @@
RATE: {True: HISTORATE, False: RATE}
}

UNIT_MAP = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we have these as 2^10, 2^20, 2^30?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually no, the docker info command displays in 10^3, 10^6, 10^9 bytes form.

@hkaj hkaj force-pushed the haissam/disk-metrics-docker branch from 3393164 to 0c06611 Compare April 6, 2016 13:09
@truthbk
Copy link
Member

truthbk commented Apr 6, 2016

👍 looks good!

@hkaj hkaj merged commit 3436c34 into master Apr 7, 2016
@hkaj hkaj deleted the haissam/disk-metrics-docker branch April 7, 2016 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants