NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::ExemplarData Class Reference

Detailed Description

A sample input measurement.

Exemplars also hold information about the environment when the measurement was recorded, for example the span and trace ID of the active span when the exemplar was recorded.

Definition at line 26 of file includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

Public Member Functions

MetricAttributes GetFilteredAttributes ()
 The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. More...
 
opentelemetry::common::SystemTimestamp GetEpochNanos ()
 Returns the timestamp in nanos when measurement was collected. More...
 
const opentelemetry::trace::SpanContext & GetSpanContext () const noexcept
 Returns the SpanContext associated with this exemplar. More...
 
MetricAttributes GetFilteredAttributes ()
 The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. More...
 
opentelemetry::common::SystemTimestamp GetEpochNanos ()
 Returns the timestamp in nanos when measurement was collected. More...
 
const opentelemetry::trace::SpanContext & GetSpanContext () const noexcept
 Returns the SpanContext associated with this exemplar. More...
 

Static Public Member Functions

static ExemplarData Create (std::shared_ptr< opentelemetry::trace::SpanContext > context, const opentelemetry::common::SystemTimestamp &timestamp, const PointDataAttributes &point_data_attr)
 
static PointType CreateSumPointData (ValueType value)
 
static PointType CreateLastValuePointData (ValueType value)
 
static PointType CreateDropPointData ()
 
static ExemplarData Create (std::shared_ptr< opentelemetry::trace::SpanContext > context, const opentelemetry::common::SystemTimestamp &timestamp, const PointDataAttributes &point_data_attr)
 
static PointType CreateSumPointData (ValueType value)
 
static PointType CreateLastValuePointData (ValueType value)
 
static PointType CreateDropPointData ()
 

Member Function Documentation

◆ Create() [1/2]

static ExemplarData sdk::metrics::ExemplarData::Create ( std::shared_ptr< opentelemetry::trace::SpanContext >  context,
const opentelemetry::common::SystemTimestamp &  timestamp,
const PointDataAttributes &  point_data_attr 
)
inlinestatic

◆ Create() [2/2]

static ExemplarData sdk::metrics::ExemplarData::Create ( std::shared_ptr< opentelemetry::trace::SpanContext >  context,
const opentelemetry::common::SystemTimestamp &  timestamp,
const PointDataAttributes &  point_data_attr 
)
inlinestatic

◆ CreateDropPointData() [1/2]

static PointType sdk::metrics::ExemplarData::CreateDropPointData ( )
inlinestatic

◆ CreateDropPointData() [2/2]

static PointType sdk::metrics::ExemplarData::CreateDropPointData ( )
inlinestatic

◆ CreateLastValuePointData() [1/2]

static PointType sdk::metrics::ExemplarData::CreateLastValuePointData ( ValueType  value)
inlinestatic

◆ CreateLastValuePointData() [2/2]

static PointType sdk::metrics::ExemplarData::CreateLastValuePointData ( ValueType  value)
inlinestatic

◆ CreateSumPointData() [1/2]

static PointType sdk::metrics::ExemplarData::CreateSumPointData ( ValueType  value)
inlinestatic

◆ CreateSumPointData() [2/2]

static PointType sdk::metrics::ExemplarData::CreateSumPointData ( ValueType  value)
inlinestatic

◆ GetEpochNanos() [1/2]

opentelemetry::common::SystemTimestamp sdk::metrics::ExemplarData::GetEpochNanos ( )
inline

Returns the timestamp in nanos when measurement was collected.

Definition at line 44 of file 9.2/includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

◆ GetEpochNanos() [2/2]

opentelemetry::common::SystemTimestamp sdk::metrics::ExemplarData::GetEpochNanos ( )
inline

Returns the timestamp in nanos when measurement was collected.

Definition at line 44 of file includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

◆ GetFilteredAttributes() [1/2]

MetricAttributes sdk::metrics::ExemplarData::GetFilteredAttributes ( )
inline

The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.

Only key/value pairs that were filtered out by the aggregator should be included

Definition at line 41 of file includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

◆ GetFilteredAttributes() [2/2]

MetricAttributes sdk::metrics::ExemplarData::GetFilteredAttributes ( )
inline

The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.

Only key/value pairs that were filtered out by the aggregator should be included

Definition at line 41 of file 9.2/includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

◆ GetSpanContext() [1/2]

const opentelemetry::trace::SpanContext& sdk::metrics::ExemplarData::GetSpanContext ( ) const
inlinenoexcept

Returns the SpanContext associated with this exemplar.

If the exemplar was not recorded inside a sampled trace, the Context will be invalid.

Definition at line 50 of file includes/opentelemetry/sdk/metrics/data/exemplar_data.h.

◆ GetSpanContext() [2/2]

const opentelemetry::trace::SpanContext& sdk::metrics::ExemplarData::GetSpanContext ( ) const
inlinenoexcept

Returns the SpanContext associated with this exemplar.

If the exemplar was not recorded inside a sampled trace, the Context will be invalid.

Definition at line 50 of file 9.2/includes/opentelemetry/sdk/metrics/data/exemplar_data.h.


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