summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yt/yt/client/cache/rpc.cpp4
-rw-r--r--yt/yt_proto/yt/client/cache/proto/config.proto1
2 files changed, 4 insertions, 1 deletions
diff --git a/yt/yt/client/cache/rpc.cpp b/yt/yt/client/cache/rpc.cpp
index 35a9f1a498c..a076935ab00 100644
--- a/yt/yt/client/cache/rpc.cpp
+++ b/yt/yt/client/cache/rpc.cpp
@@ -74,7 +74,9 @@ NApi::NRpcProxy::TConnectionConfigPtr GetConnectionConfig(const TConfig& config)
if (config.HasEnableLegacyRpcCodecs()) {
connectionConfig->EnableLegacyRpcCodecs = config.GetEnableLegacyRpcCodecs();
}
-
+ if (config.HasEnableSelectQueryTracingTag()) {
+ connectionConfig->EnableSelectQueryTracingTag = config.GetEnableSelectQueryTracingTag();
+ }
if (config.HasRetryBackoffTime()) {
connectionConfig->RetryingChannel->RetryBackoffTime = TDuration::MilliSeconds(config.GetRetryBackoffTime());
}
diff --git a/yt/yt_proto/yt/client/cache/proto/config.proto b/yt/yt_proto/yt/client/cache/proto/config.proto
index cb14e7ac964..98699e87bbf 100644
--- a/yt/yt_proto/yt/client/cache/proto/config.proto
+++ b/yt/yt_proto/yt/client/cache/proto/config.proto
@@ -40,6 +40,7 @@ message TConfig
repeated string ProxyAddresses = 18;
optional bool EnableProxyDiscovery = 19;
optional bool EnablePowerOfTwoChoicesStrategy = 21;
+ optional bool EnableSelectQueryTracingTag = 22;
}
message TClustersConfig