5da5fd3196
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
12 lines
553 B
YAML
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
|