horizon/horizon
Eoghan Glynn d97bba1d07 Avoid discarding precision of metering data
Fixes bug 1241467

Narrow-casting statistical aggregates to int before inserting
into the resource usage line charts had the effect of unnaturally
smoothening the trend. This was especially apparent for meters
defined over a narrow range (such as cpu_util ranging from 0.0%
to 100.0%).

We now maintain floating point precision for these data.

Change-Id: If6141a4f66aa0078d38aa9f53d913aca5684ad94
(cherry picked from commit 4b973c2fb4)
2013-10-21 07:47:57 +01:00
..
browsers PEP8 E126 has been resolved 2013-09-17 20:48:09 +09:00
conf divides "import" statement in a url.py 2013-09-17 15:50:04 +09:00
forms Implement required field indicator 2013-09-03 10:47:02 -06:00
locale Import translations for Havana release 2013-10-10 02:53:26 +09:00
management PEP8 E121 has been resolved 2013-09-05 14:38:58 +08:00
static Avoid discarding precision of metering data 2013-10-21 07:47:57 +01:00
tables Merge "Do not run preemptive actions twice" 2013-09-05 10:54:18 +00:00
tabs Enable H302 check 2013-08-22 17:39:09 +04:00
templates show limit summary in GB 2013-09-23 13:18:45 +02:00
templatetags show limit summary in GB 2013-09-23 13:18:45 +02:00
test Replace OpenStack LLC with OpenStack Foundation 2013-09-20 04:19:42 +08:00
utils PEP8 E126 has been resolved 2013-09-17 20:48:09 +09:00
workflows PEP8 E126 has been resolved 2013-09-17 20:48:09 +09:00
__init__.py Enable H302 check 2013-08-22 17:39:09 +04:00
base.py Enable H302 check 2013-08-22 17:39:09 +04:00
context_processors.py Unifies Horizon conf. 2012-11-20 14:29:05 -08:00
decorators.py Enable H302 check 2013-08-22 17:39:09 +04:00
exceptions.py Enable H302 check 2013-08-22 17:39:09 +04:00
loaders.py Enable H302 check 2013-08-22 17:39:09 +04:00
messages.py Enable H302 check 2013-08-22 17:39:09 +04:00
middleware.py Handled ajax request crash after session timeout 2013-09-25 10:13:03 +02:00
models.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
site_urls.py Enable H302 check 2013-08-22 17:39:09 +04:00
version.py Replace OpenStack LLC with OpenStack Foundation 2013-09-20 04:19:42 +08:00
views.py Enable H201: do not write "except:" 2013-08-13 17:21:32 +10:00