Function CollectorRegistry.addCollector

Appends a stat collector callback to the list of existing ones. May result in a re-allocation of the entire buffer storing the callbacks.

void addCollector (
  scope void delegate(Collector) collector
);

Parameters

NameDescription
collector The stat collector to append.