Skip to content

Commit 3c590e4

Browse files
skyelvesfacebook-github-bot
authored andcommitted
Add counter for nimble and dwrf writer
Summary: [feat] Add counter for nimble and dwrf writer Differential Revision: D82173341
1 parent 02552a6 commit 3c590e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

velox/dwio/dwrf/writer/Writer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,7 @@ std::unique_ptr<dwio::common::Writer> DwrfWriterFactory::createWriter(
903903
auto dwrfOptions = std::dynamic_pointer_cast<dwrf::WriterOptions>(options);
904904
VELOX_CHECK_NOT_NULL(
905905
dwrfOptions, "DWRF writer factory expected a DWRF WriterOptions object.");
906+
addThreadLocalRuntimeStat("dwrfWriterCount", RuntimeCounter(1));
906907
return std::make_unique<Writer>(std::move(sink), *dwrfOptions);
907908
}
908909

0 commit comments

Comments
 (0)