...
Taking the following ceilometer meter as an example:
Code Block |
---|
- name: 'vcpuscompute.node.cpu.percent' event_type: 'compute.instancemetrics.*update' type: 'gauge' unit: 'vcpupercent' volume: $.payload.vcpus.metrics[?(@.name='cpu.percent')].value * 100 userresource_id: $.payload.user_idhost + "_" + $.payload.nodename project_idtimestamp: $.payload.tenant_idmetrics[?(@.name='cpu.percent')].timestamp metadata: event_type: $.event_type host: resource$.publisher_id source: $.payload.instance_id metrics[?(@.name='cpu.percent')].source |
References
http://docs.openstack.org/admin-guide/telemetry-data-collection.html
...