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

Logs panel: Share link to log line #772

Open
gtk-grafana opened this issue Sep 17, 2024 · 3 comments
Open

Logs panel: Share link to log line #772

gtk-grafana opened this issue Sep 17, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@gtk-grafana
Copy link
Contributor

Allow users to share links to a specific log line within the logs panel.

@zizzpudding
Copy link
Collaborator

My concern about adding a button to the breadcrumb is that it might not be as discoverable as a button in the app.
I like adding a toggle split button in the app (perhaps to the right of the Go to Explore) button.

Users can click on the share to copy the long link to the clipboard and click on the drop down menu to select a short link instead.

Do you think we should default to short link? or long link?

@zizzpudding
Copy link
Collaborator

Going by what has been done in the past. it looks like the short link is the default. There are also 4 different flavors of sharing the link.
Shortened with a date/time filter
Shortened without a date/time filter
Long with a date/time filter
Long without a date/time filter

I assume we want to default with the date/time filter as part of the URL. Especially if our main use case is sharing a log line(s) that was found. (not recreating the query for a different time frame).

Here's a quick screenshot of adding the button to the content rather than adding to the breadcrumb.

Image

@gtk-grafana
Copy link
Contributor Author

I don't think we want users to copy a link without a time range, and I don't understand why we would provide a way to copy the long URL, it's already there in the browser if folks don't want a short url for some reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants