MySQL 9.7.0
Source Code Documentation
telemetry::MySQLPushMetricExporter Class Reference

Intercept calls and delegate to a PushMetricExporter. More...

Inheritance diagram for telemetry::MySQLPushMetricExporter:
[legend]

Public Member Functions

 MySQLPushMetricExporter (std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > delegate)
 
 ~MySQLPushMetricExporter () override=default
 
opentelemetry::sdk::common::ExportResult Export (const opentelemetry::sdk::metrics::ResourceMetrics &data) noexcept override
 
opentelemetry::sdk::metrics::AggregationTemporality GetAggregationTemporality (opentelemetry::sdk::metrics::InstrumentType instrument_type) const noexcept override
 
bool ForceFlush (std::chrono::microseconds timeout) noexcept override
 
bool Shutdown (std::chrono::microseconds timeout) noexcept override
 

Static Public Member Functions

static std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > Create (std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > delegate)
 

Private Attributes

std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > m_delegate
 
MetricOptionUsage m_option_usage
 

Detailed Description

Intercept calls and delegate to a PushMetricExporter.

Constructor & Destructor Documentation

◆ MySQLPushMetricExporter()

telemetry::MySQLPushMetricExporter::MySQLPushMetricExporter ( std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter >  delegate)
inline

◆ ~MySQLPushMetricExporter()

telemetry::MySQLPushMetricExporter::~MySQLPushMetricExporter ( )
overridedefault

Member Function Documentation

◆ Create()

static std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > telemetry::MySQLPushMetricExporter::Create ( std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter >  delegate)
inlinestatic

◆ Export()

opentelemetry::sdk::common::ExportResult telemetry::MySQLPushMetricExporter::Export ( const opentelemetry::sdk::metrics::ResourceMetrics &  data)
overridenoexcept

◆ ForceFlush()

bool telemetry::MySQLPushMetricExporter::ForceFlush ( std::chrono::microseconds  timeout)
inlineoverridenoexcept

◆ GetAggregationTemporality()

opentelemetry::sdk::metrics::AggregationTemporality telemetry::MySQLPushMetricExporter::GetAggregationTemporality ( opentelemetry::sdk::metrics::InstrumentType  instrument_type) const
inlineoverridenoexcept

◆ Shutdown()

bool telemetry::MySQLPushMetricExporter::Shutdown ( std::chrono::microseconds  timeout)
inlineoverridenoexcept

Member Data Documentation

◆ m_delegate

std::unique_ptr<opentelemetry::sdk::metrics::PushMetricExporter> telemetry::MySQLPushMetricExporter::m_delegate
private

◆ m_option_usage

MetricOptionUsage telemetry::MySQLPushMetricExporter::m_option_usage
private

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