Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Update dashboard templates #52

Merged
merged 4 commits into from
May 6, 2019

Conversation

Sharpie
Copy link
Member

@Sharpie Sharpie commented May 3, 2019

This PR improves the dashboard templates in two ways:

  • All dashboards now use a shared crosshair. This allows values to be easily compared at the same moment in time between graphs that are not vertically stacked.

  • The Archive dashboards now have a $datasource variable that can be used to flip between different datasources. This is allows metrics from separate PE installations to be loaded into separate InfluxDB databases without requiring dashboards to be copied for each.

Unused entries in the JSON are also cleaned up.

This commit changes the tag on the "Archive File Sync" dashboard from
"telegraf" to "archive" to match the other "Archive" dashboards.
This commit adds a `$datasource` variable to the templates for the
"Archive" dashboards that can be used to quickly flip between different
datasources. This enables metrics from seperate sites to be loaded into
seperate InfluxDB databases and makes them accessible without the need
to duplicate the "Archive" template to create seperate dashboards.
This commit changes the value of the `graphTooltip` parameter in each
dashboard template from 0 to 1. Using a value of 1 provides a shared
crosshair that marks the same instant in time the mouse hovers over
on each graph in the dashboard. This enables values to be compared
between graphs that are not stacked on top of each other vertically.
This commit removes any keys that are not specified in the Dashboard JSON model for Grafana 5.1:

  https://grafana.com/docs/v5.1/reference/dashboard/

IDs are also set to `null`.
@suckatrash suckatrash merged commit 6e19972 into puppetlabs:master May 6, 2019
@jarretlavallee
Copy link
Contributor

👍

@Sharpie Sharpie deleted the update-dashboard-templates branch May 7, 2019 01:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants