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

How to embedded other dashboards into one dashboard so that the one dashboard shows others' contents in place? #2641

Closed
MichaelScofield opened this issue Sep 1, 2015 · 25 comments

Comments

@MichaelScofield
Copy link

Say I have a cpu1-dashboard and a cpu2-dashboard, how can I create a "cpu-all-dashboard" that combine cpu1 and cpu2 dashboards without copy-paste the 2 dashboards into the "all" dashboard?

Thanks!

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

export both dashboards to json, combine them in a text editor :)

@MichaelScofield
Copy link
Author

Thanks for the reply.

Yes, of course it can be done like that. But if one dashboard ever changed, I have to do the "export-combine-import" again. What I really want is, embedded one dashboard into another. Just like "Add Panel-> Graph", I can do "Add Panel -> Dashboard" and show another dashboard in place.

Sorry if my title made some misunderstandings, I have changed it to make it more precise to my requirements.

@MichaelScofield MichaelScofield changed the title How to combine other dashboards into one dashboard? How to embedded other dashboards into one dashboard so that the one dashboard shows others' contents in place? Sep 1, 2015
@MichaelScofield
Copy link
Author

hi @torkelo can you reopen this issue?

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

@MichaelScofield I am not sure, why would you want this?

@MichaelScofield
Copy link
Author

@torkelo I have ten cpus to monitor, each cpu generates all kinds of metrics that I want to show them in its own dashboard, cpu1-dashboard, cpu2-dashboard, ...

In the meantime, I also want to have a unique dashboard that shows all the cpus' metrics, so I can see the whole picture.

Right now I have to create all 10 cpus' dashboards, and export them all, combine the jsons in the text editor and then import it. If, say, cpu1 has a special metric to monitor (others don't), I have to repeat the "export-combine-import" again. That's a heavy work for just adding a small graph.

If dashboard can show other dashboards in place, I just have to change the only one dashboard (cpu1 dashboard here), and refresh the unique dashboard that contains all dashboards. That is really easy.

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

@MichaelScofield but should that not be 3 dashboards? one cpu specific dashboard and one overview dashboard?

@MichaelScofield
Copy link
Author

@torkelo
I have updated the comment. Yes there're 3 dashboards, and all I want is changing one specific dashboard would not have to change the overview dashboard.

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

But the overview dashboard would be different now? Containing more overview style graphs?

@MichaelScofield
Copy link
Author

Yes exactly! The overview dashboard will also be changed according to the specific dashboard! It will contain the new graph that the changed specific dashboard introduced.

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

what I was saying is that an overview dashboard should not contain other dashboards it should contain overview style graphs. and dashboard links to the more specific dashboards.

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

making overview dashboards by embedding other dashboards does not make sense, just make one big dashboard with collapsed rows in that case.

@MichaelScofield
Copy link
Author

Yes... that big dashboard with collapsed rows embedded with other dashboards is just what I need. ;-)

@MichaelScofield
Copy link
Author

Is there a way to achieve that big overview dashboard?

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

yes, using rows and collapse them. you wont need embedding other dashboards in this case, you can just have one big dashboard since your overview dashboard is not really an overview dashboard but a dashboard with other dashboards. So you can just skip the whole thing and create one big dashboard in that case :)

@MichaelScofield
Copy link
Author

That's what I'm doing now, thanks for all these replies and your patience!

@torkelo
Copy link
Member

torkelo commented Sep 1, 2015

np, sorry for being problematic, just trying to understand your use case. I think I will keep this closed as I think this can be solved in other ways.

@rightfold
Copy link

rightfold commented Oct 12, 2017

This would be very useful for the following use case:

  • System being monitored consists of multiple services.
  • Each service has its own dashboard with panels specific to that service.
  • Generic dashboards for CPU usage, memory usage, disk I/O etc, with a template variable that can be one of the service machines.

Embedding the generic dashboards in the service dashboards, with the template variables set to the respective services, would be great to have.

Without this, you would either have to navigate back and forth, or copy the generic panels to all the service dashboards every time you edit them.

@gaoagong
Copy link

gaoagong commented May 3, 2018

I'd have to agree with @rightfold. This could be a very nice feature. Someone could create a generic dashboard and others could imbed it in their dashboard with certain template fields different between each user.

My example is a Hystrix dashboard that shows bad requests, errors, exceptions, good calls, etc. I created a dashboard with templates so that different services could use the same dashboard. I could create links to the dashboard, but then I have to click on a link to display. This is fine for now, but I am just asking you to reconsider.

@unaiur
Copy link

unaiur commented Mar 12, 2019

We have a wiki in front of Grafana that combines multiple dashboards in one single wiki page using frames. That allow us to have generic AWS/SQS and AWS/DynamoDB dashboards that receives the required parameters in the URL. Also, we use generic dashboards to monitor load balancers and host fleets for each service without having to repeat the dashboards again and again.

@arielb135
Copy link

Any update on this? we are using kubernetes and deploy a dashboard per microservice - but i want to combine them to one big dashboard - if it could be dynamic - it would be even better (meaning - loop over existing dashboards and combine them)

@amytleonard
Copy link

amytleonard commented Sep 27, 2019

Still looking for this feature, for high-level dashboards (think enterprise) to not have to update code every time one of the lower level dashboards changes its panel config. Any updates?

@ryantxu
Copy link
Member

ryantxu commented Sep 27, 2019

I tried this a while ago... may be relevant:
#15620

@g10guang
Copy link

Link maybe satisfy this feature.

image

image

Click the button will jump to anohter dashboard.

Or we can use variable feature.

image

image

@prashant1rana
Copy link

prashant1rana commented Jan 31, 2020

This is a very important feature, which can be used in different scenario.

For instance
You have 3 different panels and you want to create 4 dashboards with different combinations as
Dashboard #1 : Panel #1 + Panel #2
Dashboard #2 : Panel #2 + Panel #3
Dashboard #3 : Panel #3 + Panel #1
Dashboard #4 : Panel #1 + Panel #2 + Panel #3

Now you wanna play Grafana playlist on a Kiosk/TV. So you can't use link.

Current way:
Create 4 new dashboard and create new panels for each dashboard.

Issue:
If you wanna change something for Panel #2.. You will have to update Dashboard #1, #2 and #4. That is not user friendly at all, beacause you are gonna end up with more than 20 dashboard if you are gonna monitor a medium size system.

What would be awesome:

  1. Option to create and name panels.
  2. Creating dashboard with new panels or you can import above created panels using names.
  3. On run time, dashboard will get the updated content from panels.
  4. If you wanna change panel Add all Graphite functions to function definition list #2, then you don't need to change in any dashboard at all.

Now all will be HAPPY...

If you ask me, this feature was expected by default.

@deepak-ttpl2018
Copy link

I am not sure if comments on closed thread are checked, may be we want to reopen this issue or create a new one with details mentioned by @prashant1rana

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