We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80560ce commit be26f9fCopy full SHA for be26f9f
source/common/stats/statsd.cc
@@ -92,7 +92,8 @@ const std::string UdpStatsdSink::buildTagStr(const std::vector<Tag>& tags) {
92
int i = 0;
93
for (const Tag& tag : tags) {
94
if (i == 0) {
95
- tag_str.append(fmt::format("{}:{}", tag.name_, tag.value_));
+ std::vector<std::string> v = {tag.name_, tag.value_};
96
+ tag_str.append(StringUtil::join(v, ":"));
97
} else {
98
tag_str.append(fmt::format(",{}:{}", tag.name_, tag.value_));
99
}
0 commit comments