gavinchou commented on code in PR #63832:
URL: https://github.com/apache/doris/pull/63832#discussion_r3322660303
##########
be/src/cloud/cloud_internal_service.cpp:
##########
@@ -407,10 +414,103 @@ bvar::Adder<uint64_t>
g_file_cache_warm_up_rowset_wait_for_compaction_num(
bvar::Adder<uint64_t>
g_file_cache_warm_up_rowset_wait_for_compaction_timeout_num(
"file_cache_warm_up_rowset_wait_for_compaction_timeout_num");
+// Per-job windowed metrics for target BE
+// bvar::Window enforces MAX_SECONDS_LIMIT = 3600, so the longest window is 1h.
+static constexpr int WINDOW_5M = 300;
+static constexpr int WINDOW_30M = 1800;
+static constexpr int WINDOW_1H = 3600;
+
+MBvarWindowedAdder
g_warmup_ed_finish_segment_num("warmup_ed_finish_segment_num", {"job_id"},
Review Comment:
what does "ed" mean?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]