提交 482915fa 编写于 作者: A Alexey Milovidov

Fixed profile event name and description #9632

上级 b4315e24
......@@ -15,7 +15,7 @@
namespace ProfileEvents
{
extern Event NetworkErrors;
extern Event DNSError;
}
......@@ -189,7 +189,7 @@ bool DNSResolver::updateCache()
}
catch (const Poco::Net::NetException &)
{
ProfileEvents::increment(ProfileEvents::NetworkErrors);
ProfileEvents::increment(ProfileEvents::DNSError);
if (!lost_hosts.empty())
lost_hosts += ", ";
......
......@@ -160,7 +160,7 @@
M(RWLockAcquiredWriteLocks, "") \
M(RWLockReadersWaitMilliseconds, "") \
M(RWLockWritersWaitMilliseconds, "") \
M(NetworkErrors, "Total count of errors in Network communication, currently only errors in DNS cache host resolve") \
M(DNSError, "Total count of errors in DNS resolution") \
\
M(RealTimeMicroseconds, "Total (wall clock) time spent in processing (queries and other tasks) threads (not that this is a sum).") \
M(UserTimeMicroseconds, "Total time spent in processing (queries and other tasks) threads executing CPU instructions in user space. This include time CPU pipeline was stalled due to cache misses, branch mispredictions, hyper-threading, etc.") \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册