BloombergLP::balm::CollectorRepository::collect

Append collected metric records for the specified category without resetting collectors.

Synopsis

Declared in <balm_collectorrepository.h>

void
collect(
    bsl::vector<MetricRecord>* records,
    Category const* category);

Description

Append to the specified records the collected metric record values from the collectors in this repository belonging to the specified category. Note that this operation does not reset the managed collectors.

Parameters

NameDescription
recordsreceives the collected metric records
categorycategory whose collectors are collected