Skip to content

Conversation

@caglar84
Copy link

@caglar84 caglar84 commented Feb 9, 2017

A new metric module added as --process-name. It's possible to give comma-separated process names to get total CPU and Memory usage of specific processes.

Sample usage: --process-name=java,nginx,mongod

To view those metrics you need to search CloudWatch as {process-name}-CpuUtilization and {process-name}-MemoryUtilization.



process_group = parser.add_argument_group('process metrics')
process_group.add_argument('--process-name',
Copy link
Owner

Choose a reason for hiding this comment

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

Please use action='append' (as in --disk-path) instead of comma-separated (for consistency).

@caglar84
Copy link
Author

You are right, it's better to keep "action=append" logic.

@osiegmar osiegmar merged commit a03f294 into osiegmar:master Feb 19, 2017
@osiegmar
Copy link
Owner

Thanks!

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.

2 participants