Update swift pollster to use cache

Use the pollster cache to store the list of tenants
and the information swift has about them.

blueprint one-meter-per-plugin

Change-Id: I2c1fbbb99b2ae4796720ec6b7ac94ac27ab9ba5c
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update compute disk I/O pollster to use cache

Use the pollster cache to store the disk statistics
for an instance. Eventually the single pollster will
be broken up into separate pollsters that all use
the cache.

blueprint one-meter-per-plugin

Change-Id: I8aa8879e00902a2ba9f78104ee566a42effcb999
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update compute CPU pollster to use cache

Use the pollster cache to store the CPU statistics
for an instance. Eventually the single pollster will
be broken up into separate pollsters that all use
the cache.

blueprint one-meter-per-plugin

Change-Id: Iada02930867c09d05684ba0acea728d0d1cf06ae
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update compute vnic pollster to use cache

Use the pollster cache to store the VNIC info
for an instance. Eventually the single pollster will
be broken up into separate pollsters that all use
the cache.

blueprint one-meter-per-plugin

Change-Id: I8d9af0006d280f26ea768db97608074c5cfc9457
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix MongoDB backward compat wrt units

Fixes: bug#1193908

Change-Id: I9f4f2ec6cbec424279149b82704f88cad9c740b8
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Update swift pollster to use cache"
ceilometer tests need to be enabled/cleaned

- re-enable a bunch of tests that currently aren't being discovered
and thus never run.
- delete notificationclient and its tests since no one uses it.

Change-Id: I50ad04bc22b06c718ce47052c64c95165e54efe8
Fixes: Bug#1197545
Merge "Update compute disk I/O pollster to use cache"
Merge "Update compute CPU pollster to use cache"
Merge "Update compute vnic pollster to use cache"
publisher.rpc: make per counter topic optional

Fixes: bug#1133206

Change-Id: Id56b4f367647f313de23b639991827723cb18d47
Transformer to convert between units.

Partially addresses BP transformer-unit

Provide a new transformer to apply scaling conversions, either
replacing or emitted in addition to the original sample.

The target counters are identified either by name or by unit.

The scaling can be expressed as either a straight multiplicative
factor or as a string expression to be eval'd.

Configured as per usual via the pipeline.yaml, for example:

    ...
    transformers:
        - name: "unit_conversion"
          parameters:
              source:
                  unit: "°C"
              target:
                  unit: "°F"
                  scale: "(volume * 1.8) + 32"
              replace: True

Change-Id: I4c3f64376c6f994afd0b1a25dc399daabe2a2ec5
Fix issue with pip installing oslo.config-1.2.0

Fixes: #1199193

Change-Id: Ibd65e80d135d8e2d0f6235ed8e2522b7aac9aa19
Optionally store Events in Collector.

Blueprint collector-stores-events

This will store the raw event in the Events table if enabled.

There are a few caveats:
1. It seems somewhere in the rpc layer is eating any exception
   being raised from the notification handler, so the ack() handling
   code isn't being reached. This will need to be fixed in oslo.

2. notification delivery_info is being stripped from the notification
   before the handler is called. This means we can't get any routing
   info on the notification (which queue did it come in on, for example).
   Again, this will need to be fixed in oslo.

3. The raw json of the event is not currently stored. The model will need
   to be extended to support this. Next.

Change-Id: Id4687e075e04278d1db6e8acc805c3fed2bd07bb
Implement a basic alarm notification service

Change-Id: I74b28a8754a9541981ed8e8f27cd05ceb43c3776
Blueprint: alarm-notifier
Merge "Fix issue with pip installing oslo.config-1.2.0"
Break up compute pollsters

Break the compute pollsters up into separate plugins.  This is
submitted as one patch for all of the compute pollsters because
they are moved into a new package to make the files a little easier
to manage.

blueprint one-meter-per-plugin

Change-Id: Ibc6a9c3f73594c94b578f4229e1f9e9c941c7f4f
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Separate power and energy pollsters

blueprint one-meter-per-plugin

Change-Id: I30c9b49df6ed7bc5b3a55323624040b28c8ad929
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Make visual coding style consistent

Addresses comments on https://review.openstack.org/#/c/35407/
without rebasing the entire chain.

Change-Id: Ia24ff06dd4befc1af6f9479afdfbeb5bb06387ce
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Split up the glance pollsters

blueprint one-meter-per-plugin

Change-Id: Icba76d1e453f68c064b99ae6ca7529fa94cb824e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>