AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
Public Member Functions | List of all members
smithy::components::tracing::AsyncMeasurement Class Referenceabstract

#include <Gauge.h>

Inheritance diagram for smithy::components::tracing::AsyncMeasurement:
[legend]

Public Member Functions

virtual ~AsyncMeasurement ()=default
 
virtual void Record (double value, const Aws::Map< Aws::String, Aws::String > &attributes)=0
 

Detailed Description

Measures the current instantaneous value. Is used in the implementation of a gauge handle to take an actual measurement.

Definition at line 33 of file Gauge.h.

Constructor & Destructor Documentation

◆ ~AsyncMeasurement()

virtual smithy::components::tracing::AsyncMeasurement::~AsyncMeasurement ( )
virtualdefault

Member Function Documentation

◆ Record()

virtual void smithy::components::tracing::AsyncMeasurement::Record ( double  value,
const Aws::Map< Aws::String, Aws::String > &  attributes 
)
pure virtual

A Functional interface of recording a value.

Parameters
valuethe value of the measurement.
attributesthe attributes or dimensions associate with this measurement.

Implemented in smithy::components::tracing::OtelObserverAdapter.


The documentation for this class was generated from the following file: