How to display a subset of service metrics

Version 3 by Bren Eckles
on Dec 06, 2017 10:20.

compared with
Current by Bren Eckles
on Jan 31, 2018 12:07.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
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.
{note}This does not apply to embedded Grafana graphs in Status, which always shows all metrics.{note}

# All metrics will be shown when the dashboard is reloaded.

h6. 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}}).
# Click !grafana_icon.png!, 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]
*Database*: groundwork
\\
# Create a dashboard with the _Panel Data Source_ set to the name of the InfluxDB Datasource data source created in the previous step (e.g., influx data source).
\\
\\