aodh/etc/ceilometer/pipeline.yaml
Eoghan Glynn 74c1b0d7aa Emit cpu_util from transformer instead of pollster
The emission of the cpu_util counter from the compute CPUUtilPollster
can be superceeded by the RateOfChangeTransformer (the intended
target usercase for the new transformer).

The caching of the CPUStats is now no longer required.

Note that the pipeline.yaml must be updated in deployments, otherwise
the cpu_util meter will no longer be collected.

Change-Id: I79ff047595b960de7a2acb2ec81c357fe2ee21e5
2013-07-15 16:32:50 +01:00

26 lines
534 B
YAML

---
-
name: meter_pipeline
interval: 600
counters:
- "*"
transformers:
publishers:
- rpc://
-
name: cpu_pipeline
interval: 600
counters:
- "cpu"
transformers:
- name: "rate_of_change"
parameters:
target:
name: "cpu_util"
unit: "%"
type: "gauge"
scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))"
replace: False
publishers:
- rpc://