Struct ScopeMetrics

Struct Documentation

struct ScopeMetrics

Metric Data to be exported along with resources and Instrumentation scope.

Public Functions

template<class ScopePtr, class MetricDataType>
inline ScopeMetrics(ScopePtr &&scope, MetricDataType &&metric)
inline ScopeMetrics()
inline ScopeMetrics(const ScopeMetrics&) = default
inline ScopeMetrics(ScopeMetrics&&) = default
inline ScopeMetrics &operator=(const ScopeMetrics&) = default
inline ScopeMetrics &operator=(ScopeMetrics&&) = default

Public Members

const opentelemetry::sdk::instrumentationscope::InstrumentationScope *scope_ = nullptr
std::vector<MetricData> metric_data_