AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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

#include <MeterAdapters.h>

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

Public Member Functions

 OtelCounterAdapter (opentelemetry::nostd::unique_ptr< opentelemetry::metrics::Counter< uint64_t > > counter)
 
void add (long value, Aws::Map< Aws::String, Aws::String > attributes) override
 

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

virtual ~MonotonicCounter ()=default
 

Detailed Description

A Open Telemetry Implementation of MonotonicCounter.

Definition at line 50 of file MeterAdapters.h.

Constructor & Destructor Documentation

◆ OtelCounterAdapter()

smithy::components::tracing::OtelCounterAdapter::OtelCounterAdapter ( opentelemetry::nostd::unique_ptr< opentelemetry::metrics::Counter< uint64_t > >  counter)
explicit

Member Function Documentation

◆ add()

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


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