A customer recently asked how to configure dashboards so that an aggregated average for particular server groups are displayed. Here’s the solution we provided
Update the System Dashboard
parameters section is added to enable filtering by the value(s) you are looking for. In this example, we’ll assume that the
serverHosts configured on your platform have a “prod” or “qa” prefix. The “All Environments” label is provided as an all-inclusive default.
Modify the "System" Dashboard
In order to utilize the
#environment value from the
parameters definition, I replaced all instances of
The new “System” dashboard is provided in its entirety below:
Users can now select the average of all servers, or statistics for a particular subset of servers (as defined in the parameters)
You can add additional constraints as needed -- the
value field consists of a valid Scalyr search query.
Implement the new System Dashboard
Simply create a new dashboard and paste the (above) configuration in!