improve nova instance metering

Registered by Liusheng

Now we have a great load on Nova API because ceilometer-polling with "compute"
namespace will polling on Nova API periodically. This proposal aims to reduce
the load by abandoning the current way of metrics collection with periodically
polling.

The main idea of this proposal is to separate the resource metadata polling and
metrics polling to central namespace and compute namespace. compute namespace
ceilometer-polling will only focus on metering metrics about disk, cpu, net,
mem, etc. the resource metadata collected by central polling will can be
associated with samples by unique "resource_id", the resource_id can be
directly get from virt driver. these changes will avoid frequent Nova API
requests and make the instance related samples more lightweight.

Blueprint information

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

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/improve-nova-instance-metering,n,z

Addressed by: https://review.openstack.org/209799
    Improve Nova Instance metering

done, we don't poll nova-api at all -- gordc (2017.06)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.