mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Use CurrentMetrics::Metric over ProfileEvents::Event (cosmetic, both are size_t)
This commit is contained in:
parent
25eb53636d
commit
d04d652ad4
@ -27,7 +27,7 @@ Block MetricLogElement::createBlock()
|
|||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
name += "CurrentMetric_";
|
name += "CurrentMetric_";
|
||||||
name += CurrentMetrics::getName(ProfileEvents::Event(i));
|
name += CurrentMetrics::getName(CurrentMetrics::Metric(i));
|
||||||
columns_with_type_and_name.emplace_back(std::make_shared<DataTypeInt64>(), std::move(name));
|
columns_with_type_and_name.emplace_back(std::make_shared<DataTypeInt64>(), std::move(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user