Exit expirer earlier if db-ttl is disabled

Now, the ceilometer-expirer exit without doing the backend db request if
the db-ttl is disabled.

Fixes bug #1270760

Change-Id: I49580be14cd932317ff30070aeec391ef456712e
Set the SQL Float precision

By default mysql use a precision of 23 to store a Float and
sqlite/postgresql use 53.

The patch set the precision of Float to 53 to force all sql backends to
use the same double precision.

Change-Id: I36680ed180999e401e45428af068fd32126247da
StringIO compatibility for python3

StringIO can be replaced with six.moves.StringIO which can provide
compatibility for Python 2 and 3. So does cStringIO.

Change-Id: Ieed1e97f1832e56717bc905114eb73fd6c4c4d04
Fix the Alarm documentation of Web API V2

Correct the Alarm example on the API documentation to contain a
valid Alarm sample and complete the Note section with information
about the connection between the type and rules fields of the
Alarm.

Fixes bug #1245362

Change-Id: Id7209d3f7a7ab29a50bdb1dfbe90937b1c7c6c8d
Move enable_acl and debug config to ceilometer.conf

These user editable config params are moved from
pecan config to ceilometer.conf

Change-Id: I8686987e5d92e38e2a9cfbd3f35eea0cc2b443c5
Closes-bug: #1256111
Exclude weak datapoints from alarm threshold evaluation

Addresses: BP exclude-low-sample-count

To avoid alarm threshold evaluation being inappropriately skewed by
aggregates with anomalously low sample count, these weak data may be
excluded for selected alarms by setting a new 'exclude_outliers'
field on the alarm threshold rule.

An outlier in this context is considered to be an aggregate with
sample count that differs from the observed mean by more than two
standard deviations.

Change-Id: I45d05db57662588df5796a8d6864ed01d1e4165f
tests: kill all started processes on exit

Just killing MongoDB is not enough, we also need to kill processes such
as the cat ones used to read the fifo.

Change-Id: I3fd99e333e69625e3872e24b9337cad17d46d737
Removes use of timeutils.set_time_override

The set_time_override function in timeutils was written as a
helper function to mock utcnow for unittests before 'mock' was
generally used. Now that we have mock and fixture, we no longer
need to use it.

Change-Id: I7c3793d7a442dc85aec405041c3c9ce6f7503bd8
Closes-Bug: #1266962
Fix wrong doc string for meter type

Meter type can be (gauge, delta, cumulative), not (gauge, counter).
This patch also fixes a typo s/extention/extension/.

Change-Id: I11d7fcefe0ec40afbf9ecc976cb65752600ea1c0
Merge "Set the SQL Float precision"
Drop foreign key contraints of alarm in sqlalchemy

This patch drops the foreign key constraints of alarms to user_id and
project_id in sqlalchemy.

Closes-Bug: 1260176
Change-Id: I7336ee1e3f885421db5aae3a30af0e918b79450b
Merge "Exit expirer earlier if db-ttl is disabled"
Merge "Exclude weak datapoints from alarm threshold evaluation"
Merge "Move enable_acl and debug config to ceilometer.conf"
Merge "Fix the Alarm documentation of Web API V2"
Merge "StringIO compatibility for python3"
Change meter_id to meter_name in generated docs

All operations on API level use meter name.
GET or POST /v2/meters/name_of_meter.
In docs we have meter_id, it is confusing, because meter_id is
syntetic UUID that is not used in DB ops.

The change should be done in v2.py because docs are generated
automatically and it's content is based on variables names from
the code.

Change-Id: I29abbefdaaa039f790f78fac102ede933d61d911
Merge "Fix wrong doc string for meter type"
Merge "Drop foreign key contraints of alarm in sqlalchemy"
Merge "Removes use of timeutils.set_time_override"