WAS THIS PAGE HELPFUL? Leave Feedback
Overview
This page reviews how to display a subset of service metrics on a graph. A GroundWork service may have more than one metric in its performance data.
By default, all service metrics are displayed in a Grafana graph that is built using the GroundWork data source. There are a number of ways to selectively hide a subset of the metrics in a Grafana dashboard.
This does not apply to embedded Grafana graphs in Status, which always shows all metrics. |
Steps
Using display overrides
Display overrides can be used to selectively control which metrics are visible on a graph. To configure display overrides follow the steps below.
- Edit the graph.
- Select the Display tab.
- Select the Series overrides section.
Figure: local_load service has two overrides added to show 15 minute load average metric
Using legend control
- Edit the graph.
- Left click on the metric in the legend to select the metric.
- All metrics will be shown when the dashboard is reloaded.
Using the InfluxDB data source
GroundWork performance data that is stored in InfluxDB can be accessed in Grafana using the InfluxDB data source rather than the GroundWork data source. The steps below outline how to to add a an InfluxDB data source.
- Log into GroundWork Monitor as an Administrator (e.g., admin/admin).
- Go to Dashboards > Grafana.
- To log in as the Grafana Administrator, click , click Sign In. The default credentials are admin/admin.
- Click , and select Data Sources.
- Click the Add data source button.
- Create a new InfluxDB data source with the following parameters:
Name: (e.g., influx data source)
Type: InfluxDB
URL: http://localhost:8086
Access: proxy
Database: groundwork - Create a dashboard with the Panel Data Source set to the name of the InfluxDB data source created in the previous step (e.g., influx data source).
Figure: 15 minute load average