You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the dashboard fetches all logs for all services, which doesn't scale very well. The cli uses kubectl for getting logs that aren't tailed, in which case we can use --tail=n to get the last n lines. It doesn't look we can paginate the logs though.
Suggested solution
Decide on a max number of lines to fetch, say n, and divide by number of services, so that we get n/numServices log lines per service. When selecting a single service, fetch all n log lines for that service. Notify the user that they can use the CLI to tail logs for very large outputs.
The text was updated successfully, but these errors were encountered:
Problem
Currently the dashboard fetches all logs for all services, which doesn't scale very well. The cli uses
kubectl
for getting logs that aren't tailed, in which case we can use--tail=n
to get the lastn
lines. It doesn't look we can paginate the logs though.Suggested solution
Decide on a max number of lines to fetch, say
n
, and divide by number of services, so that we getn/numServices
log lines per service. When selecting a single service, fetch alln
log lines for that service. Notify the user that they can use the CLI to tail logs for very large outputs.The text was updated successfully, but these errors were encountered: