collect

Collects the current set of metric samples.

Return

A MetricFamilySamples containing all samples for this metric.