diff --git a/include/dsn/tool-api/task.h b/include/dsn/tool-api/task.h index 2561fd69e5..8ceb71e49b 100644 --- a/include/dsn/tool-api/task.h +++ b/include/dsn/tool-api/task.h @@ -435,7 +435,7 @@ class rpc_request_task : public task _handler(_request); } } else { - dwarn("rpc_request_task(%s) from(%s) stop to execute due to timeout_ms(%d) exceed", + dinfo("rpc_request_task(%s) from(%s) stop to execute due to timeout_ms(%d) exceed", spec().name.c_str(), _request->header->from_address.to_string(), _request->header->client.timeout_ms); diff --git a/src/runtime/profiler.cpp b/src/runtime/profiler.cpp index 5aeaa645d8..6c4fe3148a 100644 --- a/src/runtime/profiler.cpp +++ b/src/runtime/profiler.cpp @@ -109,7 +109,7 @@ counter_info *counter_info_ptr[] = { {"task.inqueue", "tiq"}, TASK_IN_QUEUE, COUNTER_TYPE_NUMBER, "InQueue(#)", "#"), new counter_info({"rpc.dropped", "rdit"}, RPC_DROPPED_IF_TIMEOUT, - COUNTER_TYPE_NUMBER, + COUNTER_TYPE_VOLATILE_NUMBER, "RPC.DROPPED(#)", "#")}; @@ -484,7 +484,7 @@ void profiler::install(service_spec &) "zion", "profiler", (name + std::string(".rpc.dropped")).c_str(), - COUNTER_TYPE_NUMBER, + COUNTER_TYPE_VOLATILE_NUMBER, "rpc dropped if queue time exceed client timeout"); } else if (spec->type == dsn_task_type_t::TASK_TYPE_RPC_RESPONSE) { if (dsn_config_get_value_bool(section_name.c_str(),