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

Allow url to override the override in fullscreen view #3383

Closed
Krinkle opened this issue Dec 1, 2015 · 5 comments
Closed

Allow url to override the override in fullscreen view #3383

Krinkle opened this issue Dec 1, 2015 · 5 comments
Labels
area/dashboard/timerange area/panel/common prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@Krinkle
Copy link
Contributor

Krinkle commented Dec 1, 2015

Our dashboard has a panel for historic context pinned to "Last 4 months". The rest of the dashboard tends to focus on the last 6 hours instead.

It would be nice to be able to link to one of those panels with a different from value, but I'm not sure it's possible.

E.g. a link like https://grafana.wikimedia.org/dashboard/db/navigation-timing?panelId=15&fullscreen&from=now-8M shows the last 4 months (from the override), not the last 8 months. Is there a way to do this?

@torkelo torkelo added area/panel/common area/dashboard/timerange prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Dec 3, 2015
@torkelo torkelo added this to the 3.0 milestone Dec 3, 2015
@torkelo torkelo removed this from the 3.0-beta1 milestone Feb 10, 2016
@mtanda
Copy link
Collaborator

mtanda commented Mar 2, 2016

Now, from can be controlled by template variable.
#4063

@mtanda
Copy link
Collaborator

mtanda commented Mar 3, 2016

@torkelo I think this is possible with time range templating.

@Krinkle
Copy link
Contributor Author

Krinkle commented Mar 3, 2016

It currently doesn't work (updated last week), but maybe the below is what you are after? That would be okay for my use case. Ideally the from parameter would just work, but template vars can be set by url as well so that's fine.

screen shot 2016-03-03 at 15 56 56

@mtanda
Copy link
Collaborator

mtanda commented Mar 3, 2016

Sorry, the PR is merged in this week.
It might be not usable in last week build.
You can set template variable in URL like "?var-history=3m".

@torkelo
Copy link
Member

torkelo commented Nov 14, 2016

closing in favor of #5872 (same issue)

@torkelo torkelo closed this as completed Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard/timerange area/panel/common prio/medium Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

3 participants