recordArr#

Fully qualified name: omni::observability::recordArr

Defined in omni/observability/IMetrics.h

template<class ValueType, class T>
void omni::observability::recordArr(
const carb::ObjectPtr<IGauge<ValueType>> &gauge,
T value,
const Attribute attributes[],
std::size_t attributeCount,
) noexcept#

Record a value in a gauge with array attributes.

Remark

If the gauge carb::ObjectPtr is null, this function is a no-op.

Parameters:
  • gauge[in] The gauge instrument to record to (null pointer is permitted).

  • value[in] The value to record in the gauge.

  • attributes[in] Array of attributes to associate with this measurement.

  • attributeCount[in] Number of attributes in the array.