gnocchi: batch measurements

This change leverages the Gnocchi Batch API by using it
in the Ceilometer dispatcher for measurements.

It introduces a small behavior change in the dispatcher.
The resource metadata update is now decorrelated from measures posting.
So, even if posting measurements fail, the resource metadata will
be updated.

Change-Id: I140e7301a31bbee50c2c8bc3ff2d78925680a573
This commit is contained in:
Mehdi Abaakouk
2016-03-08 10:21:51 +01:00
parent 6a0f84dcbb
commit 4a451fac0e
3 changed files with 223 additions and 162 deletions

View File

@@ -23,7 +23,7 @@ overtest>=0.10.0 # Apache-2.0
psycopg2>=2.5 # LGPL/ZPL
pylint==1.4.5 # GNU GPL v2
pymongo!=3.1,>=3.0.2 # Apache-2.0
gnocchiclient>=2.1.0 # Apache-2.0
gnocchiclient>=2.2.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
sphinxcontrib-httpdomain # BSD