type MetricSet struct {
mb.BaseMetricSet// contains filtered or unexported fields
}
MetricSet type defines all fields of the MetricSet
As a minimum it must inherit the mb.BaseMetricSet fields, but can be extended with
additional entries. These variables can be used to persist data or configuration between
multiple fetch calls.
Fetch methods implements the data gathering and data conversion to the right format
It returns the event which is then forward to the output. In case of an error, a
descriptive error must be returned.