Class SpanDataLink
Defined in File span_data.h
Class Documentation
-
class SpanDataLink
Class for storing links in SpanData.
Public Functions
-
inline SpanDataLink(opentelemetry::trace::SpanContext span_context, const opentelemetry::common::KeyValueIterable &attributes)
-
inline const std::unordered_map<std::string, opentelemetry::sdk::common::OwnedAttributeValue> &GetAttributes() const noexcept
Get the attributes for this link
- Returns:
the attributes for this link
-
inline const opentelemetry::trace::SpanContext &GetSpanContext() const noexcept
Get the span context for this link
- Returns:
the span context for this link
-
inline SpanDataLink(opentelemetry::trace::SpanContext span_context, const opentelemetry::common::KeyValueIterable &attributes)