WAS THIS PAGE HELPFUL? Leave Feedback
Overview
This page reviews how to configure Status Grafana graphs and how to control the legend visibility.
Steps
Configuring Status Grafana graphs
- Legends and GroundWork event annotations in the Grafana graphs that are embedded in Status can be controlled using these properties in /usr/local/groundwork/config/status-viewer.properties.
- perf.monitoring.client.rendering.legends
- perf.monitoring.client.rendering.annotations
- A restart of GroundWork is required after making any changes:
/etc/init.d/groundwork restart
- By default, both legend and annotations are enabled. For example:
Figure: Legends and Annotations
Controlling Legend Visibility
To control whether the legend is visible set the following to true or false.
- Edit the following file:
/usr/local/groundwork/config/status-viewer.properties
- Set the following to true or false:
perf.monitoring.client.rendering.legends
- With perf.monitoring.client.rendering.legends = false, the legends is turned off and the graph looks like this:
Figure: Legends turned off
Controlling Annotations Visibility
To control whether annotations are visible set the following to true or false.
- Edit the following file:
/usr/local/groundwork/config/status-viewer.properties
- Set the following to true or false:
perf.monitoring.client.rendering.annotations
- With perf.monitoring.client.rendering.annotations = false the annotations are turned off and the graph looks like this:
Figure: Annotation turned off
For more advanced users
The embedded Grafana graphs are dynamically created using scripted dashboards. You can modify the code in /usr/local/groundwork/grafana/public/dashboards/gwdashgen.js to adjust the appearance of the generated graphs. Any changes made are immediately effective.