@@ -35,7 +35,7 @@ TString FormatNumber(i64 number) {
35
35
}
36
36
37
37
void PrintStatistics (const TString& fullStat, const THashMap<TString, i64>& flatStat, const NFq::TPublicStat& publicStat, IOutputStream& output) {
38
- output << " \n Flat statistic :" << Endl;
38
+ output << " \n Flat statistics :" << Endl;
39
39
for (const auto & [propery, value] : flatStat) {
40
40
TString valueString = ToString (value);
41
41
if (propery.find (" Bytes" ) != TString::npos || propery.find (" Source" ) != TString::npos) {
@@ -50,7 +50,7 @@ void PrintStatistics(const TString& fullStat, const THashMap<TString, i64>& flat
50
50
output << propery << " = " << valueString << Endl;
51
51
}
52
52
53
- output << " \n Public statistic :" << Endl;
53
+ output << " \n Public statistics :" << Endl;
54
54
if (auto memoryUsageBytes = publicStat.MemoryUsageBytes ) {
55
55
output << " MemoryUsage = " << NKikimr::NBlobDepot::FormatByteSize (*memoryUsageBytes) << Endl;
56
56
}
@@ -73,7 +73,7 @@ void PrintStatistics(const TString& fullStat, const THashMap<TString, i64>& flat
73
73
output << " RunningTasks = " << FormatNumber (*runningTasks) << Endl;
74
74
}
75
75
76
- output << " \n Full statistic :" << Endl;
76
+ output << " \n Full statistics :" << Endl;
77
77
NJson::TJsonValue statsJson;
78
78
NJson::ReadJsonTree (fullStat, &statsJson);
79
79
NJson::WriteJson (&output, &statsJson, true , true , true );
@@ -313,7 +313,7 @@ class TKqpRunner::TImpl {
313
313
314
314
outputStream << " \n CPU usage: " << cpuUsage << Endl;
315
315
PrintStatistics (fullStat, flatStat, publicStat, outputStream);
316
- } catch (const NJson::TJsonException& ex) {
316
+ } catch (const NJson::TJsonException& ex) {
317
317
outputStream << " Error stat conversion: " << ex.what () << Endl;
318
318
}
319
319
0 commit comments