aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-11-30 21:13:15 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-11-30 22:58:14 +0300
commita5bb7e79594753e5608cc5809333046456f46f33 (patch)
treed93608891d62b7115fd24d33c0ee7165bd8cb73f
parent2461bca3b5eef9aca1ad825aada6036d37fa734a (diff)
downloadydb-a5bb7e79594753e5608cc5809333046456f46f33.tar.gz
Intermediate changes
-rw-r--r--yt/yt/library/tracing/example/main.cpp6
-rw-r--r--yt/yt/library/tracing/jaeger/tracer.cpp2
-rw-r--r--yt/yt/library/tracing/jaeger/tracer.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/yt/yt/library/tracing/example/main.cpp b/yt/yt/library/tracing/example/main.cpp
index 02baaba24e..2f8b13d523 100644
--- a/yt/yt/library/tracing/example/main.cpp
+++ b/yt/yt/library/tracing/example/main.cpp
@@ -55,7 +55,8 @@ void DelayedSamplingExample(std::optional<TString> endpoint)
traceContext->Finish();
}
-NAuth::TTvmServiceConfigPtr GetTvmMockConfig() {
+NAuth::TTvmServiceConfigPtr GetTvmMockConfig()
+{
auto config = New<NAuth::TTvmServiceConfig>();
config->EnableMock = true;
config->ClientSelfSecret = "TestSecret-0";
@@ -65,7 +66,8 @@ NAuth::TTvmServiceConfigPtr GetTvmMockConfig() {
return config;
}
-NAuth::TTvmServiceConfigPtr GetTvmConfig() {
+NAuth::TTvmServiceConfigPtr GetTvmConfig()
+{
auto config = New<NAuth::TTvmServiceConfig>();
config->ClientSelfId = FromString<NAuth::TTvmId>(GetEnv("TVM_ID"));
config->ClientSelfSecretEnv = "TVM_SECRET";
diff --git a/yt/yt/library/tracing/jaeger/tracer.cpp b/yt/yt/library/tracing/jaeger/tracer.cpp
index 42a6df2c38..0eab9a81f8 100644
--- a/yt/yt/library/tracing/jaeger/tracer.cpp
+++ b/yt/yt/library/tracing/jaeger/tracer.cpp
@@ -297,7 +297,7 @@ TJaegerChannelManager::TJaegerChannelManager()
{ }
TJaegerChannelManager::TJaegerChannelManager(
- const TIntrusivePtr<TJaegerTracerConfig>& config,
+ const TJaegerTracerConfigPtr& config,
const TString& endpoint,
const ITvmServicePtr& tvmService)
: TvmService_(tvmService)
diff --git a/yt/yt/library/tracing/jaeger/tracer.h b/yt/yt/library/tracing/jaeger/tracer.h
index 2dc2ae6ba6..fc820c4d29 100644
--- a/yt/yt/library/tracing/jaeger/tracer.h
+++ b/yt/yt/library/tracing/jaeger/tracer.h
@@ -5,6 +5,7 @@
#include <yt/yt/library/tracing/tracer.h>
#include <yt/yt/library/profiling/sensor.h>
+
#include <yt/yt/library/tvm/service/config.h>
#include <yt/yt/library/tvm/service/public.h>
@@ -125,7 +126,7 @@ class TJaegerChannelManager
public:
TJaegerChannelManager();
TJaegerChannelManager(
- const TIntrusivePtr<TJaegerTracerConfig>& config,
+ const TJaegerTracerConfigPtr& config,
const TString& endpoint,
const NAuth::ITvmServicePtr& tvmService);