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/08 12:34:43 UTC

[GitHub] [druid] huyuanfeng2018 opened a new pull request #12040: Introduce query/long/count metric and add long query identifier to request log

huyuanfeng2018 opened a new pull request #12040:
URL: https://github.com/apache/druid/pull/12040


   
   ### Description
   When we use druid for various query operations, there may be some query requests that take a long time. These query requests may be some bad query requests. If there are many such requests, it will cause a lot of pressure on druid, so we hope A metric can be added to count the number of occurrences of these query requests, and to mark these requests in the request log. So that we can analyze these queries and can make it a little easier for cluster operators to diagnose query issues better.
   
   This PR adds a new query metric query/long/count  that represents the number of long queries during the emission period and request logging will mark if this request is a long query request
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
   - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.


-- 
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


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

Posted by GitBox <gi...@apache.org>.
huyuanfeng2018 closed pull request #12040:
URL: https://github.com/apache/druid/pull/12040


   


-- 
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