Skip to content

Dashboards

Dieter Plaetinck edited this page Jan 9, 2014 · 3 revisions

What?

Dashboards are simple html template files that display the results for one or more queries. TODO:

  • make queries editable through web UI.
  • allow to create simple dashboards from scratch using web UI

Creating your own

Just look at the existing files in templates/dashboards, create a new one, and it will automatically be listed (after a graph-explorer restart)

Templated, parametrized and url-driven dashboards

  • Dashboards have an apply_to_all input, allowing you to add a query modifier that will apply to all queries on the page (such as "avg over 20M server:prod-")
  • Dashboards can preset this filter, for example the server-basics dashboard sets it to "server=fill_in_servername", which means you can just change that value to get a dashboard for a specific server value. This is basically parametrized dashboards implemented in a simple way.
  • You can also drive the apply_to_all setting by the url. for example "/dashboard/server-basics/" will open the dashboard for that hostname, you can also add any GEQL content here (such as "avg over" etc)