Pollsters now send notifications without doing transforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Expired
|
Low
|
Unassigned |
Bug Description
https:/
commit 5b9e5d8e7a45bad
Author: Chris Dent <email address hidden>
Date: Mon Jul 6 19:17:55 2015 +0000
Pollsters now send notifications without doing transforms
This makes the polling agents not use pipelines. Instead it simply sends
notifications for the notification agent to pick up and transform if
the pipeline.yaml says it should.
Inside the AgentManager and the PollingTask the data representation
is adjusted somewhat. Rather than making a single task for any given
interval, we make a single task for any name in the "sources" list.
This ought to mean (given that the interval is the same across
various sources in the default config) that we will get some I/Ox
interleaving.
At the moment all samples gathered by one pollng task are sent as an
individual notification. This is being done to minimize the apparent
surface area of this change. The expected long term change is for
single samples to be sent so as to increase granularity and
I/O interleaving.
The unit tests have been updated to reflect the new data
representation. The agent tests are fairly strongly oriented towards
testing that discovery and resource handling behave correctly. Some
additions have been made to make sure that samples traverse a fake
messaging bus as expected. Coverage of the ceilometer/
increased from 98 to 99%. Additional functional testing should be
implemented when we have established the infrastructure for such
things.
Implements blueprint pollsters-
DocImpact
Change-Id: I25c22077e80509
tags: | removed: ceilometer |
No openstack-manuals impact.