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

query parameter for dashboard AutoRefresh value #4012

Closed
imrehg opened this issue Jul 25, 2018 · 7 comments · Fixed by #5348
Closed

query parameter for dashboard AutoRefresh value #4012

imrehg opened this issue Jul 25, 2018 · 7 comments · Fixed by #5348
Assignees
Milestone

Comments

@imrehg
Copy link

imrehg commented Jul 25, 2018

Now the AutoRefresh value is switched to "paused" (since #3401), and don't seem to have a query parameter to set it to anything else. This makes it more difficult, to e.g. use a dashboard in a "kiosk" setting, when there's no input tools to change that value. On the other hand, the displayed time interval is set by a query parameter (such as ?lower=now%28%29%20-%2012h for "Past 12h"). Would be good to add a value so that a dashboard view could be properly shared by the URL alone.

@russorat
Copy link
Contributor

@imrehg thanks for reporting this. we will look into how we can support this.

@jaredscheib
Copy link
Contributor

seems like a great idea to me -- thanks @imrehg

@stale
Copy link

stale bot commented Jul 23, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 23, 2019
@imrehg
Copy link
Author

imrehg commented Jul 27, 2019

Any news on this? (prompted by StaleBot to re-ask, since the original feedback was positive)

@stale stale bot removed the stale label Jul 27, 2019
@stale
Copy link

stale bot commented Oct 25, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 25, 2019
@imrehg
Copy link
Author

imrehg commented Oct 28, 2019

Again I just wonder if there are any news on this? (prompted by StaleBot to re-ask, since the original feedback was positive).

Or should I just look in the code where to possibly add this feature? Any comments/feedback on that (should/should not, if should, any advice)

@stale stale bot removed the stale label Oct 28, 2019
@russorat russorat added this to the 1.8.0 milestone Oct 28, 2019
@TCL735 TCL735 self-assigned this Jan 8, 2020
@TCL735
Copy link
Contributor

TCL735 commented Jan 15, 2020

@imrehg This is done. Here is how it works:

  • User selects a refresh rate in the dashboard: the selection is persisted for that dashboard and a query parameter is added to the url.
  • A url with custom query parameters is used to directly navigate to a dashboard: the dashboard sets the refresh rate, persists it, and updates the refresh dropdown based on a valid query parameter for refresh.

Keep in mind that this new feature does not apply to Hosts, Data Explorer, and the Cell Editor--query parameter for refresh will do nothing in them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants