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