horizon/releasenotes/notes/setting-OVERVIEW_DAYS_RANGE-9b87e8b077952a32.yaml
Timur Sufiev 5da5fd3196 Reduce the default date range on Overview panel to 1 day
First, the default default date range used on Overview panel is made
configurable (setting OVERVIEW_DAYS_RANGE). Second, its default value
is set to 1 day. Changing the default behavior is aimed to improve
load time of the default page in the presence of large amounts of
data. If OVERVIEW_DAYS_RANGE setting is explicitly set to None, the
behavior remains the same - the default date range is from the
beginning of the current month until today.

Co-Authored-By: Dmitry Sutyagin <dsutyagin@mirantis.com>
Change-Id: I55a0397f69e33ba9c8fb1f27d57838efcd8648af
Closes-Bug: #1508571
2016-05-31 17:57:53 +03:00

12 lines
553 B
YAML

---
features:
- Add a new setting OVERVIEW_DAYS_RANGE.
It defines the default date range in the Overview panel meters - either
today minus N days (if the value is integer N), or from the beginning of
the current month until today (if set to None). This setting is be used to
limit the amount of data fetched by default when rendering the Overview
panel. The default value is 1, which differs from the past behaviour, since
it caused serious lags on large deployments.
fixes:
- https://bugs.launchpad.net/horizon/+bug/1508571