fcf325bbbe
The kapacitor client used in the kapacitor endpoints is limited to fetching whatever limit you provide it. If you provide no limit, it defaults to a limit of 100. We use this default behavior currently. Some users have more than 100 tasks, so we need a client that's capable of continually fetching tasks from Kapacitor until there are none left, and returning the full response to the frontend. This introduces a PaginatingKapacitorClient which does exactly that. Also, test coverage was added around the KapacitorRulesGet endpoint, since it was previously untested. |
||
---|---|---|
.. | ||
dashboards.go | ||
kapacitor_client.go | ||
logger.go | ||
roles.go | ||
servers.go | ||
sources.go | ||
timeseries.go | ||
users.go |