Skip to content

Conversation

@betodealmeida
Copy link
Member

We have a REST endpoint for warming up caches β€” let's use it! πŸ˜„

I wrote a celery task that periodically hits up the endpoint, based on different strategies. I implemented:

  1. A "dummy" strategy that warms up all charts.
  2. A "top-n dashboards", that warms up charts in the top-n dashboards.
  3. A strategy that warms up charts with a given tag, or charts in dashboards with a given tag.

More strategies can be easily added.

khtruong and others added 28 commits March 5, 2019 11:11
* Exclude venv for python linter to ignore

* Fix NaN error
This PR sets the background-color css property on `.ace_scroller` instead of `.ace_content` to prevent the white background shown during resizing of the SQL editor before drag ends.
* added more functionalities for query context and object.

* fixed cache logic

* added default value for groupby

* updated comments and removed print

(cherry picked from commit d5b9795)
* Add ability to change font sizes in Big Number

* rename big number to header

* Add comment to clarify font size values
…g. (apache#7037)

* Update datasource.py

* Update datasource.py

(cherry picked from commit c771625)
* Adding extraOverrides to line chart

* Updating extraOverrides to fit with more cases

* Moving extraOverrides to index.js

* Removing webpack-merge in package.json

* Fixing metrics control clearing metric

(cherry picked from commit e619405)
* Fix filter_box migration PR apache#6523

* Fix druid-related bug

(cherry picked from commit b210742)
This PR includes the following layout and css tweaks:
- Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox
- Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane
- Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars
- css tweaks on the basic.html page so the loading animation appears in the center of the page across the board

(cherry picked from commit 71f1bbd)
(cherry picked from commit e83a07d)
Package maintainers should really never delete packages, but it appears
this happened with croniter and resulted in breaking our builds.

This PR bumps to a more recent existing version of the library

(cherry picked from commit 215ed39)
@kristw kristw added the enhancement:request Enhancement request submitted by anyone from the community label Mar 28, 2019
@xtinec xtinec added the lyft Related to Lyft label Mar 28, 2019
@xtinec xtinec force-pushed the lyftga branch 3 times, most recently from a15703f to 62cfb2d Compare April 2, 2019 05:04
khtruong and others added 13 commits April 2, 2019 11:02
* Exclude venv for python linter to ignore

* Fix NaN error
This PR includes the following layout and css tweaks:
- Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox
- Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane
- Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars
- css tweaks on the basic.html page so the loading animation appears in the center of the page across the board

(cherry picked from commit 71f1bbd)
@codecov-io
Copy link

Codecov Report

Merging #7148 into lyftga will increase coverage by 0.06%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           lyftga    #7148      +/-   ##
==========================================
+ Coverage    64.5%   64.57%   +0.06%     
==========================================
  Files         424      425       +1     
  Lines       20668    20785     +117     
  Branches     2268     2268              
==========================================
+ Hits        13332    13422      +90     
- Misses       7213     7240      +27     
  Partials      123      123
Impacted Files Coverage Ξ”
superset/tasks/__init__.py 100% <100%> (ΓΈ) ⬆️
superset/tasks/cache.py 76.72% <76.72%> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update 62cfb2d...1688226. Read the comment docs.

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graceguo-supercat
Copy link

thanks for the work! Let's see how it works and adding more improvements.

@xtinec xtinec merged commit 4ab89db into apache:lyftga Apr 3, 2019
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚒 0.34.0 First shipped in 0.34.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels enhancement:request Enhancement request submitted by anyone from the community lyft Related to Lyft 🚒 0.34.0 First shipped in 0.34.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.