NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::trace::SpanDataEvent Class Reference

Detailed Description

Class for storing events in SpanData.

Definition at line 37 of file includes/opentelemetry/sdk/trace/span_data.h.

Public Member Functions

 SpanDataEvent (std::string name, opentelemetry::common::SystemTimestamp timestamp, const opentelemetry::common::KeyValueIterable &attributes)
 
std::string GetName () const noexcept
 Get the name for this event. More...
 
opentelemetry::common::SystemTimestamp GetTimestamp () const noexcept
 Get the timestamp for this event. More...
 
const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & GetAttributes () const noexcept
 Get the attributes for this event. More...
 
 SpanDataEvent (std::string name, opentelemetry::common::SystemTimestamp timestamp, const opentelemetry::common::KeyValueIterable &attributes)
 
std::string GetName () const noexcept
 Get the name for this event. More...
 
opentelemetry::common::SystemTimestamp GetTimestamp () const noexcept
 Get the timestamp for this event. More...
 
const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & GetAttributes () const noexcept
 Get the attributes for this event. More...
 

Constructor & Destructor Documentation

◆ SpanDataEvent() [1/2]

sdk::trace::SpanDataEvent::SpanDataEvent ( std::string  name,
opentelemetry::common::SystemTimestamp  timestamp,
const opentelemetry::common::KeyValueIterable &  attributes 
)
inline

Definition at line 40 of file includes/opentelemetry/sdk/trace/span_data.h.

◆ SpanDataEvent() [2/2]

sdk::trace::SpanDataEvent::SpanDataEvent ( std::string  name,
opentelemetry::common::SystemTimestamp  timestamp,
const opentelemetry::common::KeyValueIterable &  attributes 
)
inline

Member Function Documentation

◆ GetAttributes() [1/2]

const std::unordered_map<std::string, opentelemetry::sdk::common::OwnedAttributeValue>& sdk::trace::SpanDataEvent::GetAttributes ( ) const
inlinenoexcept

Get the attributes for this event.

Returns
the attributes for this event

Definition at line 63 of file includes/opentelemetry/sdk/trace/span_data.h.

◆ GetAttributes() [2/2]

const std::unordered_map<std::string, opentelemetry::sdk::common::OwnedAttributeValue>& sdk::trace::SpanDataEvent::GetAttributes ( ) const
inlinenoexcept

Get the attributes for this event.

Returns
the attributes for this event

Definition at line 63 of file 9.2/includes/opentelemetry/sdk/trace/span_data.h.

◆ GetName() [1/2]

std::string sdk::trace::SpanDataEvent::GetName ( ) const
inlinenoexcept

Get the name for this event.

Returns
the name for this event

Definition at line 50 of file 9.2/includes/opentelemetry/sdk/trace/span_data.h.

◆ GetName() [2/2]

std::string sdk::trace::SpanDataEvent::GetName ( ) const
inlinenoexcept

Get the name for this event.

Returns
the name for this event

Definition at line 50 of file includes/opentelemetry/sdk/trace/span_data.h.

◆ GetTimestamp() [1/2]

opentelemetry::common::SystemTimestamp sdk::trace::SpanDataEvent::GetTimestamp ( ) const
inlinenoexcept

Get the timestamp for this event.

Returns
the timestamp for this event

Definition at line 56 of file includes/opentelemetry/sdk/trace/span_data.h.

◆ GetTimestamp() [2/2]

opentelemetry::common::SystemTimestamp sdk::trace::SpanDataEvent::GetTimestamp ( ) const
inlinenoexcept

Get the timestamp for this event.

Returns
the timestamp for this event

Definition at line 56 of file 9.2/includes/opentelemetry/sdk/trace/span_data.h.


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