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

Fetch entire dashboard instead of panels #72

Closed
flyingbarron opened this issue Apr 4, 2018 · 6 comments
Closed

Fetch entire dashboard instead of panels #72

flyingbarron opened this issue Apr 4, 2018 · 6 comments

Comments

@flyingbarron
Copy link

Grafana can render the entire dashboard in one go using :
http://1.2.3.4:3000/render/d/randompath/myDashboardName

This results in a very nice image that can sometimes be more useful than the specific panels.

@stephenyeargin
Copy link
Owner

Interesting! I'm guessing this is a new feature in Grafana?

Since so many people depend on this package these days, I want to make sure I don't cause any headache in userland. Can you attach some screenshots comparing the two?

@flyingbarron
Copy link
Author

here's an example : http://play.grafana.org/render/d/000000061/1-promcon-dashboard?from=now-1h&to=now&orgId=1

image

not all dashboards will come out looking better this way - but quite a few will!

@stephenyeargin
Copy link
Owner

Cool. I think this should probably be an opt-in feature, if only because there's a lot of extra stuff in the image (mostly noting the icons) that some folks may not want. Would be something like adding an option for HUBOT_GRAFANA_RENDER_DASHBOARD=1 (defaults to 0).

@flyingbarron
Copy link
Author

I was actually thinking maybe just add a new command graf render <dashboard slug>
That way you have full backwards compatibility

@stephenyeargin stephenyeargin changed the title Fetch entire dashboard instead on panels Fetch entire dashboard instead of panels Apr 17, 2018
@KeesCBakker
Copy link
Collaborator

Awesome feature, I just added a kiosk feature, so you can do graf db GZ3rrHgSk kiosk width=1920 height=1200 now now-7d

image

@KeesCBakker
Copy link
Collaborator

Added it to #166

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