stop polling per pipeline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
gordon chung |
Bug Description
with a pipeline
sources:
- name: meter_source
interval: 5
meters:
- "*"
sinks:
- meter_sink
sinks:
- name: meter_sink
transformers:
publishers:
- udp://
everything will be polled once. makes sense.
with a pipeline:
***updated (31/07/15)***
sources:
- name: meter_source
interval: 600
meters:
- "*"
sinks:
- meter_sink
- name: cpu_source
interval: 600
meters:
- "cpu"
sinks:
- cpu_sink
sinks:
- name: meter_sink
transformers:
publishers:
- notifier://
- name: cpu_sink
transformers:
- name: "rate_of_change"
publishers:
- notifier://
cpu is polled twice. this isn't needed.
Changed in ceilometer: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | liberty-3 → 5.0.0 |
From my standpoint this is not a bug. Given the pipeline you have create you are saying:
* create 2 sources
* each source will poll all meters
* each source will send its meters to meter_sink
It's not the job of a sink to remove duplicates. It _is_ the job of a source to declare what is polled. If you write that everything should be polled twice, then so be it, yeah?