addArr#
Fully qualified name: omni::observability::addArr
Defined in omni/observability/IMetrics.h
-
template<class ValueType, class T>
void omni::observability::addArr( - const carb::ObjectPtr<IUpDownCounter<ValueType>> &upDownCounter,
- T value,
- const Attribute attributes[],
- std::size_t attributeCount,
Add a value to an up/down counter with array attributes.
Remark
If the
upDownCountercarb::ObjectPtr is null, this function is a no-op.- Parameters:
upDownCounter – [in] The up/down counter instrument to add to (null pointer is permitted).
value – [in] The value to add to the up/down counter.
attributes – [in] Array of attributes to associate with this measurement.
attributeCount – [in] Number of attributes in the array.