You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/12/09 01:21:26 UTC

[GitHub] [druid] huyuanfeng2018 commented on pull request #12042: Introduce query/long/count metric and add long query identifier to request log

huyuanfeng2018 commented on pull request #12042:
URL: https://github.com/apache/druid/pull/12042#issuecomment-989379860


   > identifying what queries are taking longer can and should be done in the system, druid is emitting metrics to. That will be much more flexible than configuring a threshold in druid services and changing such a threshold will require a restart.
   > 
   > Druid should already be emitting query-id along with the time. In the metric store that you are using, you can filter the query ids based on the time taken and then find the actual queries in the logs corresponding to those ids. does that not work for you?
   
   Of course it works! But I want to count the number and proportion of these longquery occurrences in druid, which is reflected in the metric, so that I can quickly judge the number of long queries that take a long time through the metric information.


-- 
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-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org