Overview panels use too wide date range as default

Bug #1508571 reported by Timur Sufiev
18
This bug affects 8 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Timur Sufiev

Bug Description

Standard default date range for Overview panels (Project and Admin) is starting from first day of current month till today. This default causes long response times on environments with a lot data to crunch, which is worsened by the fact that Users are always redirected to Overview panel by default (even if they don't want to see the Usage Stats).

Tags: large-scale
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/238204

Changed in horizon:
assignee: nobody → Timur Sufiev (tsufiev-x)
status: New → In Progress
Timur Sufiev (tsufiev-x)
tags: added: large-scale
Timur Sufiev (tsufiev-x)
Changed in horizon:
importance: Undecided → Medium
Changed in horizon:
milestone: none → newton-1
Changed in horizon:
milestone: newton-1 → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/238204
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5da5fd3196acd26a0a778877bfb683a1e59867f1
Submitter: Jenkins
Branch: master

commit 5da5fd3196acd26a0a778877bfb683a1e59867f1
Author: Timur Sufiev <email address hidden>
Date: Wed Oct 21 21:31:28 2015 +0300

    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 <email address hidden>
    Change-Id: I55a0397f69e33ba9c8fb1f27d57838efcd8648af
    Closes-Bug: #1508571

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Tom Patzig (tom-patzig) wrote :

Can this be backported to stable/liberty?

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

AFAIK, stable/liberty is now for security fixes while the current bug is not related to security.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b2

This issue was fixed in the openstack/horizon 10.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.