This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch tpc_preview4-external in repository https://gitbox.apache.org/repos/asf/doris.git
commit c0d3fc854cb6cb31044d8b3cd5e343e98533415f Author: morningman <[email protected]> AuthorDate: Sun Jan 4 23:38:46 2026 +0800 add scanner profile to level 1 --- be/src/io/cache/block_file_cache_profile.cpp | 2 +- .../src/main/java/org/apache/doris/common/profile/RuntimeProfile.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/be/src/io/cache/block_file_cache_profile.cpp b/be/src/io/cache/block_file_cache_profile.cpp index 6a9676fbeee..8d4fb2b736e 100644 --- a/be/src/io/cache/block_file_cache_profile.cpp +++ b/be/src/io/cache/block_file_cache_profile.cpp @@ -67,7 +67,7 @@ void FileCacheMetrics::update_metrics_callback() { FileCacheProfileReporter::FileCacheProfileReporter(RuntimeProfile* profile) { static const char* cache_profile = "FileCache"; - ADD_TIMER_WITH_LEVEL(profile, cache_profile, 2); + ADD_TIMER_WITH_LEVEL(profile, cache_profile, 1); num_local_io_total = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "NumLocalIOTotal", TUnit::UNIT, cache_profile, 1); num_remote_io_total = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "NumRemoteIOTotal", TUnit::UNIT, diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java b/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java index 4067cd3e1fb..47844cbf491 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java +++ b/fe/fe-core/src/main/java/org/apache/doris/common/profile/RuntimeProfile.java @@ -496,7 +496,8 @@ public class RuntimeProfile { } boolean shouldBeIncluded() { - if (Objects.equals(this.name, "CommonCounters") || Objects.equals(this.name, "CustomCounters")) { + if (Objects.equals(this.name, "CommonCounters") || Objects.equals(this.name, "CustomCounters") + || Objects.equals(this.name, "Scanner")) { return true; } else { return this.name.matches(".*Pipeline.*") || this.name.matches(".*_OPERATOR.*"); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
