Create an integer metric object that uses the specified collector.

Synopsis

Declared in <balm_integermetric.h>

explicit
IntegerMetric(IntegerCollector* collector);

Description

Create an integer metric object to collect values for the metric implied by the specified collector (i.e., collector‐>metricId()). The behavior is undefined unless collector is a valid address of a IntegerCollector object and the collector object supplied has a valid id (i.e., collector‐>metricId().isValid()).

Parameters

Name

Description

collector

integer collector used to record metric values

Created with MrDocs