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

#include <MeterAdapters.h>

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

Public Member Functions

 OtelObserverAdapter (const opentelemetry::metrics::ObserverResult &otelResult)
 
void Record (double value, const Aws::Map< Aws::String, Aws::String > &attributes) override
 

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

virtual ~AsyncMeasurement ()=default
 

Detailed Description

A Open Telemetry Implementation of AsyncMeasurement.

Definition at line 116 of file MeterAdapters.h.

Constructor & Destructor Documentation

◆ OtelObserverAdapter()

smithy::components::tracing::OtelObserverAdapter::OtelObserverAdapter ( const opentelemetry::metrics::ObserverResult &  otelResult)
explicit

Member Function Documentation

◆ Record()

void smithy::components::tracing::OtelObserverAdapter::Record ( double  value,
const Aws::Map< Aws::String, Aws::String > &  attributes 
)
overridevirtual

A Functional interface of recording a value.

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

Implements smithy::components::tracing::AsyncMeasurement.


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