Function CollectorRegistry.collect

Collects stats by calling all delegates specified for stat collection, formats them using ocean.util.prometheus.collector.StatFormatter eventually, and finally returns the accumulated result. The specifications of the format can be found at https://prometheus.io/docs/instrumenting/exposition_formats/.

const(char)[] collect();

Returns

The stats accumulated since last time this method was called.