-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard page only shows 100 DAGs #721
Comments
Thank you very much for submitting the issue and showing interest in contributing a PR! Your input is really helpful. Currently, when a large number of DAG files are created, performance issues arise due to the need to load a significant amount of data. To address this, I plan to change the storage structure. With the upcoming release of the v2.0 alpha version, I would like to ensure that all DAG execution data for the current day is reflected on the dashboard. As a temporary workaround, I think that allowing configuration for the page limit might be an idea. If you're interested in contributing a PR, it would be very welcome. To add config key in the configuration, the following files would need to be modified:
I also welcome any alternative ideas for the workaround. :) |
Thank you for the contribution. Closing as it's completed. |
The dashboard page only shows 100 DAGs, even if there are more than 100 DAGs in the system
It looks like there is a default limit of 100 here (which is reasonable)
dagu/internal/client/client.go
Line 311 in 678dd21
I can see the API has support for increasing the limit
api/v1/dags?limit=xxxx
Thoughts on this? I appreciate we may not want to get all the DAGs in case there are a lot in the system.
What is restricted it to only DAGs executed within the day? Or maybe this time period can be controlled?
Happy to help with a PR, but keen to see how you might want to approach a possible solution.
The text was updated successfully, but these errors were encountered: