|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Finished span snapshot returned by the in-memory exporter. More...
#include <cpp/a11/obs/provider.h>
Public Attributes | |
| std::string | name |
| Final span name. | |
| std::string | trace_id |
| 32 lowercase hex characters. | |
| std::string | span_id |
| 16 lowercase hex characters. | |
| std::string | parent_span_id |
| Parent id, or empty for a root span. | |
| SpanKind | kind = SpanKind::kInternal |
| OTel relationship kind. | |
| int | status_code = 0 |
| OTel status: 0 unset, 1 OK, 2 error. | |
| std::string | status_description |
| Optional error explanation. | |
| std::vector< std::pair< std::string, std::string > > | attributes |
| Final attributes. | |
| std::vector< RecordedEvent > | events |
| Events in recording order. | |
Finished span snapshot returned by the in-memory exporter.
| std::vector<std::pair<std::string, std::string> > a11::obs::RecordedSpan::attributes |
Final attributes.
| std::vector<RecordedEvent> a11::obs::RecordedSpan::events |
Events in recording order.
| SpanKind a11::obs::RecordedSpan::kind = SpanKind::kInternal |
OTel relationship kind.
| std::string a11::obs::RecordedSpan::name |
Final span name.
| std::string a11::obs::RecordedSpan::parent_span_id |
Parent id, or empty for a root span.
| std::string a11::obs::RecordedSpan::span_id |
16 lowercase hex characters.
| int a11::obs::RecordedSpan::status_code = 0 |
OTel status: 0 unset, 1 OK, 2 error.
| std::string a11::obs::RecordedSpan::status_description |
Optional error explanation.
| std::string a11::obs::RecordedSpan::trace_id |
32 lowercase hex characters.