onadata.libs.profiling.sql module
SqlTimingMiddleware - log SQL execution times per request.
-
class onadata.libs.profiling.sql.SqlTimingMiddleware(get_response)
Bases: object
Logs the time taken by each sql query over requests.
Logs the total time taken to run sql queries and the number of sql queries
per request.