Package metric provides functionality for managing gathering metrics, calling external metric gathering logic through shell commands with relevant data piped to them.
Gatherer handles triggering the metric gathering logic to gather metrics for a resource
GetMetrics gathers metrics for the resource supplied
GetMetricer provides methods for retrieving metrics
Metric is the result of the custom metric calculation, containing information on the relevant resource and the metric value
Spec defines information fed into a gatherer to retrieve metrics, contains an optional field 'Metrics' for storing the result