Added documentation for CurrentMetrics #3010#3016
Conversation
|
Hey guys, I didn't see/understand in this documentation, if one can know what's the time a select query takes. From my clickhouse logs I see how much it takes, but I was wondering if i can get the same in metrics sent to graphite. Thanks ! |
|
There is no such metric. Explanation of related metrics: ProfileEvents.Query
Metrics.Query
We can add a metric about total time spent in queries execution. For example, we already have MergesTimeMilliseconds. Also in current master version of ClickHouse there are other related metrics: ClickHouse.ProfileEvents.UserTimeMicroseconds (that may be very similar to what you expect) PS. For detailed info, I recommend to enable query_log. |
|
Thank you @alexey-milovidov . Looking forward to see the addition of total time spent in queries execution |
No description provided.