Created
January 13, 2016 10:13
Amended pipeline.yaml that helps address https://bugs.launchpad.net/ceilometer/+bug/1457440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sources: | |
- name: meter_source | |
interval: 600 | |
meters: | |
- "!disk.*" | |
- "*" | |
sinks: | |
- meter_sink | |
- name: cpu_source | |
interval: 600 | |
meters: | |
- "cpu" | |
sinks: | |
- cpu_sink | |
- name: network_source | |
interval: 600 | |
meters: | |
- "network.incoming.bytes" | |
- "network.incoming.packets" | |
- "network.outgoing.bytes" | |
- "network.outgoing.packets" | |
sinks: | |
- network_sink | |
sinks: | |
- name: meter_sink | |
transformers: | |
publishers: | |
- notifier:// | |
- name: cpu_sink | |
transformers: | |
- name: "rate_of_change" | |
parameters: | |
target: | |
name: "cpu_util" | |
unit: "%" | |
type: "gauge" | |
scale: "100.0 / (10**9 * (resource_metadata.cpu_number or 1))" | |
publishers: | |
- notifier:// | |
- name: network_sink | |
transformers: | |
- name: "rate_of_change" | |
parameters: | |
source: | |
map_from: | |
name: "network\\.(incoming|outgoing)\\.(bytes|packets)" | |
unit: "(B|packet)" | |
target: | |
map_to: | |
name: "network.\\1.\\2.rate" | |
unit: "\\1/s" | |
type: "gauge" | |
publishers: | |
- notifier:// | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment