Function Collector.getCollection
const(char)[] getCollection();
Returns
The stats collected since the last call to the reset
method, in a
textual respresentation that can be readily added to a response
message body.
The specifications of the format of the collected stats can be found
at https://prometheus.io/docs/instrumenting/exposition_formats/
.