Trends
The trends page can be accessed via the monitor menu:
Monitor > Trends
Trends can be used to track changes over time and monitor various parameters including all available facts. For example, a trend counter might monitor how many hosts use which operating systems and present a chart accordingly.
-
The Add Trend Counter button (1) allows you to add a new trend.
-
The list (2) shows all currently collected trends.
-
The Action menu (3) allows you to edit or delete a trend.
Trend counters are relatively resource intensive. They should be used accordingly as each trend counter runs as a separate process performing database queries at regular intervals of 30 minutes. |
Viewing a Trend
A trend visualising the used operating systems over the last 30 days may look as follows:
-
The Trends of the last days drop down menu (1) allows you to view a trend for the last 30 days.
-
The visualisation (2) shows the course of the number of hosts of each operating system. The x-axis displays the date and the y-axis displays the number of hosts. Each colour represents a different operating system.
This example shows that there’s been three days with an additional need of extra hosts and a period of a bit over a week with extra Debian based hosts.
Adding a Trend
Clicking the add trend counter button, as shown above, takes you to the following page:
-
The Trend Type drop down menu (1) refers to either a preconfigured type or facts, as shown in the example above. This allows you to access any Ansible or Puppet fact.
-
The Trendable drop down menu (2) allows you to select the fact you want to visualise.
-
The Name field (3) allows you to set an arbitrary name for the new trend.
-
Clicking the Submit button (4) saves your changes to orcharhino.
Editing a Trend
This example edits the ComputeResource
trend:
-
The table (1) shows all currently active compute resource providers. You may rename the compute resources as you like.
-
Clicking the Submit button (2) saves your changes to orcharhino.