|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
8 #include "opentelemetry/sdk/metrics/data/metric_data.h"
9 #include "opentelemetry/version.h"
33 virtual std::unique_ptr<Aggregation>
Merge(
const Aggregation &delta)
const noexcept = 0;
41 virtual std::unique_ptr<Aggregation>
Diff(
const Aggregation &next)
const noexcept = 0;
virtual ~Aggregation()=default
opentelemetry::sdk::common::OrderedAttributeMap PointAttributes
#define OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
virtual std::unique_ptr< Aggregation > Merge(const Aggregation &delta) const noexcept=0
Returns the result of the merge of the two aggregations.
virtual std::unique_ptr< Aggregation > Diff(const Aggregation &next) const noexcept=0
Returns a new delta aggregation by comparing two cumulative measurements.
virtual PointType ToPoint() const noexcept=0
Returns the point data that the aggregation will produce.
opentelemetry::nostd::variant< SumPointData, HistogramPointData, Base2ExponentialHistogramPointData, LastValuePointData, DropPointData > PointType
virtual void Aggregate(int64_t value, const PointAttributes &attributes={}) noexcept=0