Skip to content

Commit

Permalink
[Native] Remove duplicate call to registerStatsCounters
Browse files Browse the repository at this point in the history
  • Loading branch information
karteekmurthys authored and amitkdutta committed May 9, 2024
1 parent e61f5af commit 6c2f50d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion presto-native-execution/presto_cpp/main/PrestoServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ void PrestoServer::run() {
exit(EXIT_FAILURE);
}

registerStatsCounters();
registerFileSinks();
registerFileSystems();
registerMemoryArbitrators();
Expand Down
2 changes: 0 additions & 2 deletions presto-native-execution/presto_cpp/main/common/Counters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ void registerPrestoMetrics() {
facebook::velox::StatType::AVG);
DEFINE_METRIC(
kCounterMemoryCacheTotalPrefetchBytes, facebook::velox::StatType::AVG);
DEFINE_METRIC(
kCounterMemoryCacheTotalTinyPaddingBytes, facebook::velox::StatType::AVG);
DEFINE_METRIC(
kCounterMemoryCacheSumEvictScore, facebook::velox::StatType::AVG);
DEFINE_METRIC(
Expand Down

0 comments on commit 6c2f50d

Please sign in to comment.