diff --git a/internal/core/src/exec/operator/FilterBitsNode.cpp b/internal/core/src/exec/operator/FilterBitsNode.cpp index 3bf6d0396811b..72148e347c69e 100644 --- a/internal/core/src/exec/operator/FilterBitsNode.cpp +++ b/internal/core/src/exec/operator/FilterBitsNode.cpp @@ -107,7 +107,7 @@ PhyFilterBitsNode::GetOutput() { double scalar_cost = std::chrono::duration(scalar_end - scalar_start) .count(); - monitor::internal_core_search_latency_scalar.Observe(scalar_cost); + monitor::internal_core_search_latency_scalar.Observe(scalar_cost / 1000); return std::make_shared(col_res); } diff --git a/internal/core/src/exec/operator/GroupByNode.cpp b/internal/core/src/exec/operator/GroupByNode.cpp index c461d54bf69c0..bd13eab202096 100644 --- a/internal/core/src/exec/operator/GroupByNode.cpp +++ b/internal/core/src/exec/operator/GroupByNode.cpp @@ -81,7 +81,7 @@ PhyGroupByNode::GetOutput() { double vector_cost = std::chrono::duration(vector_end - vector_start) .count(); - monitor::internal_core_search_latency_groupby.Observe(vector_cost); + monitor::internal_core_search_latency_groupby.Observe(vector_cost / 1000); return input_; } diff --git a/internal/core/src/exec/operator/VectorSearchNode.cpp b/internal/core/src/exec/operator/VectorSearchNode.cpp index 57aa0999c021f..df7a550f6cd86 100644 --- a/internal/core/src/exec/operator/VectorSearchNode.cpp +++ b/internal/core/src/exec/operator/VectorSearchNode.cpp @@ -93,7 +93,7 @@ PhyVectorSearchNode::GetOutput() { double vector_cost = std::chrono::duration(vector_end - vector_start) .count(); - monitor::internal_core_search_latency_vector.Observe(vector_cost); + monitor::internal_core_search_latency_vector.Observe(vector_cost / 1000); // for now, vector search store result in query_context // this node interface just return bitset return input_;