NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::trace::SpanDataLink Class Reference

Detailed Description

Class for storing links in SpanData.

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

Public Member Functions

 SpanDataLink (opentelemetry::trace::SpanContext span_context, const opentelemetry::common::KeyValueIterable &attributes)
 
const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & GetAttributes () const noexcept
 Get the attributes for this link. More...
 
const opentelemetry::trace::SpanContext & GetSpanContext () const noexcept
 Get the span context for this link. More...
 
 SpanDataLink (opentelemetry::trace::SpanContext span_context, const opentelemetry::common::KeyValueIterable &attributes)
 
const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & GetAttributes () const noexcept
 Get the attributes for this link. More...
 
const opentelemetry::trace::SpanContext & GetSpanContext () const noexcept
 Get the span context for this link. More...
 

Constructor & Destructor Documentation

◆ SpanDataLink() [1/2]

sdk::trace::SpanDataLink::SpanDataLink ( opentelemetry::trace::SpanContext  span_context,
const opentelemetry::common::KeyValueIterable &  attributes 
)
inline

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

◆ SpanDataLink() [2/2]

sdk::trace::SpanDataLink::SpanDataLink ( opentelemetry::trace::SpanContext  span_context,
const opentelemetry::common::KeyValueIterable &  attributes 
)
inline

Member Function Documentation

◆ GetAttributes() [1/2]

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

Get the attributes for this link.

Returns
the attributes for this link

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

◆ GetAttributes() [2/2]

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

Get the attributes for this link.

Returns
the attributes for this link

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

◆ GetSpanContext() [1/2]

const opentelemetry::trace::SpanContext& sdk::trace::SpanDataLink::GetSpanContext ( ) const
inlinenoexcept

Get the span context for this link.

Returns
the span context for this link

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

◆ GetSpanContext() [2/2]

const opentelemetry::trace::SpanContext& sdk::trace::SpanDataLink::GetSpanContext ( ) const
inlinenoexcept

Get the span context for this link.

Returns
the span context for this link

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


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