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::MonotonicCounter Class Referenceabstract

#include <MonotonicCounter.h>

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

Public Member Functions

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

Detailed Description

Measures a value that only ever increases.

Definition at line 17 of file MonotonicCounter.h.

Constructor & Destructor Documentation

◆ ~MonotonicCounter()

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

Member Function Documentation

◆ add()

virtual void smithy::components::tracing::MonotonicCounter::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::OtelCounterAdapter.


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