Struct ResourceMetrics

Struct Documentation

struct ResourceMetrics

Public Functions

template<class ResourcePtr, class ScopeMetricsType>
inline ResourceMetrics(ResourcePtr &&resource, ScopeMetricsType &&scope_metric_data)
inline ResourceMetrics()
inline ResourceMetrics(const ResourceMetrics&) = default
inline ResourceMetrics(ResourceMetrics&&) = default
inline ResourceMetrics &operator=(const ResourceMetrics&) = default
inline ResourceMetrics &operator=(ResourceMetrics&&) = default

Public Members

const opentelemetry::sdk::resource::Resource *resource_ = nullptr
std::vector<ScopeMetrics> scope_metric_data_