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

Panel: Provide links to other dashboards or web apps from panel menu #1041

Closed
torkelo opened this issue Nov 11, 2014 · 8 comments
Closed

Panel: Provide links to other dashboards or web apps from panel menu #1041

torkelo opened this issue Nov 11, 2014 · 8 comments

Comments

@torkelo
Copy link
Member

torkelo commented Nov 11, 2014

Screenshots and description coming,

Solves #804, #530

@torkelo
Copy link
Member Author

torkelo commented Nov 11, 2014

This feature allows you to add links to any panel in the General panel edit tab.

  1. Absolute url links
  2. Dashboard title based links (will only work for dashboards saved to db, not json or scripted, those need to use absolute links)
  3. Pass url params, both url and params, and dashboard title is interpolated (they can contain grafana template variables).
  4. Current time range is always appended to link url as from & to params

image

The links can be accessed via panel menu dropdown:

image

All panels with links will have a small link icon next to the title to highlight the fact thay they have these links:
image

The the singlestat panel I am planing to use the first link in the panel value text, and turn that into a link itself.

Any feedback would be great.

@torkelo torkelo added this to the 1.9.0 milestone Nov 11, 2014
torkelo added a commit that referenced this issue Nov 11, 2014
torkelo added a commit that referenced this issue Nov 11, 2014
@jgerschk
Copy link

Just pulled the master to give this a try, and, it did not go so well. After putting the new build in, all singlestat titles were missing, and could not click on anything in the panels to edit the settings. So I'm not sure if I missed something here, or there is an issue with upgrades? Restarted apache2, cleaned the browser cache and reloaded the pages, but nothing seemed to work.

See the difference between the working (below, 1st) and not working (below, 2nd)

dashboard drill down issue - working

dashboard drill down issue

torkelo added a commit that referenced this issue Nov 11, 2014
@torkelo
Copy link
Member Author

torkelo commented Nov 11, 2014

@jgerschk thanks for reporting this, was an issue with the optimized build introduced while working on this feature. Fixed now.

@jgerschk
Copy link

@torkelo confirmed the pull from the master after 0800h central time today (11/11/2014) fixed the issue above. Thanks for the update.

torkelo added a commit that referenced this issue Nov 14, 2014
…drilldown link is present the entire singlestat panel will act as a link, with hover tooltip containing the link name, #951, #1041
@torkelo
Copy link
Member Author

torkelo commented Nov 14, 2014

Added integration with this feature into the singlestat panel, the whole panel will act as a link (the first link).
image

@torkelo torkelo closed this as completed Nov 14, 2014
@Akeru
Copy link
Contributor

Akeru commented Nov 14, 2014

It seems I have issues with url parameters. Adding var-destination=google to a dashboard sends me to http://grafana.local:5601/#/dashboard/db/network%3Ffrom=now-5m&to=now&var-destination=google?panelId=null&fullscreen=null&edit=null. The link using the panel menu works fine though.

@torkelo
Copy link
Member Author

torkelo commented Nov 14, 2014

@Akeru thanks for reporting this, should be fixed. Not sure how you got panelId=null&fullscreen=null though

@Akeru
Copy link
Contributor

Akeru commented Nov 14, 2014

Yup, fixed, thanks.

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

No branches or pull requests

3 participants