We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607fd1c commit e5af77fCopy full SHA for e5af77f
include/ydb-cpp-sdk/client/tracing/tracer.h
@@ -0,0 +1,25 @@
1
+#pragma once
2
+
3
+#include <memory>
4
+#include <string>
5
6
+namespace NYdb::inline V3 {
7
+namespace NTracing {
8
9
+class ISpan {
10
+public:
11
+ virtual ~ISpan() = default;
12
13
+ virtual void AddAttribute(const std::string& key, const std::string& value) = 0;
14
+ virtual void End() = 0;
15
+};
16
17
+class ITracer {
18
19
+ virtual ~ITracer() = default;
20
21
+ virtual std::unique_ptr<ISpan> StartSpan(const std::string& name) = 0;
22
23
24
+} // namespace NTracing
25
+} // namespace NYdb
0 commit comments