Skip to content
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

Add clear button to dashboard console logs page #5458

Open
1 task done
JamesNK opened this issue Aug 27, 2024 · 2 comments
Open
1 task done

Add clear button to dashboard console logs page #5458

JamesNK opened this issue Aug 27, 2024 · 2 comments
Labels
area-dashboard dashboard-logs untriaged New issue has not been triaged

Comments

@JamesNK
Copy link
Member

JamesNK commented Aug 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

There are situations where a developer only wants to see logs for the next action that happens. Being able to clear the logs so they don't have to separate old vs new logs would be useful.

Describe the solution you'd like

A button on console logs page that clears the logs.

This could work by the dashboard calling the host, and the host calling DCP. Alternatively, we could "clear" the logs in the UI by recording the timestamp when the click happened and filter out logs older than the timestamp.

Additional context

No response

@Felx-B
Copy link

Felx-B commented Sep 19, 2024

Hello,
I think this feature should not be restricted to console logs. It would be nice if all logs/traces and metrics were clearable with a simple button.
When I work on a specific use case, it is usefull to clean everything to focus on the scenario I am debugging

@joperezr joperezr added the untriaged New issue has not been triaged label Oct 15, 2024
@davidfowl davidfowl removed the feature label Oct 16, 2024
@JamesNK
Copy link
Member Author

JamesNK commented Jan 3, 2025

Clear buttons for structured logs/traces/metrics added in this PR: #6898

Clear currently isn't supported on the console logs page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dashboard dashboard-logs untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

8 participants
@davidfowl @JamesNK @leslierichardson95 @joperezr @Felx-B and others