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
UI only shows 100 alert rules even though there are more #1687
Comments
This should function similar to the alerts table on status. |
@nhaugo there is currently no limit placed on the |
@121watts, Just a guess, but it looks like kapacitor's default limit of 100 is used when one is not specified. This is assuming Chronograf is using the same API call..
|
I did some research into this one... This will need some Chronograf backend work. At first I was hoping to just modify the backend to send We could probably just implement pagination somewhere. It could paginate on the backend and return a full response so the frontend does not need to be modified. I am not aware of anywhere in the application that implements a real pagination flow, so that might prove to be more difficult, in that we don't have any frontend components or patterns of that sort to run with currently. I am also wondering if pagination of any sort is required to satisfy this story. 100 is a little low, but perhaps 1000 or 10000 rules could be enough? |
@cryptoquick, Would it make sense to do something like getting the total amount of ticks on page load to use as your limit? You would of course be able to use that number to correctly display the amount of "Alert Rules" as well. What do you think? |
@goller thoughts? I don't think the chronograf server exposes a limit option for rules |
Loop through next until you reach the end of kapacitor tasks and put them all in the list |
The text was updated successfully, but these errors were encountered: