The name of the label to annotate the stats with.
The struct or class type to fetch the stat names from.
The type of the label's value.
The struct or class to fetch stat values from.
The label value to annotate the stats with.
The buffer to add the formatted stats to.
Format data members from a struct or a class, with a additional label name and value, into a string that can be added to a stat collection buffer for exporting to prometheus.