Develop plug-in to monitor containers

Registered by Harishchandra Amrale

Openstack providing support for the containers and dockers .As containers have advantage on hypervisor in future cloud of containers will be reality.Based on this we required monitoring solution for these containers.Monitoring performance of containers also help in intelligent orchestration. Based on this proposed solution is-
1)Develop plug-in to monitor containers
2)Integrate this with heat for better orchestration.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Harishchandra Amrale
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
gordon chung

Related branches

Sprints

Whiteboard

Currently, Nova-Docker Driver is Missing: Collection, Aggregation, Reporting of resource usage for containers missing (in Ceilometer).

How this affects clouds:
Monitoring / reporting of resource usage for containers not available through ceilometer. Due to this missing functionality, some of the higer-level scenarios such as Auto-scaling will not work for containers.

Proposed Approach and Design for implementing this:

1. Use cAdvisor (https://github.com/google/cadvisor , Apache 2.0 License) to get resource metrics for: CPU, memory, Disk, Network

2. Develop and plug a ceilometer-agent that consumes cAdvisor's REST API to make this these metrics data available to Ceilometer (or later any other monitoring tool used such as Monasca). This will help retain the existing framework for telemetry or monitoring unchanged.

3. Automate (through chef or any other config tooling) Deployment of cAdvisor (ideally as a container itself as mentioned here: https://github.com/google/cadvisor#quick-start-running-cadvisor-in-a-docker-container) and ceilometer-agent plugin.

inactive, please raise on ML if required. -- gordc (10.03.16)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.