record#
Fully qualified name: omni::observability::record
Defined in omni/observability/IMetrics.h
-
template<class ValueType, class T>
void omni::observability::record( - const carb::ObjectPtr<IGauge<ValueType>> &gauge,
- T value,
- std::initializer_list<Attribute> attributes,
Record a value in a gauge with initializer list attributes.
Remark
If the
gaugecarb::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] Initializer list of attributes to associate with this measurement.