deb-ceilometer/ceilometer/tests/agent
Chris Dent 5b9e5d8e7a 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/agent/base has
increased from 98 to 99%. Additional functional testing should be
implemented when we have established the infrastructure for such
things.

Implements blueprint pollsters-no-transform

DocImpact

Change-Id: I25c22077e80509799713571dfd79c87fe21c8677
2015-07-20 14:09:11 +00:00
..
__init__.py Move central agent code to the polling agent module 2014-12-12 20:55:15 +03:00
agentbase.py Pollsters now send notifications without doing transforms 2015-07-20 14:09:11 +00:00
test_discovery.py [unittests] Increase agent module unittests coverage 2015-04-28 19:21:49 +03:00
test_manager.py Pollsters now send notifications without doing transforms 2015-07-20 14:09:11 +00:00
test_plugin.py Remove the unused get_targets method of plugin base 2015-06-24 16:52:21 +08:00