tibrewalpratik17 opened a new issue, #12273:
URL: https://github.com/apache/pinot/issues/12273

   As part of an ongoing discussion in 
[#12258](https://github.com/apache/pinot/pull/12258#discussion_r1451082198), we 
would like to gain more inputs from the community on the scope of parsing 
http-headers in query-request and push it to the event-listener framework. 
   
   For additional context, we at Uber want to track extra metadata info related 
to query-requests such as caller-name/group, tracing-id, queryhash; alongside 
other query-level metrics like numDocsScanned and E2E latency (already pushed 
from our event-listener framework). These metadata info might be easy to 
identify and aggregate certain query patterns. 
   But we want to avoid processing sensitive information like auth-tokens or 
other authentication-related fields -- this can be a requirement for other 
companies as well.
   
   Starting this thread to get consensus from the community on the scope of 
parsing and how best to implement it.
   
   Few solutions which we have thought of:
   - Introduce a broker-level config where we specify a **allowlist of 
headers** to parse from request and push them to request-context object.
   - Introducing a broker-level config to specify a **blocklist of headers** to 
**exclude** from parsing, pushing all others to the request-context object.
   
   cc @walterddr @ankitsultana 


-- 
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.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to