collect

Collects the current metric samples for this counter.

Return

A MetricFamilySamples object containing the collected samples.