-
- Downloads
Capture and log diagnostic info about DW connection pools (#15682)
Add new namespace to manage diagnostic info about the DW DB connection pools Adding new atom/fn/macro to wrap the capture of diagnostic info, modeled after the call counting functionality of toucan.db Capturing diagnostic info from a new `datasource-with-diagnostic-info!` fn in the execute namespace, and calling that from the various drivers (instead of `datasource`) Adding to log message generated for the "stats" portion of the line logged via middleware to output this information
Showing
- modules/drivers/redshift/src/metabase/driver/redshift.clj 1 addition, 1 deletionmodules/drivers/redshift/src/metabase/driver/redshift.clj
- modules/drivers/sparksql/src/metabase/driver/sparksql.clj 1 addition, 1 deletionmodules/drivers/sparksql/src/metabase/driver/sparksql.clj
- modules/drivers/sqlite/src/metabase/driver/sqlite.clj 1 addition, 1 deletionmodules/drivers/sqlite/src/metabase/driver/sqlite.clj
- src/metabase/driver/h2.clj 1 addition, 1 deletionsrc/metabase/driver/h2.clj
- src/metabase/driver/sql_jdbc/execute.clj 11 additions, 1 deletionsrc/metabase/driver/sql_jdbc/execute.clj
- src/metabase/driver/sql_jdbc/execute/diagnostic.clj 47 additions, 0 deletionssrc/metabase/driver/sql_jdbc/execute/diagnostic.clj
- src/metabase/server/middleware/log.clj 28 additions, 14 deletionssrc/metabase/server/middleware/log.clj
- test/metabase/driver/sql_jdbc/execute/diagnostic_test.clj 33 additions, 0 deletionstest/metabase/driver/sql_jdbc/execute/diagnostic_test.clj
Please register or sign in to comment