Grafana - Custom Dashboards
It may be helpful for you to create a custom dashboard that is specific to your application. You can create your own dashboard by either starting from scratch or duplicating an existing dashboard.
Creating a dashboard from scratch
To create a dashboard from scratch:
- Click on the Grafana logo in the left hand corner.
- Open the Dashboards dropdown.
- Click on New.
- Select the type of panel you want to display (Graph, singlestat, table, pie chart, etc).
- Click on the Panel Title and then click on th edit button as depicted below:
- From here, simply designate the desired metrics to display. A completed example is pictured below: This screenshot contains several features of interest:
a) Note that the Queries to dropdown must be changed to Graphite. This connects the dashboard to the graphite metrics associated with your account.
b) In order to query the data set and see a visualization, you will need to specify a query. Below the Queries to source tab, you will see an empty query with a select metric option. Click here to begin enumerating the query. Section already provides dashboards for a number of common queries by default, but you can use this technique to visualize any relevant metrics that are not already being reported. For help determining what metrics are available, visit our documentation on Graphite
c) Grafana dashboards can perform and visualize multiple queries simultaneously. This allows you to compare two separate metric values, such as 4xx and 5xx errors.
Finally, save your changes by clicking the Save icon on the top of the screen.
Duplicating an existing dashboard
To create a dashboard from an existing dashboard:
- Click on Dashboard settings at the top of the screen
- Click on Save as…
- Rename the new dashboard
- Click save.
In order for these changes to be permanent you MUST remove the
system tag from this dashboard. To do this:
- Click on Dashboard settings once again
- Click on Make editable. This will allow you to make changes in the dashboard.
- In the section called Tags, you will want to remove the system tag (image below).