Re: [PR] switch log.debug to log.info on query request [pinot]

2025-04-05 Thread via GitHub
albertobastos commented on code in PR #15264: URL: https://github.com/apache/pinot/pull/15264#discussion_r2007299497 ## pinot-broker/src/main/java/org/apache/pinot/broker/querylog/QueryLogger.java: ## @@ -88,9 +87,12 @@ public void log(QueryLogParams params) { queryLogBui

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-04-04 Thread via GitHub
gortiz commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2743114456 @mayankshriv The issue is that we have a normal slf4j log and a QueryLogger, which I'm not sure what is being used for. To me, it looks like an artifact for configuring some logging for qu

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-04-04 Thread via GitHub
Jackie-Jiang commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2744125431 We need to apply the same throttling as the `QueryLogger` does. This change can flood the log for super high QPS use cases (imagine over 10k query lines per second) -- This is an

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-27 Thread via GitHub
gortiz merged PR #15264: URL: https://github.com/apache/pinot/pull/15264 -- 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-unsubscr...@pinot.apach

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-25 Thread via GitHub
Jackie-Jiang commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2752422973 @gortiz I agree that ideally we should throttle the logs with a logging framework, but people (e.g. LinkedIn) rely on QueryLogger currently to not flood their log, and if we remove t

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-24 Thread via GitHub
gortiz commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2747803634 > We need to apply the same throttling as the QueryLogger does. This change can flood the log for super high QPS use cases (imagine over 10k query lines per second) I disagree. Not

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-22 Thread via GitHub
albertobastos commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2745198616 > We need to apply the same throttling as the `QueryLogger` does. This change can flood the log for super high QPS use cases (imagine over 10k query lines per second) I get t

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-21 Thread via GitHub
gortiz commented on code in PR #15264: URL: https://github.com/apache/pinot/pull/15264#discussion_r2007193302 ## pinot-broker/src/main/java/org/apache/pinot/broker/querylog/QueryLogger.java: ## @@ -88,9 +87,12 @@ public void log(QueryLogParams params) { queryLogBuilder.ap

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-17 Thread via GitHub
albertobastos commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2728467575 I see your point @mayankshriv. Ideally the sql query should only be logged the first time, and just use the requestId to trace it back during the second log. Was afraid of doi

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-14 Thread via GitHub
mayankshriv commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2725076231 Thanks, this will be very useful. Note though, if we log all query strings twice, that will likely bloat the logs (queries can be very long strings). We should have it such that the q

Re: [PR] switch log.debug to log.info on query request [pinot]

2025-03-13 Thread via GitHub
codecov-commenter commented on PR #15264: URL: https://github.com/apache/pinot/pull/15264#issuecomment-2722011874 ## [Codecov](https://app.codecov.io/gh/apache/pinot/pull/15264?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&u

[PR] switch log.debug to log.info on query request [pinot]

2025-03-13 Thread via GitHub
albertobastos opened a new pull request, #15264: URL: https://github.com/apache/pinot/pull/15264 For observability purposes, all incoming queries will be now logged also at the start of the request processing and not only after a response has been obtained (or some failure occurred). This w