AWS SDK for C++

AWS SDK for C++ Version 1.11.791

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

#include <UpDownCounter.h>

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

Public Member Functions

virtual ~UpDownCounter ()=default
 
virtual void add (long value, Aws::Map< Aws::String, Aws::String > attributes)=0
 

Detailed Description

Measures a value that goes up or down.

Definition at line 17 of file UpDownCounter.h.

Constructor & Destructor Documentation

◆ ~UpDownCounter()

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

Member Function Documentation

◆ add()

virtual void smithy::components::tracing::UpDownCounter::add ( long  value,
Aws::Map< Aws::String, Aws::String attributes 
)
pure virtual

Adds a value to counter.

Parameters
valuethe count to be added to the counter.
attributesthe attributes or dimensions associate with this measurement.

Implemented in smithy::components::tracing::OtelUpDownCounterAdapter.


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