Branch data Line data Source code
1 : : #pragma once
2 : :
3 : : #include <hpactor/tracing/span.hpp>
4 : : #include <hpactor/types/types.hpp>
5 : :
6 : : #include <span>
7 : :
8 : : namespace hpactor::tracing {
9 : :
10 : : class SpanExporter {
11 : : public:
12 : 7 : virtual ~SpanExporter() = default;
13 : : virtual result<void>
14 : : export_batch(std::span<const SpanRecord> batch) noexcept = 0;
15 : : virtual void shutdown() noexcept = 0;
16 : : virtual const char* name() const noexcept = 0;
17 : : };
18 : :
19 : : } // namespace hpactor::tracing
|