74c1b0d7aa
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
26 lines
534 B
YAML
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://
|