aboutsummaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-04-26 00:00:49 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-04-26 00:09:26 +0300
commit7bde5f1f7732fb9e9103ac1f54fe1de99bdb6be5 (patch)
treec3add2f19f717d4cf6e15fdb72a01f80afa3e1a3 /yt
parent0c8c913340edbc0acbf3839b2efa0b062c6c70bf (diff)
downloadydb-7bde5f1f7732fb9e9103ac1f54fe1de99bdb6be5.tar.gz
Intermediate changes
Diffstat (limited to 'yt')
-rw-r--r--yt/yt/library/profiling/solomon/registry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/yt/library/profiling/solomon/registry.cpp b/yt/yt/library/profiling/solomon/registry.cpp
index 4b65c3c2d0..fac1478756 100644
--- a/yt/yt/library/profiling/solomon/registry.cpp
+++ b/yt/yt/library/profiling/solomon/registry.cpp
@@ -522,7 +522,7 @@ NProto::TSensorDump TSolomonRegistry::DumpSensors(std::vector<TTagId> extraTags)
{
auto guard = Guard(DynamicTagsLock_);
for (const auto& [key, value] : DynamicTags_) {
- extraTags.push_back(Tags_.Encode(std::make_pair(key, value)));
+ extraTags.push_back(Tags_.Encode(std::pair(key, value)));
}
}
@@ -551,10 +551,10 @@ NProto::TSensorDump TSolomonRegistry::DumpSensors(const std::optional<TString>&
{
std::vector<TTagId> extraTags;
if (host) {
- extraTags.push_back(Tags_.Encode(std::make_pair("host", *host)));
+ extraTags.push_back(Tags_.Encode(std::pair("host", *host)));
}
for (const auto& [key, value] : instanceTags) {
- extraTags.push_back(Tags_.Encode(std::make_pair(key, value)));
+ extraTags.push_back(Tags_.Encode(std::pair(key, value)));
}
return DumpSensors(extraTags);
}