Class SpanDataEvent
Defined in File span_data.h
Class Documentation
-
class SpanDataEvent
Class for storing events in SpanData.
Public Functions
-
inline SpanDataEvent(std::string name, opentelemetry::common::SystemTimestamp timestamp, const opentelemetry::common::KeyValueIterable &attributes)
-
inline std::string GetName() const noexcept
Get the name for this event
- Returns:
the name for this event
-
inline opentelemetry::common::SystemTimestamp GetTimestamp() const noexcept
Get the timestamp for this event
- Returns:
the timestamp for this event
-
inline const std::unordered_map<std::string, opentelemetry::sdk::common::OwnedAttributeValue> &GetAttributes() const noexcept
Get the attributes for this event
- Returns:
the attributes for this event
-
inline SpanDataEvent(std::string name, opentelemetry::common::SystemTimestamp timestamp, const opentelemetry::common::KeyValueIterable &attributes)