Skip to content

Commit 62f5cb2

Browse files
Update request_settings.h
1 parent d122ca9 commit 62f5cb2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/ydb-cpp-sdk/client/types/request_settings.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <vector>
1010
#include <utility>
11+
#include <string>
1112

1213
namespace NYdb::inline V3 {
1314

@@ -20,6 +21,7 @@ struct TRequestSettings {
2021
FLUENT_SETTING(std::string, RequestType);
2122
FLUENT_SETTING(THeader, Header);
2223
FLUENT_SETTING(TDuration, ClientTimeout);
24+
FLUENT_SETTING(std::string, TraceParent); // Поле для передачи traceparent
2325

2426
TRequestSettings() = default;
2527

@@ -29,6 +31,7 @@ struct TRequestSettings {
2931
, RequestType_(other.RequestType_)
3032
, Header_(other.Header_)
3133
, ClientTimeout_(other.ClientTimeout_)
34+
, TraceParent_(other.TraceParent)
3235
{}
3336
};
3437

0 commit comments

Comments
 (0)