Package org.apache.pinot.broker.querylog
Class QueryLogger
- java.lang.Object
-
- org.apache.pinot.broker.querylog.QueryLogger
-
public class QueryLogger extends Object
QueryLoggeris responsible for logging query responses in a configurable fashion. Query logging can be useful to capture production traffic to assist with debugging or regression testing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryLogger.QueryLogParams
-
Constructor Summary
Constructors Constructor Description QueryLogger(org.apache.pinot.spi.env.PinotConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLogRateLimit()intgetMaxQueryLengthToLog()voidlog(QueryLogger.QueryLogParams params)
-
-
-
Method Detail
-
log
public void log(QueryLogger.QueryLogParams params)
-
getMaxQueryLengthToLog
public int getMaxQueryLengthToLog()
-
getLogRateLimit
public double getLogRateLimit()
-
-