ByteYue commented on code in PR #35396: URL: https://github.com/apache/doris/pull/35396#discussion_r1623719888
########## be/src/io/fs/s3_file_reader.cpp: ########## @@ -44,13 +45,18 @@ bvar::Adder<uint64_t> s3_file_reader_read_counter("s3_file_reader", "read_at"); bvar::Adder<uint64_t> s3_file_reader_total("s3_file_reader", "total_num"); bvar::Adder<uint64_t> s3_bytes_read_total("s3_file_reader", "bytes_read"); bvar::Adder<uint64_t> s3_file_being_read("s3_file_reader", "file_being_read"); +bvar::Adder<uint64_t> s3_file_reader_too_many_request_counter("s3_file_reader", "too_many_request"); bvar::LatencyRecorder s3_bytes_per_read("s3_file_reader", "bytes_per_read"); // also QPS bvar::PerSecond<bvar::Adder<uint64_t>> s3_read_througthput("s3_file_reader", "s3_read_throughput", &s3_bytes_read_total); +// Although we can get QPS from s3_bytes_per_read, but s3_bytes_per_read only +// record successfull request, and s3_get_request_qps will record all request. +bvar::PerSecond<bvar::Adder<uint64_t>> s3_get_request_qps("s3_file_reader", "s3_get_request", Review Comment: s3_bvar::s3_get_latency can get qps/P99 latency altogether. It seems no need to add this bvar -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org