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::OtelUpDownCounterAdapter Class Referencefinal

#include <MeterAdapters.h>

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

Public Member Functions

 OtelUpDownCounterAdapter (opentelemetry::nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< int64_t > > counter)
 
void add (long value, Aws::Map< Aws::String, Aws::String > attributes) override
 

Public Member Functions inherited from smithy::components::tracing::UpDownCounter

virtual ~UpDownCounter ()=default
 

Detailed Description

A Open Telemetry Implementation of UpDownCounter.

Definition at line 64 of file MeterAdapters.h.

Constructor & Destructor Documentation

◆ OtelUpDownCounterAdapter()

smithy::components::tracing::OtelUpDownCounterAdapter::OtelUpDownCounterAdapter ( opentelemetry::nostd::unique_ptr< opentelemetry::metrics::UpDownCounter< int64_t > >  counter)
explicit

Member Function Documentation

◆ add()

void smithy::components::tracing::OtelUpDownCounterAdapter::add ( long  value,
Aws::Map< Aws::String, Aws::String attributes 
)
overridevirtual

Adds a value to counter.

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

Implements smithy::components::tracing::UpDownCounter.


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